IRC channel logs

2026-02-05.log

back to list of logs

<lechner>mwette / thanks! I took a close reading to the FFI helper and can definitely figure that out. On a side note, I now have a non-syntactic way to generate the Scheme files. Will share shortly
<tohoyn>sneek: botsnack
<sneek>Welcome back tohoyn, you have 1 message!
<sneek>tohoyn, daviid says: I patch g-golf, devel branch, added a comment in the source and did thank you in the commit - I am patching the adwaita demo to sync it with the upstream 1.8 version, then I should release, asap
<sneek>:)
<tohoyn>daviid: ok, tx
<sneek>Welcome back tohoyn :D
<Guest458>sneek: botsnack
<sneek>:)
<johnwcowan>Is there a way to make Guile abort to the REPL loop on uncaught exceptions rather than spawning a sub-REPL? I make a lot of typos, so I am constantly typing ,q, but one too many and I lose Guile.
<lechner>johnwcowan / there probably, is but I use C-d to exit the trace REPLs. for me that's less prone to typos
<lechner>losing guile is a valid concern, however. maybe a quit confirmation is available?
<mwette>I bet there is a way to make a repl command. lemme think a bit
<ieure>C-d will exit the topmost REPL, too, though.
<ieure>I had asked a while back about some sort of command that would exit all recursive REPLs and return you to the top level, something like ,q0.
<ieure>Probably in the IRC logs if someone cares to look, there were implementation suggestions, but I had higher priorities and have never looked at the Guile code.
<mwette>I'm having issue creating a minimal program to trap N levels down. Anyone have one?
<ieure>mwette, Don't have one, but I think you'd have to have an error handler which produces another error (up to some number N) to get there.
<mwette>I tried that. https://paste.debian.net/hidden/0a1f9bae
<ieure>Hmmm, not sure then. I'd expect that to work.
<mwette>On second thought, I think I looked into this a while ago and gave up. It could take another approach. Somehow I think mucking with the *repl-stack* and getting the repl loop to reload that.
<mwette>system/repl/repl.scm, line 157 is the loop. the meta command quit (,q) generates a (throw 'quit)