3 ms·
If anything it’s major inspirations seem to be Clojure and Lua. It has some of the affordances of the former in terms of semantics, but is stripped down and fr
by dgb23 4y ago
If anything it’s major inspirations seem to be Clojure and Lua.
It has some of the affordances of the former in terms of semantics, but is stripped down and friendly like Lua.
The use cases also seem to overlap with Lua, as a fast, embeddable scripting language that you can easily keep in your head (see docs).
It seems to be simpler than Lua because it doesn’t complect arrays and dicts into tables, as arrays are a separate construct. And it affords you with immutable versions of those.
To me it looks like a Clojure-like for Lua use cases.
- n42 4y agoThe Lua similarity is not exactly a coincidence, the author of Janet also previously created Fennel[0], a Lisp for Lua. [0]: https://fennel-lang.org/ https://fennel-lang.org/