Lua is famously and deceptively simple and enables many different programming paradigms. Like Javascript, it's possible to make it shine by adding more specialized syntax. I started this list to document the languages I found looking for an ML/F# like language.
Note: Unmaintained languages have been marked with (*) and Archived languages have been marked with (^)
Pull requests welcome!
An intriguing new avenue of development started by Rochus Keller for an Oberon to LuaJIT bytecode compiler provides an elegant way of leveraging the ecosystem:
- http://github.com/rochus-keller/Oberon/ Oberon compiler
- (*) http://github.com/franko/luajit-lang-toolkit A Lua to LuaJIT bytecode compiler/toolkit to enable different language frontends and different compilation backends.
- http://github.com/rochus-keller/LjTools LuaJIT tools, a Qt5 GUI parser, browser, assembler and test VM for LuaJIT 2.0 bytecode
- http://github.com/rochus-keller/Luon Oberon and Lua compiled to LuaJIT bytecode
- http://github.com/mingodad/ljs ljs JS-like syntax with modified VMs for PUC Lua, LuaJIT and RaptorJIT
- http://github.com/PlutoLang/Pluto A superset of Lua 5.4 — with unique features, optimizations, and improvements.
- https://lus.dev/ Lus: a sovereign superset of Lua 5.5 with its own runtime and standard library
For lack of a better designator, these projects are well known, or compiles existing languages
- http://yuescript.org/ Yuescript, an extended and actively developed form of Moonscript.
- http://moonscript.org/ Moonscript, indentation based syntax, based on the ideas of Coffeescript.
- http://haxe.org Haxe, strongly typed language with both functional and object-oriented features, that has multiple backends
- http://github.com/yanghuan/CSharp.lua C# transpiler
- (*) http://github.com/gijit/gi translates Go into Lua. It targets LuaJIT for 64-bit integer support.
- (*) http://github.com/theFox6/LuaVenusCompiler Transpiler for Venus, a Go-like language
- http://github.com/erde-lang/erde Transpiler with Go-like syntax favoring symbols over words
- (^) http://github.com/devcat-studio/kailua KaiLua
- http://github.com/pallene-lang/pallene Pallene, friendly fork of Titan
- (*) http://github.com/titan-lang/titan-v0 Titan
- (*) http://github.com/ggVGc/Tua Tua
- http://github.com/teal-language/tl Teal
- http://github.com/CapsAdmin/NattLua NattLua
- http://github.com/yazaldefilimone/stella/http://github.com/yazaldefilimone/stella-compiler Stella
- http://github.com/dibyendumajumdar/ravi and http://ravilang.github.io/ Ravi
- http://terralang.org/ Terra
- http://github.com/edubart/nelua-lang Nelua, Natively Extensible Lua
- http://github.com/rochus-keller/Oberon/ Oberon
- (*) http://github.com/wu-lang/wu Slightly Rusty with classes and traits
- (*) http://github.com/PaulBernier/castl Javascript transpiler
- (*) http://github.com/seanjensengrey/colony-js Javascript transpiler
- (*) http://github.com/saharNooby/lua-js-syntax Javascript inspired syntax
- http://github.com/roblox-ts/roblox-ts
- (*) http://github.com/ASDAlexander77/TypeScriptLua
- http://github.com/TypeScriptToLua/TypeScriptToLua
- (^) https://amulet.works An ML-like functional programming language that transpiles to lua
- http://github.com/kindl/Hypatia Hypatia, an ML-like language that transpiles to Lua
- (*) http://github.com/ptol/oczor Haskell-like language that compiles to Lua, Javascript, Emacs lisp and Ruby
- (*) http://github.com/iitalics/Lua-ML Basic ML language
- (*) http://github.com/hengestone/pumpkin ML-like language with an experimental Lua back-end
- http://github.com/minoki/LunarML A Standard ML compiler that produces Lua
- (*) http://github.com/Russoul/Idris2-Lua A Lua backend for Idris 2
- http://github.com/Unisay/purescript-lua A Lua backed for PureScript
- http://github.com/coetaur0/nox A functional, statically typed programming language that compiles to Lua
There are so many Lisp variants, they deserve their own category.
- (*) https://squiddev.github.io/urn/ Urn, Lisp dialect, extensive libraries
- http://github.com/bakpakin/Fennel Lisp compiler and library
- (*) http://github.com/meric/l2l l2l (lisp) superset of Lua
- (*) http://github.com/larme/hua Hua, Lisp dialect
- (*) http://leafo.net/moonlisp/ Lisp implemented in Moonscript
- (*) http://github.com/sctb/lumen Small Lisp
- (*) http://github.com/bullno1/mLisp
- (*) http://github.com/WeirdConstructor/lal Scheme
- (*) http://github.com/adamrk/scheme2luac Scheme
- http://github.com/LuxLang/lux Statically typed, functional lisp with an ML-like module system
- http://github.com/zcaudate-xyz/foundation-base Clojure std.lang, universal Clojure transpiler with Lua grammar spec
- (*) http://github.com/MrVallentin/PyLua
- (*) http://github.com/NeonMercury/python-lua
- http://github.com/MhadhbiXissam/pythonicLua
- http://github.com/AsynchronousAI/roblox-py Also compiles to C, C++, and Lunar, a modified version a MoonScript made for roblox.
- http://github.com/ClueLang/Clue Clue, a language similar to Rust that compiles to any version of Lua
- (*) http://github.com/presidentbeef/brat Brat, using MoonJIT
- (*) http://github.com/richardhundt/shine Shine, using TvmJit
- (*) http://github.com/apotheon/vortex Vortex
- (*) http://github.com/tommo/yu Yu
- (*) http://github.com/Reuh/candran Candran
- https://hurdy.apicici.com/ Hurdy
- (*) http://github.com/marcoonroad/moonforth Forth to Lua transpiler
- http://github.com/tjdevries/vim9jit vim9script to Lua transpiler