Re: [ANN] Inlein 0.1.0

2016-03-19 Thread Jean Niklas L'orange
On 14 March 2016 at 19:45, Christopher Small wrote: > I know that planck (http://planck-repl.org/) has successfully achieved > cljs scripting capacity on OSX (and I've heard there's progress on Linux > support as well, but am fuzzy on the details). Do you think support for

Re: [ANN] Inlein 0.1.0

2016-03-19 Thread Alan Thompson
For completeness: ~/clj > cat hello-inlein.clj #!/usr/bin/env inlein '{ :dependencies [[org.clojure/clojure "1.8.0"]] } (println "hello world!") ~/clj > cat hello-lein-exec.clj #!/usr/bin/env lein-exec (println "hello world!") -- You received this message because you are subscribed to

Re: [ANN] Inlein 0.1.0

2016-03-19 Thread Alan Thompson
Hi - Looks nice. On my computer (1-year-old Ubuntu 15.10, medium desktop from ZaReason), inlein is a little faster than lein-exec, about 1.7x ratio: ~/clj > for xx in 1 2 3 ; do time hello-inlein.clj ; done hello world! hello-inlein.clj 0.64s user 0.03s system 129% cpu 0.523 total hello world!

Re: [ANN] Inlein 0.1.0

2016-03-19 Thread Yehonathan Sharvit
It would be nice to allow reload of the script from the REPL (with a special command). Another thing, is there a way to package the script and its dependencies into an executable (like lein bin does)? On Sunday, 13 March 2016 16:09:22 UTC+2, Jean Niklas L'orange wrote: > > Hi all Clojurians, >

Re: [ANN] Inlein 0.1.0

2016-03-14 Thread Yehonathan Sharvit
Really awesonme. Is there a way to use the repl while developing a script with inlein? On Monday, 14 March 2016 21:03:10 UTC+2, Erik Assum wrote: > > With regard to Planck, I don't think Inlein will be useful, since you'd > have to wait for the jvm startup. > > What Planck, in my opinion, is

Re: [ANN] Inlein 0.1.0

2016-03-14 Thread Erik Assum
With regard to Planck, I don't think Inlein will be useful, since you'd have to wait for the jvm startup. What Planck, in my opinion, is missing is a story on dependency management without the jvm. Unfortunately, leiningen and Inlein both use Java libs to resolve deps, which means you need

Re: [ANN] Inlein 0.1.0

2016-03-14 Thread Christopher Small
Wonderful! I love this approach and will probably use this for future scripting tasks. I know that planck (http://planck-repl.org/) has successfully achieved cljs scripting capacity on OSX (and I've heard there's progress on Linux support as well, but am fuzzy on the details). Do you think

Re: [ANN] Inlein 0.1.0

2016-03-13 Thread Rangel Spasov
Very nice, super simple to get started with. Got it running within a minute! Definite will make use of this : ) On Sunday, March 13, 2016 at 7:09:22 AM UTC-7, Jean Niklas L'orange wrote: > > Hi all Clojurians, > > Alex Miller did some research >

Re: [ANN] Inlein 0.1.0

2016-03-13 Thread Sunil S Nandihalli
Thanks Jean for this. A quick comparison to lein-exec shows that your stuff is very similar to lein-exec but probably much simpler to use with much faster startup times. I tried it. Thanks again. Sunil. On Sun, Mar 13, 2016 at 7:39 PM, Jean Niklas

[ANN] Inlein 0.1.0

2016-03-13 Thread Jean Niklas L'orange
Hi all Clojurians, Alex Miller did some research on slow boot times with Clojure/scripting in Clojure not too long ago. What I found weird was that there were no tool for doing Clojure scripting. It's possible to do this with