Hi Kristian, On Wed, 12 Aug 2026 08:25:39 +0200 Kristian Lein-Mathisen via Chicken-users <[email protected]> wrote:
> On Tue, Aug 11, 2026, 23:03 Srayan Jana <[email protected]> wrote: > > Thanks! This was exactly what I was looking for! > Can you embed the repl into your programs? > > You can, by using the chicken.repl module and then compiline your program as > normal. You can also use nrepl [1] if you > want a REPL over a plain TCP socket for example, leaving your stdout > available for other uses. > > I'm the author of nrepl (which I think I'll rename to tcprepl for C6), please > let me know if the documentation is > unclear. > > [1] http://wiki.call-cc.org/eggref/5/nrepl Beware that cond-expand [0] doesn't work for dependencies when used in .egg files in C5. It's a bug, and I don't remember if it was fixed in C6. By renaming nrepl, eggs that depend on it will have no choice but to have two separate .egg files to support both C5 and C6 (e.g., two branches). Even if the aforementioned bug got fixed in C6, things still won't work in C5, and there's not much we can about that, as we cannot travel in time and fix the already released versions of C5. [0] https://wiki.call-cc.org/man/5/Egg%20specification%20format#cond-expand All the best. Mario -- https://parenteses.org/mario
