Skip to content

wenyanxiang01/full-moon

This branch is 1 commit ahead of, 45 commits behind Kampfkarren/full-moon:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc90e61 · Oct 8, 2023
Dec 26, 2022
Jan 4, 2023
Jan 17, 2020
Feb 9, 2023
Oct 8, 2023
Mar 27, 2019
Sep 14, 2020
Oct 4, 2019
Sep 30, 2023
Apr 30, 2020
Sep 14, 2020
Sep 14, 2020
Sep 17, 2022
Mar 24, 2019

Repository files navigation

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.

About

A lossless Lua 5.1 parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 84.6%
  • Lua 15.4%