forked from GitHub/gf-core
13 lines
261 B
CFEngine3
13 lines
261 B
CFEngine3
Grm. Grammar ::= [RExp] ;
|
|
|
|
App. RExp ::= "(" CId [RExp] ")" ;
|
|
AId. RExp ::= CId ;
|
|
AInt. RExp ::= Integer ;
|
|
AStr. RExp ::= String ;
|
|
AFlt. RExp ::= Double ;
|
|
AMet. RExp ::= "?" ;
|
|
|
|
terminator RExp "" ;
|
|
|
|
token CId (('_' | letter) (letter | digit | '\'' | '_')*) ;
|