3 ms·
I'm running into an integer overflow error. Try this as input: https://gist.github.com/anonymous/f00581ecf4dba42501c9c569914a909a https://gist.github.com/anonym
by sillysaurus3 10y ago
I'm running into an integer overflow error. Try this as input: https://gist.github.com/anonymous/f00581ecf4dba42501c9c569914a909a https://gist.github.com/anonymous/f00581ecf4dba42501c9c56991...
Is there a way to debug it?
It should print the following string: "print(1 + 2)"
This is very cool.
- hisham_hm 10y agoA Lisp running on top of Lua on top of WASM? :)
- sillysaurus3 10y agoYup! I couldn't resist. https://github.com/sctb/lumen 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.