This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-24
Channels
- # announcements (8)
- # aws (12)
- # babashka (84)
- # beginners (380)
- # calva (56)
- # clj-kondo (52)
- # cljdoc (4)
- # cljs-dev (327)
- # cljsrn (4)
- # clojure (154)
- # clojure-italy (5)
- # clojure-nl (3)
- # clojure-uk (21)
- # clojurescript (52)
- # conjure (133)
- # cursive (64)
- # datomic (33)
- # emacs (22)
- # fulcro (35)
- # graalvm (24)
- # graphql (1)
- # kaocha (1)
- # leiningen (1)
- # off-topic (24)
- # onyx (2)
- # pathom (10)
- # re-frame (3)
- # reagent (3)
- # reitit (3)
- # shadow-cljs (48)
- # spacemacs (12)
- # tools-deps (98)
- # xtdb (7)
Fleck (Clojure-like LISP) v0.1.0 is out.
https://github.com/chr15m/flk
Changes:
• (sh! 'echo ["hello world!"])
= better interop returning stdout, stderr, return code.
• (str-pos haystack needle)
returning the position of haystack within needle.
How does it compare with Closh and Oil Shell?
i don't know oil shell so i can't speak to that. some differences from closh: • closh is implemented in real clojure[script] on the JVM or node, whereas flk is a hack on top of bash (the only dependency is bash 4). • closh is an actual shell whereas this is intended to make scripting nicer where you only have bash available, rather than using it as your every day shell.
projects like babashka and closh are significantly more powerful and complete because they are built with real clojure.
what i think makes flk useful in certain niches is that it runs on top of bash alone and can compile to a pure bash script. so if bash is all you have got available on the platform you are targeting, and you just want to write some small scripts using a clojure-like syntax, then this might be useful.
This looks like a terrific fit for that niche! Also parts of the FAQ really cracked me up 😂
babashka, a native tool for Clojure scripting, v0.0.85-v0.0.89: Add clojure.data.xml, support for next.jdbc + postgres and more https://github.com/borkdude/babashka/releases follow up in #babashka 🎉 happy weekend!