Hi, everyone! I’ve just updated my luar plugin to also provide a fennel
command (akin to the already available lua
command) to make it possible to write Kakoune scripts in Fennel.
For those who don’t know, Fennel is a very lightweight Lisp dialect that compiles to Lua.
See executing fennel code for how it looks like.
Being able to use it in Luar was an old request, but I confess I was reluctant to add support for it, since the very minimal code base of the plugin would get a bit more complicated. But I finally did it in a way that both commands share as much code as possible.
Documentation improvements
I also took the opportunity to give more visibility to features available since the plugin inception, like the ability to call custom commands, the fact that Luar proper quotes command arguments, and the debug facilities.
I hope you like it.