terralang / terra

Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
terralang.org
Other
2.72k stars 201 forks source link

Terra support for emscripten #455

Open unicomp21 opened 4 years ago

unicomp21 commented 4 years ago

Has anyone compiled Terra w/ emscripten? The intention would be targeting webassembly running in a browser.

elliottslaughter commented 4 years ago

I know @aiverson was interested in wasm support but I don't know if they got around to actually trying it or not.

ErikMcClure commented 4 years ago

We were investigating compiling terra programs to webassembly, nobody has attempted to compile Terra itself to webassembly. I know people have managed to compile clang to WASM, but I have no idea how well this might work given that Terra attempts to compile the entirety of clang into itself.