nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge: nitunit: Use markdown2
[nit.git]
/
contrib
/
nitcc
/
tests
/
lexer-implicit-longest-and-priority.sablecc
1
Grammar re;
2
Lexer
3
a='a';
4
anb='a' Lookahead Not 'b';
5
ab='ab'; //alt1 ab='DUMMY';
6
b='b';
7
blank=#10|#13|#32;
8
Parser
9
Ignored blank;
10
t = a | anb | ab | b;