But while it superficially has similar syntax to Clojure, it's fundamentally a very very different language. You don't have immutable data-structure. It's intended to be used in an imperative way. It's extremely minimal in a kind of Scheme-y way. It's sort of like Scheme with more creature comforts. It was a very interesting PEG system for building DSLs and an innovative "runtime" where the program state is also a Janet program in an of itself. It's very weird and has new paradigms.
In the end I wasn't sure where I'd ever really want to use it though. Maybe similar scenarios as Scheme? If I wanted a scripting language where the whole language is something I could keep in my head.
Comments
I only really know Janet by going through "Janet for Mortals" - so I'm by no means an expert
https://janet.guide/
But while it superficially has similar syntax to Clojure, it's fundamentally a very very different language. You don't have immutable data-structure. It's intended to be used in an imperative way. It's extremely minimal in a kind of Scheme-y way. It's sort of like Scheme with more creature comforts. It was a very interesting PEG system for building DSLs and an innovative "runtime" where the program state is also a Janet program in an of itself. It's very weird and has new paradigms.
In the end I wasn't sure where I'd ever really want to use it though. Maybe similar scenarios as Scheme? If I wanted a scripting language where the whole language is something I could keep in my head.