Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Probably doomed, should write proper AST #3

Open
wires opened this issue May 2, 2019 · 0 comments
Open

Probably doomed, should write proper AST #3

wires opened this issue May 2, 2019 · 0 comments

Comments

@wires
Copy link
Member

wires commented May 2, 2019

So @clayrat noted:

alex 5:15 PM hm looks like the `ps-interop` thing is doomed 😞
alex 5:15 PM the internal JS representation of `Mu`'s `Inn` is just a `()`
alex 5:16 PM so you can't deserialize mu-terms
alex 5:17 PM guess we should switch to writing proper termdefs for js

So we have two ways in which other programming languages relate to typedefs.

  1. target language for static codegenerator
  2. have representation of typedefs type definitions work dynamically with types (reflect into UI, generic programming on types, etc)

One option would be to write a typedef loosely representing the parsed AST and then use the typedefs compiler to generate the 'typedefs-interop' thing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant