This website requires JavaScript.
Explore
Help
Sign In
jasder
/
antlr
Watch
1
Star
0
Fork
You've already forked antlr
1
Code
Issues
Pull Requests
Releases
1
Wiki
Activity
9a0aaacbee
antlr
/
tool
/
playground
/
T.g
7 lines
91 B
Plaintext
Raw
Normal View
History
Unescape
Escape
cleaned up; mv'd stuff to parser. reorg to have lexer in controller [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8794]
2011-06-29 09:51:39 +08:00
grammar T;
rm k=1 chk to report early ambiguity.
2012-03-17 05:11:21 +08:00
s : f f EOF;
f : | x;
x : 'a' 'b';
make T.g same
2012-03-15 04:20:24 +08:00
INT : '0'..'9'+;
WS : (' '|'\n') {skip();} ;