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
48ddc0bcee
Branches
Tags
No results found.
antlr
/
tool
/
playground
/
T.g
5 lines
91 B
Plaintext
Raw
Normal View
History
Unescape
Escape
couldn't get Horstmann's routine to do EPS not PS so had to backtrack.
2012-07-15 07:32:04 +08:00
grammar T;
reorg closure and fix bug where $ in arrayctx wouldn't perform global follow. fix case in array merge that didn't check both a[i], b[i] as $ (only matters in full ctx). unit tests for graph show fewer ctx's created.
2012-07-23 07:09:45 +08:00
stat : ifstat | 'x';
ifstat : 'if' stat ('else' stat)?;
WS : [ \n\t]+ -> skip ;