Debian Codegraph @

lib/mllpt-lib/ml-lpt/ml-antlr/examples/inherit/b.grm

raw
1 %import "a.grm" %dropping stmt, exp;
2
3 %tokens
4 : REAL of real
5 | TIMES ("*")
6 ;
7
8 exp
9 : multExp ("+" multExp)*
10 ;
11
12 multExp
13 : atomicExp ("*" atomicExp)*
14 ;
15
16 atomicExp
17 : REAL
18 ;