Re:Microui+fenster=Small GUI
by zem on Sunday September 08, 2024 @03:38AM
(#41478824)
love it :) next step, some tiny scripting language bindings? s7 would fit in well e.g. https://ccrma.stanford.edu/software/snd/snd/s7.html
[ Parent
| on HN ]
Re:Microui+fenster=Small GUI
by HexDecOctBin on Sunday September 08, 2024 @04:14AM
(#41478961)
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.
Yes, 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
Re:Microui+fenster=Small GUI
by HexDecOctBin on Sunday September 08, 2024 @07:37PM
(#41484196)
This just seems like a regular REPL instead of REPL-driven (with a condition system, restarts, etc.)
> 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)?
Re:Microui+fenster=Small GUI
by HexDecOctBin on Sunday September 08, 2024 @07:35PM
(#41484178)
I 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.
Re:Microui+fenster=Small GUI
by tekknolagi on Sunday September 08, 2024 @08:18AM
(#41479962)
Or PocketPy
Or fe