3 ms·
Does s7 allows for REPL-driven programming? That's the only thing missing from the Lua VM that can't be implemented as a library. An embedded Lisp that supports
by HexDecOctBin 2y ago
Does s7 allows for REPL-driven programming? That's the only thing missing from the Lua VM that can't be implemented as a library. An embedded Lisp that supports a true REPL would be a god-send.
- danbreuer 2y agoYes, it seems to be possible to use it in Emacs like any other Scheme [0]. Not sure how these facilities compare to Slime + Common Lisp. [0]: https://ccrma.stanford.edu/software/snd/snd/s7.html#repl https://ccrma.stanford.edu/software/snd/snd/s7.html#repl
- HexDecOctBin 2y agoThis just seems like a regular REPL instead of REPL-driven (with a condition system, restarts, etc.)
- npsimons 2y ago> An embedded Lisp that supports a true REPL would be a god-send. I might be misunderstanding your requirements; "embedded" can mean so many things these days. But what do you think of ECL (https://ecl.common-lisp.dev/main.html https://ecl.common-lisp.dev/main.html)?
- HexDecOctBin 2y agoI am thinking more like Lua where you can create thousands of lua_State, and run them all independently with none of them messing up the global state of the application. Something which is self-contained, portable, runs in a VM, doesn't use global state, whose execution can be controlled from the outside with hooks, etc. I don't know if ECL is disciplined enough to actually constraint itself in all these ways to be a good embedded citizen.