Seems like you could compile in a REPL, if that's what you wanted. eval() is a function you can call, you know.
To make changes and recompile, you'd have to have the compiler installed on the target system. On Mon, Oct 24, 2016 at 2:27 PM, founda happyplace <[email protected]> wrote: > Hi Chicken Friends! > > What is possible in terms of connecting to a REPL supplied by a running > compiled Chicken program? Is it one of the below? > > --1-- It's the same as any compiled C program, there's no REPL to connect > to. Once you've compiled to an executable, you've exited lisp-land. But at > least you enjoyed your visit. > > --2-- There's an egg for it. Your program could include this egg to support > a connection. From there you could inspect, evaluate, redefine things to > affect the running program. Once your program is restarted, your changes are > gone. It's your original program that gets started. > > --3-- There's no such egg like [2] but it's possible. > > --4-- You can connect, make changes, and save the instance as something new > on the machine that's running your original program. It won't be as fast as > your original compiled output but at least this new thing can be restarted > in the state you left it; you could run it instead of your original program. > Perhaps it's your original program that gets started initially, and then a > REPL session is re-played on top of it to resurrect your desired state. > > --5-- There's nothing like [4] yet but it's possible. > > Or is there something else? > > Thanks in advance! > > _______________________________________________ > Chicken-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/chicken-users > -- ----Jordan Henderson "I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it." - Jack Handey _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
