3 ms·
Howdy, I just added scripting support. $ ciel myscript.lisp where we can use all the available libraries, it works instantly. It's brand new, not many op
by vindarel 4y ago
Howdy, I just added scripting support.
$ ciel myscript.lisp
where we can use all the available libraries, it works instantly.
It's brand new, not many options right now ;)
> like janet-lang
I don't think so, since Janet advertises itself as an embedable Lisp like Lua or Guile (and ECL). But yes, in the sense it comes with batteries included. Like Babashka, I guess.
Thanks for your initial question!
---
So, in CIEL scripts right now, we can make HTTP requests (dex:get or http:get), parse JSON, CSV etc, run shell commands (cmd:cmd, the "!" shortcut in the CIEL shell), or even
(defalias ! #'cmd:cmd)
(! "pwd")
and more.
https://github.com/ciel-lang/CIEL/ https://github.com/ciel-lang/CIEL/
- vindarel 4y agoand just added running the file, with an appropriate shebang: $ ./myscript.lisp