Re:Lua VM running in a WASM environment
by hisham_hm on Saturday March 18, 2017 @03:04AM
(#13900263)
A Lisp running on top of Lua on top of WASM? :)
[ Parent
| on HN ]
Re:Lua VM running in a WASM environment
by sillysaurus3 on Saturday March 18, 2017 @03:11AM
(#13900279)
Yup! I couldn't resist. https://github.com/sctb/lumen
I think there's some bug in indexing into Lua tables. print(str({1, 2})) should print "(1 2)", for example, but it triggers an integer overflow error.
It's actually capable of compiling to both Lua and JS, so I was going to show off a Lisp running on top of Lua on top of WASM which generates JavaScript, completing the circle of life.