Fennel VS lua-languages

Compare Fennel vs lua-languages and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Fennel lua-languages
90 13
2,281 555
- -
9.1 3.9
6 days ago 14 days ago
Fennel
MIT License Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Fennel

Posts with mentions or reviews of Fennel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-27.
  • Pluto, a Modern Lua Dialect
    9 projects | news.ycombinator.com | 27 Dec 2023
    Eh it's not just luajit and luajit didn't create that problem either. It's a symptom of lua actually succeeding at its design goal of being easily embedded as an extension language. A significant number of incompatible runtimes are more popular than the most recent puc lua, including I believe the older official lua 5.2 released in 2011.

    I've done a fair bit of professional lua development and I don't think I've ever written standalone up-to-date puc lua except maybe for some tooling & scripts. It's such a small language and used in such a way that the runtime, distribution method, and available APIs have much more impact on your use (and compatibility) than the version.

    Virtually everyone shipping a lua environment is also shipping changes to it that make it a unique target, if only extensions to the standard library. This is why I think syntax layer-only approach like fennel's is the correct choice for improving on lua. It mirrors lua's runtime semantics exactly, and allows you to access the implementation peculiars on their own terms and so can just be run on time of any lua system.

    https://fennel-lang.org

  • LÖVE: a framework to make 2D games in Lua
    26 projects | news.ycombinator.com | 13 Sep 2023
    Just learned about https://fennel-lang.org/ , could have probably used that as well to avoid Lua.
  • The Bipolar Lisp Programmer
    3 projects | news.ycombinator.com | 11 Aug 2023
    > I’m positive that there is a Lispy language out there (actually in existence, or the aether) that is appropriate for embedded work, but the constraints of the target make it difficult to envision.

    Perhaps Fennel* fits the bill?

    * https://fennel-lang.org/

  • The Future of the Vim Project
    6 projects | news.ycombinator.com | 10 Aug 2023
    I've also seen neovim plugins written in fennel [0], so if you want something lispy, that's possible now.

    [0]: a Lisp that compiles to Lua, https://github.com/bakpakin/Fennel

  • Qual a linguagem que vocês mais gostam de programar?
    2 projects | /r/brdev | 26 Jun 2023
  • Can I use elixir as the scripting language of my game engine?
    1 project | /r/elixir | 6 Jun 2023
  • TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript
    3 projects | news.ycombinator.com | 26 May 2023
    Something similar: Fennel (https://fennel-lang.org/) is a lisp that compiles into Lua, which nvim can use as plugins, so you can write nvim plugins in a lisp. Aniseed (https://github.com/Olical/aniseed) makes this really easy.
  • Announcing automation-service: write and schedule home automation scripts in Lua
    3 projects | /r/haskell | 12 May 2023
    If you want a more FP language on the Lua runtime, you might be interested in Fennel. I wrote a post about adding Fennel compiler to a hslua interpreter a while back, which might be useful for you.
  • 916 Days of Emacs
    12 projects | news.ycombinator.com | 13 Apr 2023
  • What's your opinion on Lua programming language?
    3 projects | /r/programming | 26 Mar 2023
    There's fennel if you're a fan of LISP syntax. I like embedding lua because it's light and easy and doesn't re-engineer itself every six months like python; but I agree, the lua syntax certainly is fugly.

lua-languages

Posts with mentions or reviews of lua-languages. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-13.
  • Why Fennel?
    12 projects | news.ycombinator.com | 13 Sep 2023
    This post inspired me to look for an ML-like language that compiles to lua and I found this useful list: https://github.com/hengestone/lua-languages
  • Using other languages
    6 projects | /r/ComputerCraft | 8 Feb 2023
    There's a complete list of languages that compile to Lua available here: https://github.com/hengestone/lua-languages
  • How should i make a lua-based programming language?
    1 project | /r/lua | 11 Jan 2023
    There are a ton of different ways to do this but you haven't given enough information to give useful advice. What kind of language do you want to make? "as a module of smth else" doesn't really mean anything. https://github.com/hengestone/lua-languages
  • Researching Lispy Neovim
    2 projects | /r/neovim | 26 Nov 2022
    There's also gpanders/nvim-moonwalker, which advertises Fennel in it's readme but works for any x->lua language you return the lua code for, ie: teal, moonscript, uh... others?
  • Lang Lua
    8 projects | news.ycombinator.com | 12 Nov 2022
    I went on a several-weeks-long fact finding mission (the longest of its kind I've ever done in my 10 years as a professional software developer).

    The option that won was to write all business logic (a few thousand lines of code) in Lua, then write the GUI in each platform's native language+ui-library combination and re-use the same business logic by embedding Lua.

    Another option that made the shortlist was using Haxe instead of Lua, but after several weeks, it became clear that that was a bad idea, and with Lua, the developer experience is now so much better.

    I definitely plan on continuing to use Lua as my main programming language.

    This comes after 20 years of having python as my main programming language because I'm displeased with feature creep and bloat on python. With lua, I find that I barely miss any features/abilities from the vastly more complex python while the simplicity of lua means my code gets to "go places" where python can't go.

    With lua, you find casual implementers making fully compatible alternative implementations (e.g. NeoLua for C#, Luna for Java, fengari for JavaScript, ...) With Python, alternative implementations seemingly just can't keep up with the pace at which CPython is introducing unnecessary new features and CPython-compatbility is de-facto the only meaningful python standard there is. Jython and IronPython would make the platform so much more appealing, but they appear dead in the water. Python implementations for the browser pop up every couple of years only to quietly disappear again.

    What's more: Once you've settled on Lua as am embedding language, developers of Lua logic are free to use not just Lua, but they can pick from a host of cool transpile-to-Lua languages [1].

    [1] https://github.com/hengestone/lua-languages

  • Hello i am new. Is there a way to use another language than lua for modding?
    3 projects | /r/Minetest | 4 Aug 2022
    However, there are many languages to which this doesn’t apply (before Fennel I’ve tried to write Minetest mods in Haxe without success).
  • What do you think about MoonScript?
    3 projects | /r/learnpython | 15 Jul 2022
    Maybe most of them are also small projects, but there are a lot of projects that compile other languages to Lua: https://github.com/hengestone/lua-languages .
  • Luau Goes Open-Source
    9 projects | news.ycombinator.com | 3 Nov 2021
    Doubtful, but there is TypescriptToLua: https://typescripttolua.github.io/

    Here's a whole list of languages that compile to Lua (many of them statically typed): https://github.com/hengestone/lua-languages

  • Python and Lua (2019)
    8 projects | news.ycombinator.com | 9 Oct 2021
  • Has anybody written Neovim config in Typescript, and transpiled it to Lua?
    3 projects | /r/vim | 20 Jul 2021
    That's just because there are lots of lua transpilers. https://github.com/hengestone/lua-languages

What are some alternatives?

When comparing Fennel and lua-languages you can also consider the following projects:

janet - A dynamic language and bytecode vm

luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua

urn - Yet another Lisp variant which compiles to Lua

LuaJIT - Mirror of the LuaJIT git repository

nvim-lspconfig - Quickstart configs for Nvim LSP

TypeScriptToLua - Typescript to lua transpiler. https://typescripttolua.github.io/

Lua-RTOS-ESP32 - Lua RTOS for ESP32

benchmarks - Some benchmarks of different languages

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

vim9jit - a vim9script -> lua transpiler (written in Rust)

webassembly-lua - Write and compile WebAssembly code with Lua

ts-to-lua-test - A little experiment using the Typescript to Lua transpiler on a function