break out the parser and compiler into their own libraries

This commit is contained in:
2025-06-15 22:24:30 -07:00
parent 8280d45366
commit e32e941e14
9 changed files with 60 additions and 21 deletions

19
Cargo.lock generated
View File

@@ -241,6 +241,14 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
[[package]]
name = "compiler"
version = "0.1.0"
dependencies = [
"parser",
"quick-error",
]
[[package]]
name = "equivalent"
version = "1.0.2"
@@ -380,6 +388,15 @@ version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
[[package]]
name = "parser"
version = "0.1.0"
dependencies = [
"anyhow",
"quick-error",
"tokenizer",
]
[[package]]
name = "ppv-lite86"
version = "0.2.21"
@@ -600,6 +617,8 @@ version = "0.1.0"
dependencies = [
"anyhow",
"clap",
"compiler",
"parser",
"quick-error",
"rust_decimal",
"tokenizer",