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
1504c2f8f3
antlr
/
tool
/
playground
/
T.g
6 lines
36 B
Plaintext
Raw
Normal View
History
Unescape
Escape
playwith grammar
2012-08-06 00:51:52 +08:00
grammar T;
added ALIAS_REASSIGNMENT warning so redef of string literal among rules caught. First literal goes to .tokens.
2012-07-29 05:24:39 +08:00
rm T='literal' in tokens { }. Also it's comma-separated not ';' terminated now. tokens { A,B }
2012-09-07 05:50:44 +08:00
tokens { A,B }
grammar option cleanup. was a mess. -Doption=value works to override grammar options on cmd-line now.
2012-09-06 09:37:28 +08:00
s : A ;