How to Use Clojure for Scripting
asimjalis.github.io
How to Use Clojure for Scripting
1–10 of 29 posts
Re: How to Use Clojure for Scripting
#2[1] http://planck-repl.org [2] https://anmonteiro.com/2016/11/the-fastest-clojure-repl-in-t...
Re: How to Use Clojure for Scripting
#3If you want to keep the repl running this is fine, but for scripts, you should be using planck[1] or lumo[2]. Planck in my experience has nice command-line args parsing by default, both should be fast enough not to be annoying when running scripts. [1] http://planck-repl.org [2] https://anmonteiro.com/2016/11/the-fastest-clojure-repl-in-t...
Re: How to Use Clojure for Scripting
#4 (defn deps [the-deps]
(merge-env! :dependencies the-deps))Re: How to Use Clojure for Scripting
#5If you want to keep the repl running this is fine, but for scripts, you should be using planck[1] or lumo[2]. Planck in my experience has nice command-line args parsing by default, both should be fast enough not to be annoying when running scripts. [1] http://planck-repl.org [2] https://anmonteiro.com/2016/11/the-fastest-clojure-repl-in-t...
Seconded. Planck is fantastic for scripting, and the accompanying tutorial[0] is great for getting started. The only problem is that its OSX only [0] - http://planck-repl.org/scripts.html
Re: How to Use Clojure for Scripting
#6You don't need that `cemerick.pomegranate` import. Boot can already do that - the `deps` functions should look like this: (defn deps [the-deps] (merge-env! :dependencies the-deps))
Re: How to Use Clojure for Scripting
#7If you want to keep the repl running this is fine, but for scripts, you should be using planck[1] or lumo[2]. Planck in my experience has nice command-line args parsing by default, both should be fast enough not to be annoying when running scripts. [1] http://planck-repl.org [2] https://anmonteiro.com/2016/11/the-fastest-clojure-repl-in-t...
Seconded. Planck is fantastic for scripting, and the accompanying tutorial[0] is great for getting started. The only problem is that its OSX only [0] - http://planck-repl.org/scripts.html
Re: How to Use Clojure for Scripting
#8Re: How to Use Clojure for Scripting
#9If you want to keep the repl running this is fine, but for scripts, you should be using planck[1] or lumo[2]. Planck in my experience has nice command-line args parsing by default, both should be fast enough not to be annoying when running scripts. [1] http://planck-repl.org [2] https://anmonteiro.com/2016/11/the-fastest-clojure-repl-in-t...
Seconded. Planck is fantastic for scripting, and the accompanying tutorial[0] is great for getting started. The only problem is that its OSX only [0] - http://planck-repl.org/scripts.html
Re: How to Use Clojure for Scripting
#10Earlier quoted context omitted.
Seconded. Planck is fantastic for scripting, and the accompanying tutorial[0] is great for getting started. The only problem is that its OSX only [0] - http://planck-repl.org/scripts.html
I don't get it, why didn't he used nodejs from the start instead of JSCore so it would have windows,linux,osx support?