#ast #ast-parser #rigz #puts

rigz_parse

AST parser for rigz

1 unstable release

0.0.1 May 11, 2024

#2 in #rigz

Download history 137/week @ 2024-05-06 23/week @ 2024-05-13

160 downloads per month
Used in 2 crates (via rigz_runtime)

MIT license

19KB
518 lines

rigz parse

AST Parsing for rigz, see grammar.pest for the full grammar.

Example Syntax

Hello World

puts 'Hello World'

Fictional Policy Language

allow {
    variables {
        account = :valid_account 
    }
}

Fictional Policy Language (Part 2)

deny {
    variables {
        account = unless :valid_account 
    }
}

Dependencies

~2.5–3.5MB
~69K SLoC