4 ms·
I don't necessarily recommend it as a general purpose language across many uses right now, but I've been working in lua a lot and fennel has really impressed me
by giraffe_lady 5y ago
I don't necessarily recommend it as a general purpose language across many uses right now, but I've been working in lua a lot and fennel has really impressed me.
It only adds special forms and doesn't change the runtime semantics at all, so you can drop it into any lua runtime for a strictly better dev experience, or target luajit or whatever but that's not relevant to me.
I haven't used its macro system yet but it looks fine and pretty much like clojure's. I only ever wrote a handful of macros over years of working in clojure so ymmv anyway. Also it has pattern matching, which is ridiculously powerful and smooth in lisps, and it still boggles my mind that clojure doesn't seem aware of that.
Again I haven't used this language yet for anything that didn't require lua, so I'm not sure how that'll go. I'll definitely consider it next time I need a lightweight scripting language though.
- jrvarela56 5y agoYou can use this library to get pattern matching in Clojure: https://github.com/clojure/core.match/wiki/Overview https://github.com/clojure/core.match/wiki/Overview