4 ms·
Alternative method to install clojure, using "clojure", but without clojure
by rosineygp 6y ago
Alternative method to install clojure, using "clojure", but without clojure
- capableweb 6y agoIf you're interested in other methods of using Clojure but without Clojure JVM (or JavaScript), check out Babashka: https://github.com/babashka/babashka https://github.com/babashka/babashka "native fast-starting Clojure scripting environment"
- rosineygp 6y agoBabashka is a nice project (I will try to do something or port it), but I use fleck to learn clojure better... to make lines I have to create a lot of base functions and interop. But fleck is slow :(
- capableweb 6y agofleck is "Clojure-like" and is bash without some of the important semantics of Clojure. Babashka is using "Small Clojure Interpreter" (https://github.com/borkdude/sci https://github.com/borkdude/sci) which is trying it's best to be as much like Clojure as possible. Might not be a good idea to use something that can't make the same claim, if your point is to learn Clojure. I realize now that fleck (https://github.com/chr15m/flk https://github.com/chr15m/flk) also doesn't even do destructuring and more. Finally the README in the bottom has "You might also be thinking of babashka which is a bare-metal solution using real Clojure". Babashka is also not slow but rather fast (in startup time).
- rosineygp 6y agoUal, there is a lot before Babashka that I didn't know. So, I already did code in clojure before this... the main reason was just know how a host language works, not pure clojure... clojure has everything you need with two or more functions to resolve (amazing!!!) And I tried to learn reading clojure.core... but Is very dificult. the project "make a lisp" helps me with this problem. I will try do something with Babashka or Joker soon. Thanks!