by dogprez · 2y ago · 0 comments
I'm not sure exactly what feature the OP was referring to. It sounds like they don't think you can get a REPL for an executing Fennel process? You can. If you are only using it for AOT Fennel->Lua you can't, you have to include its runtime.
https://git.sr.ht/~technomancy/fennel/tree/1.4.0/item/change...
I remember the Lua C API exposes a lot of information, but I didn’t think it was accessible from scripts. Of course, it was a long time ago and I could have easily missed something at the time. Happy to be corrected!
Edit: you might also run into difficulties trying to redefine non-global functions to add the call to “repl”.