nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated 'create_thread' function comments.
[nit.git]
/
contrib
/
nitcc
/
tests
/
if.sablecc
1
Grammar if;
2
Lexer
3
Parser
4
5
p = 'e' e | 'f' f;
6
7
e =
8
'if' e 'then' e else? |
9
'e' ;
10
else = 'else' e;
11
12
f =
13
'if' f 'then' f |
14
'if' f 'then' f 'else' f |
15
'f' ;