{"id":13495111,"url":"https://github.com/hengestone/lua-languages","last_synced_at":"2025-03-28T16:31:27.917Z","repository":{"id":42951003,"uuid":"94653215","full_name":"hengestone/lua-languages","owner":"hengestone","description":"Languages that compile to Lua","archived":false,"fork":false,"pushed_at":"2024-08-20T20:27:09.000Z","size":101,"stargazers_count":587,"open_issues_count":1,"forks_count":21,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-08-20T22:29:25.410Z","etag":null,"topics":["javascript-transpiler","lisp","lua","lua-language"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hengestone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-17T22:49:17.000Z","updated_at":"2024-08-20T20:27:13.000Z","dependencies_parsed_at":"2023-02-12T20:31:28.266Z","dependency_job_id":"ad1a7066-ca39-4feb-97aa-5751739445c8","html_url":"https://github.com/hengestone/lua-languages","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengestone%2Flua-languages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengestone%2Flua-languages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengestone%2Flua-languages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengestone%2Flua-languages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hengestone","download_url":"https://codeload.github.com/hengestone/lua-languages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222395683,"owners_count":16977605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript-transpiler","lisp","lua","lua-language"],"created_at":"2024-07-31T19:01:31.280Z","updated_at":"2024-10-31T10:30:27.516Z","avatar_url":"https://github.com/hengestone.png","language":null,"readme":"# lua-languages\n\n## Languages that compile to Lua\nLua 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.\n\nNote: Unmaintained languages have been marked with (*) and Archived languages have been marked with (^)\n\nPull requests welcome!\n\n### Compile to bytecode\nAn intriguing new avenue of development started by [Rochus Keller](https://github.com/rochus-keller) for an Oberon to LuaJIT bytecode compiler provides an elegant way of leveraging the ecosystem:\n - https://github.com/rochus-keller/Oberon/\n  Oberon compiler\n - (*) https://github.com/franko/luajit-lang-toolkit\n  A Lua to LuaJIT bytecode compiler/toolkit to enable different language frontends and different compilation backends.\n - https://github.com/rochus-keller/LjTools \n  LuaJIT tools, a Qt5 GUI parser, browser, assembler and test VM for LuaJIT 2.0 bytecode\n\n### VM forks\n - https://github.com/mingodad/ljs *ljs* JS-like syntax with modified VMs for PUC Lua, LuaJIT and RaptorJIT\n - https://github.com/PlutoLang/Pluto A superset of Lua 5.4 — with unique features, optimizations, and improvements.\n\n### Tier 1\nFor lack of a better designator, these projects are well known, or compiles existing languages\n - http://yuescript.org/\n Yuescript, an extended and actively developed form of Moonscript.\n - http://moonscript.org/\n Moonscript, indentation based syntax, based on the ideas of Coffeescript.\n - http://haxe.org\n Haxe, strongly typed language with both functional and object-oriented features, that has multiple backends\n - https://github.com/yanghuan/CSharp.lua\n C# transpiler\n\n### Go/Go-like\n - (*) https://github.com/gijit/gi translates Go into Lua. It targets LuaJIT for 64-bit integer support.\n - (*) https://github.com/theFox6/LuaVenusCompiler\n Transpiler for [Venus](https://github.com/retroverse/venus), a Go-like language\n - https://github.com/erde-lang/erde Transpiler with Go-like syntax favoring symbols over words\n\n### Typed Lua\n - (^) https://github.com/devcat-studio/kailua\n KaiLua\n - https://github.com/pallene-lang/pallene\n Pallene, friendly fork of Titan\n - (*) https://github.com/titan-lang/titan-v0\n Titan\n - (*) https://github.com/ggVGc/Tua\n Tua\n - https://github.com/teal-language/tl \n Teal\n - https://github.com/CapsAdmin/NattLua \n NattLua\n - \u003chttps://github.com/yazaldefilimone/stella\u003e/\u003chttps://github.com/yazaldefilimone/stella-compiler\u003e Stella\n\n### Binary compiled Lua-like\n - https://github.com/dibyendumajumdar/ravi\n and http://ravilang.github.io/\n Ravi\n - http://terralang.org/\n Terra\n - https://github.com/edubart/nelua-lang\n Nelua, Natively Extensible Lua\n \n### Strongly typed\n - https://github.com/rochus-keller/Oberon/\n Oberon\n - (*) https://github.com/wu-lang/wu Slightly Rusty with classes and traits\n\n### Javascript\n - (*) https://github.com/PaulBernier/castl\n Javascript transpiler\n - (*) https://github.com/seanjensengrey/colony-js\n Javascript transpiler\n - (*) https://github.com/saharNooby/lua-js-syntax Javascript inspired syntax\n\n### TypeScript\n- https://github.com/roblox-ts/roblox-ts\n- (*) https://github.com/ASDAlexander77/TypeScriptLua\n- https://github.com/TypeScriptToLua/TypeScriptToLua\n\n### Functional\n- (^) https://amulet.works An ML-like functional programming language that transpiles to lua\n- https://github.com/kindl/Hypatia Hypatia, an ML-like language that transpiles to Lua\n- (*) https://github.com/ptol/oczor\nHaskell-like language that compiles to Lua, Javascript, Emacs lisp and Ruby\n- (*) https://github.com/iitalics/Lua-ML Basic ML language\n- (*) https://github.com/hengestone/pumpkin ML-like language with an experimental Lua back-end\n- https://github.com/minoki/LunarML A Standard ML compiler that produces Lua\n- (*) https://github.com/Russoul/Idris2-Lua A Lua backend for Idris 2\n- https://github.com/Unisay/purescript-lua A Lua backed for [PureScript](https://github.com/purescript/purescript)\n- https://github.com/coetaur0/nox A functional, statically typed programming language that compiles to Lua\n \n### Lisp\nThere are so many Lisp variants, they deserve their own category.\n - (*) https://squiddev.github.io/urn/\n Urn, Lisp dialect, extensive libraries\n - https://github.com/bakpakin/Fennel\n Lisp compiler and library\n - (*) https://github.com/meric/l2l\n l2l (lisp) superset of Lua\n - (*) https://github.com/larme/hua\n Hua, Lisp dialect\n - (*) http://leafo.net/moonlisp/\n Lisp implemented in Moonscript\n - (*) https://github.com/sctb/lumen Small Lisp\n - (*) https://github.com/bullno1/mLisp\n - (*) https://github.com/WeirdConstructor/lal\n Scheme\n - (*) https://github.com/adamrk/scheme2luac\n Scheme\n - https://github.com/LuxLang/lux\n Statically typed, functional lisp with an ML-like module system\n \n ### C\n - (*) https://github.com/davidgiven/clue\n \n ### Python\n  - (*) https://github.com/MrVallentin/PyLua\n  - (*) https://github.com/NeonMercury/python-lua\n  - https://github.com/MhadhbiXissam/pythonicLua\n  - https://github.com/AsynchronousAI/roblox-py\n     Also compiles to C, C++, and Lunar, a modified version a MoonScript made for roblox.\n \n### Ruby\n - (*) https://github.com/Kilobyte22/Mlc\n \n### Rust\n - https://github.com/ClueLang/Clue\n Clue, a language similar to Rust that compiles to any version of Lua\n \n### Unique\n - (*) https://github.com/presidentbeef/brat Brat, using [MoonJIT](https://github.com/moonjit/moonjit)\n - (*) https://github.com/richardhundt/shine Shine, using [TvmJit](https://github.com/perl11/tvmjit)\n - (*) https://github.com/apotheon/vortex Vortex \n - (*) https://github.com/tommo/yu Yu\n - (*) https://github.com/Reuh/candran Candran\n - https://hurdy.apicici.com/ Hurdy\n \n### Other\n - (*) https://github.com/marcoonroad/moonforth Forth to Lua transpiler\n - https://github.com/tjdevries/vim9jit vim9script to Lua transpiler\n\n","funding_links":[],"categories":["Others","Technical","Uncategorized","Scripting"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhengestone%2Flua-languages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhengestone%2Flua-languages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhengestone%2Flua-languages/lists"}