An unofficial, read-only Hacker News reader.

Lua for data representation (2025) (opens external site)

104 points by vinhnx 4 days ago | citrons.xyz | 61 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. Lua is one of my favourite languages for many reasons. One of them being that I can use it all the time without actually writing a single line of Lua directly. My main use of it is through Fennel which is a lisp that compiles to Lua. In effect it's a better syntax (you can pry my parens from my cold dead hands) for Lua and it works with LuaJIT as well which is how I can use it in Neovim.

    So every time I want to embed Lua in a project I bring in the Fennel compiler as well which is a single Lua file and end up with a very nice embedded lisp running on top of LuaJIT. There's also Janet which has the same spirit of being small and easily embeddable and even has the same creator as Fennel but I haven't played around with it as much.