2 ms·
Just a small education platform that'll likely never see the light of day. AssemblyScript is a simple enough language that non-programmers should be able to use
by wizzwizz4 6y ago
Just a small education platform that'll likely never see the light of day. AssemblyScript is a simple enough language that non-programmers should be able to use and understand it, and it compiles to WASM (which runs sandboxed) so it's reasonably safe to throw around. I'm using it to describe the educational resources (basically, interactive / generalised flashcards).
- matt_kantor 6y agoSounds cool! I guess AssemblyScript isn't self-hosted (yet)? Seems like your life might be easier if you could compile the compiler to WASM. Would a JavaScript interpreter be too slow for your use case? I can find a few of those written in Rust (e.g. https://github.com/boa-dev/boa https://github.com/boa-dev/boa), although some look abandoned and others seem incomplete.
- wizzwizz4 6y agoA JavaScript interpreter would be brilliant, but I can't find a complete one written in Rust. NectarJS (mentioned upstream) seems to compile to WASM (by embedding a JavaScript runtime environment), so I'll probably use that for prototyping.