diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-11-19 17:34:43 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-11-19 17:34:59 -0500 |
commit | 79a31f87b668f9ef67a8cd6bc7826031fe3be18e (patch) | |
tree | 0fc311198a30e37bb519bc1433e33def47bfb14f /lisp/src/ast.rs | |
parent | d5a1aa8daaf1371d6b0032636c5c668dea581a3b (diff) |
lisp testing
Diffstat (limited to 'lisp/src/ast.rs')
-rw-r--r-- | lisp/src/ast.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/src/ast.rs b/lisp/src/ast.rs new file mode 100644 index 0000000..8cac963 --- /dev/null +++ b/lisp/src/ast.rs @@ -0,0 +1,7 @@ +#[derive(Clone, Debug, PartialEq, Eq)] +pub enum Val { + Atom(String), + List(Vec<Self>), + I64(i64), + String(String), +} |