Add option to invoke a plain shell
Same thing lein repl does. Possibly add a switch so we can have less overhead.
I think there's two ways to do this:
- We start a regular Hy Repl that happens to have an instance of HyREPL running in a thread somewhere
- We build our own little Repl with readline and pass everything to a HyREPL instance we're running in another process via
python-nrepl-client.
I think option 1 is easier to do because we won't have to build ourselves the repl, number 2 somehow feels "cleaner", but I'm not too sure about that...
I think we should maybe just use python-nrepl-client and try make this
self containing. Then we can also use hyrepl to jack into remote session
aswell, and that could open up interesting ways to use this project.
On Thu, Jul 30, 2015 at 08:15:05AM -0700, Gregor Best wrote:
I think there's two ways to do this:
- We start a regular Hy Repl that happens to have an instance of HyREPL running in a thread somewhere
- We build our own little Repl with readline and pass everything to a HyREPL instance we're running in another process via
python-nrepl-client.I think option 1 is easier to do because we won't have to build ourselves the repl, number 2 somehow feels "cleaner", but I'm not too sure about that...
Reply to this email directly or view it on GitHub: https://github.com/Foxboron/HyREPL/issues/25#issuecomment-126367361
That is actually a good point. We'd then simply start a regular HyREPL server and use our fancy little python-nrepl-client using Repl implementation to jack in to that... Yeah, I like that.