diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-16 03:25:45 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-16 03:25:45 +0300 |
commit | 4daf7b149622a16a2271630a19f0833702477a86 (patch) | |
tree | bc09cbc387ab4e551557f94b67c72e7095a07658 /src/parse/parsetree.rs | |
parent | fad9bf51e9ecd48473046a5e7bb9b5005893ae89 (diff) | |
download | myslip-4daf7b149622a16a2271630a19f0833702477a86.tar.gz myslip-4daf7b149622a16a2271630a19f0833702477a86.zip |
feat: vector concatenation
Diffstat (limited to 'src/parse/parsetree.rs')
-rw-r--r-- | src/parse/parsetree.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/parsetree.rs b/src/parse/parsetree.rs index bd15e79..c773f3b 100644 --- a/src/parse/parsetree.rs +++ b/src/parse/parsetree.rs @@ -119,6 +119,7 @@ fn tokens_to_ast_inner( Some(Sym(s)) if s == "false" => Ok(Atom(False)), Some(Sym(s)) if s == "quote" => Ok(Atom(Quote)), Some(Sym(s)) if s == "vector" => Ok(Atom(Vector)), + Some(Sym(s)) if s == "<>" => Ok(Atom(Concat)), Some(Sym(s)) if s == "print" => Ok(Atom(Print)), Some(Sym(s)) if s == "let" => Ok(Atom(Let)), Some(Sym(s)) if s == "fn" => Ok(Atom(Fun)), |