mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-18 23:52:51 -06:00
top-level toy compiler - far from complete
This commit is contained in:
@@ -36,10 +36,11 @@ ETab. Exp1 ::= "table" "{" [Case] "}" ;
|
||||
ETbv. Exp1 ::= "table" "(" Type ")" "{" [Exp] "}" ;
|
||||
ECat. Exp ::= Exp "++" Exp1 ;
|
||||
EAbs. Exp ::= "\\" Ident "->" Exp ;
|
||||
ECst. Exp2 ::= "(" Ident "@" [Exp] ")" ;
|
||||
|
||||
coercions Exp 2 ;
|
||||
|
||||
separator Exp ";" ;
|
||||
separator Exp "," ;
|
||||
|
||||
FExp. Assign ::= Ident "=" Exp ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user