New Guile REPL in one minute.
A brief demo of guile-ares-rs (previously known as guile-nrepl) dealing with continuations and infinite recursion.
The source code:
https://git.sr.ht/~abcdw/guile-ares-rs
https://github.com/abcdw/guile-ares-rs
New Guile REPL in one minute. A brief demo of guile-ares-rs (previously known as guile-nrepl) dealing with continuations and infinite recursion. The source code: 7 comments
@daviwil I have one more very exciting demo with continuations and resuming interrupted infinite loop, but I only finished needed related functionality a few minutes ago and will save this demo for later time :) The only thing I don't know yet is how to implement an interception of access to stdin. Probably some custom ports. Will figure it out and the REPL related functionality will be complete. @abcdw That's great progress! Is it still compatible with nrepl such that one could just start using your new REPL code with that today? Looks like there is non-blocking I/O support in Guile but I haven't tried it yet: https://www.gnu.org/software/guile/manual/html_node/Non_002dBlocking-I_002fO.html @daviwil Yep, monroe (relatively generic nrepl client) works with guile-ares-rs today :) Probably some other clients will work too, will need to test it. I'm especially interested in some cli client, so it can be integrated in scripts and some parts of operating system. However, later I'll be writing a separate client for more advanced IDE functionality. |
@abcdw looks great! I need to try it soon