#ast #ast-parser #rigz #programming #language

rigz_ast

AST parser for the rigz programming language

4 releases (breaking)

new 0.5.0 Jan 10, 2025
0.4.0 Nov 4, 2024
0.2.0 Oct 30, 2024
0.1.0 Oct 29, 2024

#257 in Programming languages


Used in 3 crates

MIT license

125KB
3K SLoC

rigz_ast

Generate an AST for a given input.

Usage

// Create a parser
fn parse() {
    let input = "2 + 2";
    let mut parser = Parser::prepare(input).expect("Invalid Tokens");
    let program = parser.parse().expect("Failed to parse");
}

Dependencies

~5–12MB
~121K SLoC