about summary refs log tree commit diff
path: root/src/fix-ng/fix.sdf
diff options
context:
space:
mode:
Diffstat (limited to 'src/fix-ng/fix.sdf')
-rw-r--r--src/fix-ng/fix.sdf9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fix-ng/fix.sdf b/src/fix-ng/fix.sdf
index cae5d2748e1d..251a63f0c5fb 100644
--- a/src/fix-ng/fix.sdf
+++ b/src/fix-ng/fix.sdf
@@ -47,6 +47,9 @@ exports
     "rec" "{" {Bind ","}* "}"
     -> Expr {cons("Rec")}
 
+    "let" "{" {Bind ","}* "}"
+    -> Expr {cons("LetRec")}
+
     "{" {Bind ","}* "}"
     -> Expr {cons("Attrs")}
 
@@ -59,6 +62,12 @@ exports
     Expr "." Id
     -> Expr {cons("Select")}
 
+    "if" Expr "then" Expr "else" Expr
+    -> Expr {cons("If")}
+
+    Expr "==" Expr
+    -> Expr {cons("OpEq")}
+
   context-free priorities
 
     Expr "." Id -> Expr