The startup time is of course very low, so that's good. I think you're underselling the tool for beginners like myself - it's not just a ClojureScript REPL, it's actually an executable which can run node.js scripts written in clojurescript. For example, here's the typical node http server example: https://gist.github.com/anonymous/c14b2b57184c650d9f3ff0a9e1... You can run it with lumo test.cljs
Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
31–40 of 78 posts
Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#32Earlier quoted context omitted.
If I remember correctly, LFE is a Lisp2 Joxa (just like Clojure) is a Lisp1, thus maybe more apt http://joxa.org
I'm curious, what are the practical differences? I know what the theoretical differences are, but do you have any experience with how lisp1 and lisp2 are different in daily use?
I just prefer to pass around functions/closures as values, and being able to invoke them like any normal function, instead of having to call an helper `apply`/`invoke`/`call` function on them (depending on the language)
That's why I said: "maybe more apt"... if OP doesn't care at all about that difference, and it's not among the details that they'd want to replicate from Clojure, it's perfectly ok to ignore
Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#33Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#34Earlier quoted context omitted.
One of the main objectives of Clojure was interoperability with Java because of the ecosystem. Java and Erlang ecosystems are not comparable. Also, JVM is great. :)
That's not true. One of the main objectives of Clojure was to be a hosted language. Not just 'language hosted on JVM'. So idea to make it work on top of Erlang VM is perfectly valid and consistent with original design assumptions.
...but hey, don't take my word for it:
The net result is that the prospects for Clojure going forward are
very good. The core model of Clojure has held up well and continues to
appeal - accessible, robust, thread-safe, efficient dynamic functional
programming, on a world-class infrastructure, with a huge set of
libraries. Oh yeah, and it's great fun!
- Rich Hickey, 2008
https://groups.google.com/forum/#!topic/clojure/2CA_H58Cbo0Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#35Earlier quoted context omitted.
That's not true. One of the main objectives of Clojure was to be a hosted language. Not just 'language hosted on JVM'. So idea to make it work on top of Erlang VM is perfectly valid and consistent with original design assumptions.
> One of the main objectives of Clojure was to be a hosted language. Not just 'language hosted on JVM'. Uhm... I always thought it was meant to be a Lisp for JVM. Where did you get your information from?
Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#36The startup time is of course very low, so that's good. I think you're underselling the tool for beginners like myself - it's not just a ClojureScript REPL, it's actually an executable which can run node.js scripts written in clojurescript. For example, here's the typical node http server example: https://gist.github.com/anonymous/c14b2b57184c650d9f3ff0a9e1... You can run it with lumo test.cljs
Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#37Earlier quoted context omitted.
That's not true. One of the main objectives of Clojure was to be a hosted language. Not just 'language hosted on JVM'. So idea to make it work on top of Erlang VM is perfectly valid and consistent with original design assumptions.
Whether it's as important now or not is a different matter I suppose, with various targets for the language (including other VMs), but I don't think it's in dispute that originally the extensive java ecosystem was core to what clojure was, and was designed to be. ...but hey, don't take my word for it: The net result is that the prospects for Clojure going forward are very good. The core model of Clojure has held up w…
This talk should go into a bit more detail about this: https://channel9.msdn.com/blogs/charles/emerging-langs-cloju...
Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#38The startup time is of course very low, so that's good. I think you're underselling the tool for beginners like myself - it's not just a ClojureScript REPL, it's actually an executable which can run node.js scripts written in clojurescript. For example, here's the typical node http server example: https://gist.github.com/anonymous/c14b2b57184c650d9f3ff0a9e1... You can run it with lumo test.cljs
How do I add Clojurescript libraries to my script? Doesn't that require a lein/boot cljs project?
Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#39The startup time is of course very low, so that's good. I think you're underselling the tool for beginners like myself - it's not just a ClojureScript REPL, it's actually an executable which can run node.js scripts written in clojurescript. For example, here's the typical node http server example: https://gist.github.com/anonymous/c14b2b57184c650d9f3ff0a9e1... You can run it with lumo test.cljs
Considering it's running as a standalone script, how does it resolve its dependency on cljs.nodejs? That's a Clojurescript library, no?
Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8
#40'fastest starting Clojure REPL'... which is still slow compared to alternatives.