Comment by hprotagonist

1 year ago

especially with fennel on top, i can certainly see the uses and appeal!

coming from mostly python, i miss a robust stdlib.

I've been more and more intrigued by fennel lately, and I've been meaning to dive into the functional end of the pool. Any recommendations for how to get started with it, especially if coming from a python background?

  • Also interested in resources here -- familiar with python, go, rust, but never used a lisp.

    As a learning experiment, I was able to use the fennel website to convert my Hammerspoon config from lua to fennel, but I still struggle to add new functionality. Certainly have not delved into macros, but this is where much of the power lies AIUI.

  • I have learned it (somewhat) by playing around in TIC-80 and Löve2D (including LoveDOS).

    Both Lua and Fennel are tiny languages. You can skim all the documentation in a short evening. Fennel does not even have its own standard library, so keep the Lua documentation close at hand.

    I appreciate the simplicity of both Lua and Fennel. There are some ugly parts, but all languages have those.

    Janet (later project by Fennel's creator) is a nicer language that is also portable and embeddable, and has a nice standard library, but Fennel runs anywhere Lua runs. Janet is great just on its own for scripting and not sure I would want to use Fennel for that anywhere Janet is available. But as a way to script games in e.g. Löve2D it seems like an excellent choice.