marser 0.1.2

Parser combinator toolkit with matcher-level backtracking and rich error reporting.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// AI assistance: this file was written with AI assistance. The maintainer reviewed it and did not find errors.

use marser::capture;

fn main() {
    let _p = capture!(bind!(
        marser::parser::SingleTokenParser::new('a'),
        x,
        x
    ) => x);
}