Remove case expressions
This commit is contained in:
parent
4ab6681f68
commit
f485ca9762
1 changed files with 0 additions and 5 deletions
|
|
@ -7,11 +7,6 @@ ELet. Exp3 ::= "let" Bind "in" Exp;
|
||||||
EApp. Exp2 ::= Exp2 Exp3;
|
EApp. Exp2 ::= Exp2 Exp3;
|
||||||
EAdd. Exp1 ::= Exp1 "+" Exp2;
|
EAdd. Exp1 ::= Exp1 "+" Exp2;
|
||||||
EAbs. Exp ::= "\\" Ident ":" Type "." Exp;
|
EAbs. Exp ::= "\\" Ident ":" Type "." Exp;
|
||||||
ECase. Exp ::= "case" Exp "of" "{" [CaseMatch] "}";
|
|
||||||
CaseMatch. CaseMatch ::= Case "=>" Exp ;
|
|
||||||
separator CaseMatch ",";
|
|
||||||
|
|
||||||
CInt. Case ::= Integer ;
|
|
||||||
|
|
||||||
Bind. Bind ::= Ident ":" Type ";"
|
Bind. Bind ::= Ident ":" Type ";"
|
||||||
Ident [Ident] "=" Exp;
|
Ident [Ident] "=" Exp;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue