full_moon

Crates.iofull_moon
lib.rsfull_moon
version1.0.0-rc.5
sourcesrc
created_at2019-04-05 02:11:04.220826
updated_at2024-07-06 20:32:19.382666
descriptionA lossless Lua parser
homepage
repositoryhttps://github.com/Kampfkarren/full-moon
max_upload_size
id125906
size5,480,286
(JohnnyMorganz)

documentation

README

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.

Commit count: 355

cargo fmt