Lua Compiler

Open-source Lua projects categorized as Compiler

Top 5 Lua Compiler Projects

  1. tl

    The compiler for Teal, a typed dialect of Lua

    Project mention: The Teal Programming Language | news.ycombinator.com | 2025-05-15

    Teal creator here! Thank you for the kind words, super happy to see people being productive with it!!

    On your wishlist items:

    1. There are a few third-party projects that bundle Lua code. One that comes to mind is https://lrocket.codeberg.page/ — I don't know if this functionality should be brought into Teal itself, it sounds to me like something better left to the surrounding tooling?

    2. Unfortunately those annoyances are part of the heterogeinity of the Lua ecosystem, but Teal tries to paper over them using the compat53 library (which, granted, is not available everywhere if you want to do a pure-Lua deployment on existing Lua environments). The --gen-target and --gen-compat flags should still help some, hopefully!

    3. Not sure what you mean there -- you mean adding chunks of untyped Lua _in the same file_? I think that if you have a json.lua and a json.d.tl file, then it should use the definition file only and leave the .lua file alone. At least that's the intended behavior!

    4. That's up to GitHub :) Last time I checked their docs I think they want something like 100 or 200 projects using the language for considering adding native highlighting for it on the website. But you can add a .gitattributes file to the root of your repository like this https://github.com/teal-language/tl/blob/master/.gitattribut... and at least it will display .tl files with .lua highlighting.

    Again, thank you so much for the feedback!

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. nelua-lang

    Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.

    Project mention: The evolution of Lua, continued [pdf] | news.ycombinator.com | 2025-10-07

    There is also nelua (https://nelua.io/) which can use WASM to compile allow its usage in the browser: https://github.com/edubart/nelua-game2048/

  4. compiler.nvim

    Neovim compiler for building and running your code without having to configure anything

  5. LuaRT-Studio

    Lua 5.4 IDE for Windows with debugger and script to executable compiler

  6. rtc

    Lua script to executable compiler (by samyeyo)

  7. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Lua Compiler discussion

Lua Compiler related posts

Index

What are some of the best open-source Compiler projects in Lua? This list will help you:

# Project Stars
1 tl 2,637
2 nelua-lang 2,322
3 compiler.nvim 638
4 LuaRT-Studio 98
5 rtc 83

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Lua is
the 19th most popular programming language
based on number of references?