Finish out the basic primitives along with testing infra for both parsing and evalaution, with some slick Into<> impls to make Rust values Kraken values, which is esp useful for testing

This commit is contained in:
2023-02-08 23:37:23 -05:00
parent d861d91397
commit 02e359f42d
3 changed files with 159 additions and 32 deletions

View File

@@ -20,8 +20,8 @@ match {
")",
".",
"'",
r"[0-9]+" => NUM,
r"[a-zA-Z+*/_=-][\w+*/=_-]*" => SYM,
r"(;[^\n]*\n)|\s+" => { }
r"[0-9]+" => NUM,
r"[a-zA-Z+*/_=?%&|^-][\w+*/=_?%&|^-]*" => SYM,
r"(;[^\n]*\n)|\s+" => { }
}