diff options
Diffstat (limited to 'src/sexp/display.rs')
-rw-r--r-- | src/sexp/display.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sexp/display.rs b/src/sexp/display.rs index 238e8d4..96ce435 100644 --- a/src/sexp/display.rs +++ b/src/sexp/display.rs @@ -11,6 +11,18 @@ impl fmt::Display for SLeaf { Sub => "-".to_string(), Mul => "*".to_string(), Div => "/".to_string(), + Gt => ">".to_string(), + Lt => "<".to_string(), + Ge => ">=".to_string(), + Le => "<=".to_string(), + Eq => "=".to_string(), + Neq => "!=".to_string(), + And => "and".to_string(), + Or => "or".to_string(), + Not => "not".to_string(), + Xor => "xor".to_string(), + True => "true".to_string(), + False => "false".to_string(), Int(x) => x.to_string(), Var(s) => s.to_string(), Quote => "quote".to_string(), |