3 ms·
I think the only thing missing is a REPL as part of the tool chain. ipython and scala shell are so useful, especially when you're learning or just testing thing
by geoka9 14y ago
I think the only thing missing is a REPL as part of the tool chain. ipython and scala shell are so useful, especially when you're learning or just testing things out.
- cerales 14y agoAgreed. The way I tend to use the repl in clojure is just to code up a script in vim and then %Eval the whole thing. Editor plugins for Go could compile-and-run, and know stuff like the working directory and the gopath, which could get you a bit closer without having to build a real REPL.
- dualogy 14y ago> Editor plugins for Go could compile-and-run Yep, rolled my own here: http://github.com/metaleap/go-buildrun http://github.com/metaleap/go-buildrun -- I use it with GoSublime on Ctrl+B (which I strongly suspect must have some repl-like feature anyway by now, but not sure) -- but works in any editor that lets you hook a key binding to an executable and pass it the current .go file's path.
- shurcooL 14y agoWould something like this qualify as a REPL, or is it not quite so? https://github.com/shurcooL/Conception/tree/simple-live-editor https://github.com/shurcooL/Conception/tree/simple-live-edit...
- dualogy 14y agoI tend to always have a play.golang.org tab open but agree, an in-editor repl would be nice. Even though I'm using GoSublime I haven't really dug into its plethora of feature, it might just have a repl in there...