mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 00:39:32 -06:00
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 | '\'' | '_')*) ;
|