55 releases (7 stable)

2.1.0 Nov 27, 2025
2.0.0 Apr 21, 2025
1.2.0 Jan 10, 2025
1.1.2 Nov 17, 2024
0.3.1 Jun 2, 2019

#136 in Parser implementations

Download history 7779/week @ 2025-09-25 6896/week @ 2025-10-02 6230/week @ 2025-10-09 7488/week @ 2025-10-16 10124/week @ 2025-10-23 6585/week @ 2025-10-30 5338/week @ 2025-11-06 5828/week @ 2025-11-13 8487/week @ 2025-11-20 7811/week @ 2025-11-27 6336/week @ 2025-12-04 9289/week @ 2025-12-11 4920/week @ 2025-12-18 3264/week @ 2025-12-25 4270/week @ 2026-01-01 6519/week @ 2026-01-08

21,131 downloads per month
Used in 28 crates (20 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

~3.5MB
~71K SLoC