4 ms·
Anyone have any recommendations for trying Clojure? I'm an Emacs user on Ubuntu and I'd like to try it out but there seems to be quite a lot of choice about how
by almost 16y ago
Anyone have any recommendations for trying Clojure? I'm an Emacs user on Ubuntu and I'd like to try it out but there seems to be quite a lot of choice about how you do things I'm a bit lost.
Any up to date blog posts on setting up Clojure and connecting Slime to it? The ones I've found are always slightly out of date (apparently starting swank from Emacs isn't the preferred way to do it anymore?)
- arete 16y agoYeah there are a bunch of different ways to start Clojure with a REPL and/or swank server running. Maven, Leiningen, and cake are all build tools that also do dependency management - great when you're working on a complex project but have some amount of setup overhead for their project descriptors. cljr is a different option that lets you start a REPL anywhere, with no project descriptor, and also takes care of setting up your JVM classpath with any dependencies you've installed via 'cljr install'. All of these tools encourage running the JVM outside of emacs, rather than as an inferior-lisp, and have some command line option that starts a swank server on a specified port. After that you can just do M-x slime-connect and get hacking as usual =)
- bitsai 16y agoSwank Clojure is a server that connects SLIME and Clojure projects. Its github page has instructions on installation and usage, hopefully that will serve as a good starting point: http://github.com/technomancy/swank-clojure http://github.com/technomancy/swank-clojure
- technomancy 16y agoI recommend the Clojure wiki: http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Emacs http://www.assembla.com/wiki/show/clojure/Getting_Started_wi... If there is something that's not covered or linked to by that post, please submit a bug report to Swank-Clojure: http://github.com/technomancy/swank-clojure/issues http://github.com/technomancy/swank-clojure/issues There is a lot of bad out-of-date documentation out there, but I like to think the official docs are pretty serviceable; if they aren't please help point out how.