gorilla-repl icon indicating copy to clipboard operation
gorilla-repl copied to clipboard

Launch without a project (from browser?), create project within Gorilla REPL

Open lspector opened this issue 5 years ago • 3 comments

If Gorilla REPL could be launched without an existing project (ideally from the browser rather than the command line), and if new projects could be created from within Gorilla REPL, then many beginners could do everything that they need to do to learn and use Clojure from within Gorilla REPL, without having to learn to use the command line or leiningen or anything else. This would significantly lower the barrier for entry to Clojure programming for total novices.

lspector avatar Nov 24 '18 04:11 lspector

@lspector, do you have an idea about how this might work?

I believe what you are asking for may not be possible and could be out of scope for Gorilla REPL. Because Gorilla REPL is a Leiningen plugin it requires a Leiningen project to which it can be attached. So a new project must be created before Gorilla REPL can even be launched.

You might get more mileage out of an external tool that could create the project for you and automatically launch Gorilla REPL. I've had success with this script, but your mileage may vary.

jasonmm avatar Nov 22 '19 12:11 jasonmm

On issue #4 @awb99 suggests using a Docker container to accomplish the same thing.

jasonmm avatar Nov 22 '19 12:11 jasonmm

Answering @jasonmm's question: Alas no, I don't know how it could be done, just that it would be helpful if it could be.

lspector avatar Nov 24 '19 02:11 lspector