kast-ast 0.1.0

ast parser for kast
Documentation
1
2
3
4
5
6
7
8
9
syntax then -> 0 = _ ";" _;
syntax then -> 0 = _ ";";

syntax add <- 20 = lhs "+" rhs;
syntax sub <- 20 = lhs "-" rhs;
syntax mul <- 30 = lhs "*" rhs;
syntax call <- 50 = f args;

syntax scoped <- 1000 = "(" e ")";