-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile to JavaScript (SES) to run in browsers (and node.js?) #52
Comments
darn; I don't think my references idea will work. noun phrases aren't the only place they show up. They're also in lists and such. edit: I have since learned that references are actually just normal objects that proxy messages. |
progress deserializing .ty to a flow-happy ADT: js-monte Modern .js is really quite nice:
I got as far as deserializing typhon's AST for The ADT I built in rust matched the serialized form but not the actual kernel monte grammar. This js ADT matches kernel monte more closely. The deserialization code makes up the difference, sorta like the fromAST() methods in nodes.py hmm... export var... not good. unfortunately, flow doesn't yet grok let one happy byproduct: a JSON serialization of kernel monte I doubt immutable.js will be worth the trouble for ConstList. Object.freeze() is probably most of the bang for much less buck. for reference: 8f30ff72c9534ef77a82d182a32cabe40503b0f0 (hg: ebc2c69c69ff) |
some conversion to javascript via escodegen is working; e.g. Hmm... I suppose there should be a |
perhaps port Masque to purescript? |
The https://github.com/monte-language/spotter work looks like a possible path here. js_of_ocaml and reason and all that are pretty mature. |
While typhon is cool, web browser deployment is important, if not essential, for many of the ways I want to use monte.
design sketch: source-to-source translation using one of the JS AST APIs.
It seems straightforward except for:
This depends on SES, of course.
Here's hoping for time to give it a go...
The text was updated successfully, but these errors were encountered: