56 releases (8 stable)

2.1.1 Jan 23, 2026
2.1.0 Nov 27, 2025
2.0.0 Apr 21, 2025
1.2.0 Jan 10, 2025
0.3.1 Jun 2, 2019

#127 in Parser implementations

Download history 10995/week @ 2025-10-19 6438/week @ 2025-10-26 5944/week @ 2025-11-02 5550/week @ 2025-11-09 7225/week @ 2025-11-16 8251/week @ 2025-11-23 7251/week @ 2025-11-30 5734/week @ 2025-12-07 9120/week @ 2025-12-14 4184/week @ 2025-12-21 3501/week @ 2025-12-28 4927/week @ 2026-01-04 6963/week @ 2026-01-11 7008/week @ 2026-01-18 8530/week @ 2026-01-25 13906/week @ 2026-02-01

36,908 downloads per month
Used in 29 crates (21 directly)

MPL-2.0 license

465KB
11K SLoC

Full Moon

A lossless Lua 5.1 / 5.2 / 5.3 / 5.4 / Luau parser written in Rust.

Lossless?

Full Moon preserves comments, whitespace, style choices, etc. With Full Moon, you're able to convert your Lua code into an AST and a syntax tree and convert it back to the original code exactly.

Using Full Moon, you'll be able to modify the AST directly and re-export it back to Lua, all while preserving the style in which you write.

Why?

Full Moon is usable in projects such as:

Inspiration

Full Moon is heavily inspired by LPGhatguy's mab and by the possibilities brought on by benjamn's recast.

Dependencies

~1.6–2.3MB
~44K SLoC