antlr-rust-runtime 0.15.2

High performance Rust runtime and target support for ANTLR v4 generated parsers
Documentation
1
2
3
4
5
6
7
8
9
10
11
parser grammar ParserLeftRecursion;

tokens { INT, STAR, PLUS }

start : expression EOF ;

expression
    : INT
    | expression STAR expression
    | expression PLUS expression
    ;