Ross ROSS = Recommend OSS · open-source software intelligence for agents

leafo/moonscript

:crescent_moon: A language that compiles to Lua observed · 2026-08-28

github.com/leafo/moonscript · homepage · C observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 97
  • Release rhythm 63
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 197
  • age_days: 5581
  • days_rel: 38
  • days_push: 20
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

3461 stars · 199 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

MoonScript is a programmer-friendly dynamic scripting language with significant whitespace, classes, and comprehensions that compiles to Lua 5.1+ and LuaJIT. It ships as a self-hosted compiler with CLI tools, a moonloader for runtime compilation, and a native C parser generated from a pgen grammar.

Use cases

  • write Lua code with cleaner syntax
  • compile a language to Lua
  • use classes and inheritance in Lua
  • run MoonScript files directly from the command line
  • dynamically load and compile MoonScript at runtime with moonloader
  • target LuaJIT with a friendlier language

When to choose

  • you want a cleaner, whitespace-significant syntax on top of Lua
  • you need full compatibility with existing Lua libraries and LuaJIT
  • you're building Lapis web apps or games on the Lua ecosystem

When to avoid

  • you need plain Lua output you can hand-edit and maintain
  • your team only knows Lua and won't learn a new language
  • you need a language with active, frequent development

Facets

cli-tool · maturity maintenance

compiler parser programming-language cli programming-languages compilers parsers developer-tools lua cpp windows cli transpiler moonscript lua significant-whitespace self-hosted luajit-compatible pgen command-line linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
leafo/moonscriptmain86

For agents

markdown · JSON · MCP: product_card(name="leafo/moonscript")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem