Trying Fennel for GTK apps and it's surprisingly good

This page summarizes the projects mentioned and recommended in the original post on /r/lisp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • urn

    Yet another Lisp variant which compiles to Lua

  • For Lua-based lisps I kind of prefer Urn, which is more batteries-included and just feels better to me overall. Both are interesting though, if for no other reason, because Lua desperately needs macros in some form. :) Another interesting Lisp transpiled language is Amulet, which is an ML-style language somewhere between Haskell and OCaml in style. Something that's interesting about these Lua-based languages to me is they understand that Lua's an embeddable language and most of them have a way to generate Lua output that can be used wherever Lua's used, like in game modding

  • hy

    A dialect of Lisp that's embedded in Python

  • The other Exo-Lisp I heard about before was Hy, but it's pretty similar to Fennel in the sense that it's not a full-featured Lisp and changes a lot of things in order to be compatible with the language it transpiles to (Python)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • lgi

    Dynamic Lua binding to GObject libraries using GObject-Introspection

  • I'm using LGI, they're Gtk bindings based on GObject Introspection (A middleware to communicate with GLib-based libraries dynamically) meaning that they can access without hand-writed code to all the GLib-based libraries even if they were written in other languages like Vala, C, C++ or Rust.

  • Penlight

    A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.

  • As for batteries, there's things like penlight which comes with a huge set of pure Lua libraries inspired by Python. And, well, there's Fennel libraries with macros and more lispy style APIs.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts