aboutsummaryrefslogtreecommitdiff
path: root/Sil/Syntax.icl
diff options
context:
space:
mode:
Diffstat (limited to 'Sil/Syntax.icl')
-rw-r--r--Sil/Syntax.icl23
1 files changed, 14 insertions, 9 deletions
diff --git a/Sil/Syntax.icl b/Sil/Syntax.icl
index 53384b3..65cb5c5 100644
--- a/Sil/Syntax.icl
+++ b/Sil/Syntax.icl
@@ -44,15 +44,20 @@ where
instance toString Op2
where
- toString Add = "+"
- toString Sub = "-"
- toString Mul = "*"
- toString Div = "/"
- toString Rem = "%"
- toString Equals = "=="
- toString LogOr = "||"
- toString LogAnd = "&&"
- toString Cons = ":"
+ toString Add = "+"
+ toString Sub = "-"
+ toString Mul = "*"
+ toString Div = "/"
+ toString Rem = "%"
+ toString Equals = "=="
+ toString Unequals = "<>"
+ toString CmpLe = "<="
+ toString CmpGe = ">="
+ toString CmpLt = "<"
+ toString CmpGt = ">"
+ toString LogOr = "||"
+ toString LogAnd = "&&"
+ toString Cons = ":"
instance toString Literal
where