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

rigz_ast

AST parser for the rigz programming language

3 releases (breaking)

0.4.0 Nov 4, 2024
0.2.0 Oct 30, 2024
0.1.0 Oct 29, 2024

#239 in Programming languages

Download history 267/week @ 2024-10-28 146/week @ 2024-11-04

413 downloads per month
Used in 3 crates (2 directly)

MIT license

84KB
2K 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

~4.5MB
~60K SLoC