3 ms·
One might also check out Janet for quick scripting tasks. https://janet-lang.org https://janet-lang.org
by threatofrain 3y ago
One might also check out Janet for quick scripting tasks.
https://janet-lang.org https://janet-lang.org
- capableweb 3y agoBeing a Clojure addict, I guess I have to leave the obligatory link to Babashka too then: https://github.com/babashka/babashka https://github.com/babashka/babashka (Native, fast starting Clojure interpreter for scripting)
- snordgren 3y agoI love Clojure as a language but I can't bother to deal with the JVM ecosystem most of the time. Is this something I could use as an alternative?
- drekipus 3y agoMy understanding is that the linked lib/system is "clojure without the JVM"
- funcDropShadow 3y agoYes and no. Babashka itself is Clojure/JVM program compiled with graalvm to a native binary that starts very fast. Babashka contains an interpreter for a simplified variant of Clojure. It also contains a predefined set of classes of the JVM and a predefined set of Clojure libraries. Basically, it contains most of what you would need to use it for simple scripts, make network requests, parse command line arguments and many more things. But, it won't run every possible Clojure program and it won't be as performant as Clojure on the JVM if the program runs longer.
- vindarel 3y agoAs a CL addict, this isn't unlike Babashka: fast-starting CL scripting with batteries included. https://github.com/ciel-lang/CIEL https://github.com/ciel-lang/CIEL (alpha) (otherwise the solution is to build a binary)
- amno 3y agoAs an Emacs addict, Emacs can do it all that babashak & ciel do, plus much more than so, like having a great stepper (edebug) and possibility to view the output while stepping through the code in a separate file buffer, as well as a server for long term processes, that can watch files and directories etc.
- bitwize 3y agoOr Guile: https://gnu.org/software/guile https://gnu.org/software/guile Or scsh, for the old school: https://scsh.net https://scsh.net
- JoelMcCracken 3y agoOr https://docs.racket-lang.org/rash/index.html https://docs.racket-lang.org/rash/index.html , racket ecosystem is great
- nerdponx 3y agoGauche is my favorite Scheme for general scripting. Huge Python-esque standard library, but very nicely organized. Fast enough for anything I need it to do. Straightforward command line interface. Good, mostly clear docs. I find that Guile and Chicken are harder to work with and have less of what I want available for immediate use.
- kazinator 3y agoTXR/TXR Lisp https://stackoverflow.com/search?tab=newest&q="txr"%20is%3aanswer&searchOn=3 https://stackoverflow.com/search?tab=newest&q="txr"%20is%3aa... https://unix.stackexchange.com/search?tab=newest&q="txr"%20is%3aanswer&searchOn=3 https://unix.stackexchange.com/search?tab=newest&q="txr"%20i...