-
Notifications
You must be signed in to change notification settings - Fork 9
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 Jessie to AssemblyScript? #38
Comments
If I remember AssemblyScript correctly, this is plausible if we say the source language is not quite exactly Jessie. It might still be a valuable thing to do. It would probably be close enough to Jessie to run most Jessie programs. Thanks! |
I'm talking about compiling all of Jessie to AssemblyScript, and hence to WASM. Other possibilities might make sense too, of course. |
Including all of JavaScript's coercion rules around |
ew. well, yes, I suppose the idea does entail dealing with those coercion rules. |
If the answers to such questions is similarly yes, then compiling actual Jessie to AssemblyScript would be very cool. |
When I first looked at AssemblyScript, it seemed kinda silly - you might as well write C if all you get is integer types and such.
But this week I found a bignum class as part of a smart contract library (somewhere near mirror protocol or terra money but I can't seem to find it today; no matter...). It got me thinking...
We have a prototype compiler from Jessie to C; surely compiling to AssemblyScript would be even easier.
The text was updated successfully, but these errors were encountered: