Expand description

Full Moon

full_moon is a lossless parser for Lua 5.1 Learn more by going to the repository


Utilities for ASTs (Abstract Syntax Trees). Contains all nodes used by Full Moon (such as blocks).

Contains the Node trait, implemented on all nodes

Used for tokenizing, the process of converting the code to individual tokens. Useful for getting symbols and manually tokenizing without going using an AST.

Used to create visitors that recurse through Ast nodes.


A string as used in TokenType.


An error type that consists of both AstError and TokenizerError Used by parse


Creates an Ast from Lua code

Prints back Lua code from an Ast