marser 0.1.0

Parser combinator toolkit with matcher-level backtracking and rich error reporting.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    if true {
        let x = 1;
        print(x);
        return 0;
    } else {
        return 1;
    }
    while false {
        print(2);
    }
    return 2;
}