4 ms·
I like ECL for its ability to compile Lisp to C and have a native executable. One dream I have is to write a game using the CL-SDL2 bindings and cross compile i
by superdisk 3y ago
I like ECL for its ability to compile Lisp to C and have a native executable. One dream I have is to write a game using the CL-SDL2 bindings and cross compile it for Wasm; It seems possible to do now but the flow isn't very well defined. I got pretty close hacking around a month or two ago but didn't quite finish.
- jackdaniel 3y agoThat's why the support is "preliminary". I plan to write some compelling examples for the emscripten target. Here is a "raw" build that shows repl (on some browsers results of evaluation show in the javascript console): http://turtleware.eu/static/ecl/ecl.html http://turtleware.eu/static/ecl/ecl.html -- this is a little older build, but following instructions in INSTALL will get you to the same place.
- ynniv 3y agoHistorically it's been hamstrung by wasm's lack of tail call elimination, but that appears to have been merged: https://v8.dev/blog/wasm-tail-call https://v8.dev/blog/wasm-tail-call