News for hackers. Stuff that matters.
Re:A pure Bash Clojure-ish CI pipeline by capableweb on Sunday January 03, 2021 @11:22AM (#25622666)
If you're interested in other methods of using Clojure but without Clojure JVM (or JavaScript), check out Babashka: https://github.com/babashka/babashka "native fast-starting Clojure scripting environment"
Re:A pure Bash Clojure-ish CI pipeline by rosineygp on Sunday January 03, 2021 @11:51AM (#25622891)
Babashka 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 :(
Re:A pure Bash Clojure-ish CI pipeline by capableweb on Sunday January 03, 2021 @01:37PM (#25623860)
fleck 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) 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) 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).

Re:A pure Bash Clojure-ish CI pipeline by rosineygp on Sunday January 03, 2021 @02:12PM (#25624185)
Ual, 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!