aboutsummaryrefslogtreecommitdiff
path: root/src/sexp/mod.rs
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2025-07-29 14:37:06 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2025-07-29 14:37:06 +0300
commit8e2ca4bbc356d87ff5a37f20bea4f5b3cc561041 (patch)
tree4835ec5c872feb98e0dccd14517516c33895d5d2 /src/sexp/mod.rs
parent69bcc7d4d306d1c8a7596ae13641ffe479d98dcc (diff)
downloadmyslip-8e2ca4bbc356d87ff5a37f20bea4f5b3cc561041.tar.gz
myslip-8e2ca4bbc356d87ff5a37f20bea4f5b3cc561041.zip
Added Nil and modified tests to make this more of a list interpreter rather than just a do-what-you-want-with-s-expressions thing
Diffstat (limited to 'src/sexp/mod.rs')
-rw-r--r--src/sexp/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sexp/mod.rs b/src/sexp/mod.rs
index dee672f..3dbcbb5 100644
--- a/src/sexp/mod.rs
+++ b/src/sexp/mod.rs
@@ -17,6 +17,7 @@ pub enum SLeaf {
Div,
Int(i32),
Var(String),
+ Nil,
}
/// An S-Expression; the defining structure of the language.