Implement basic tree sitter parsing

This commit is contained in:
Jeff 2023-09-28 15:56:32 -04:00
parent 56be65a43c
commit 7c6a707d02
2 changed files with 158 additions and 1264 deletions

1391
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ repository = "https://github.com/tree-sitter/tree-sitter-dust"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
build = "runtime/build.rs" build = "bindings/dust/build.rs"
include = [ include = [
"bindings/rust/*", "bindings/rust/*",
"grammar.js", "grammar.js",
@ -18,16 +18,33 @@ include = [
[[bin]] [[bin]]
name = "main" name = "main"
path = "runtime/main.rs" path = "bindings/dust/src/main.rs"
[lib] [lib]
path = "runtime/lib.rs" name = "dust_lib"
path = "bindings/dust/src/lib.rs"
[dependencies] [dependencies]
clap = "4.4.4" ansi_term = "0.12.1"
dust-lang = "0.1.2" chrono = "0.4.31"
rustyline = "12.0.0" clap = { version = "4.4.4", features = ["derive"] }
tree-sitter = "~0.20.10" comfy-table = "7.0.1"
csv = "1.2.2"
eframe = "0.22.0"
egui = "0.22.0"
egui_extras = "0.22.0"
git2 = "0.18.1"
json = "0.12.4"
rand = "0.8.5"
rayon = "1.8.0"
reqwest = { version = "0.11.20", features = ["blocking", "json"] }
rustyline = { version = "12.0.0", features = ["derive", "with-file-history"] }
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
sysinfo = "0.29.10"
toml = "0.8.1"
trash = "3.0.6"
tree-sitter = "0.20.10"
[build-dependencies] [build-dependencies]
cc = "1.0" cc = "1.0"