Skip to content

Commit

Permalink
Remove unnecessary runtime dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oovm committed Oct 13, 2023
1 parent 73b3dbd commit 3604ee1
Show file tree
Hide file tree
Showing 35 changed files with 3,440 additions and 3,745 deletions.
2 changes: 1 addition & 1 deletion projects/dejavu-parser/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ use yggdrasil_shared::codegen::RustCodegen;
fn main() {
let grammars = std::path::Path::new("grammars/").canonicalize().unwrap();
let builder = RustCodegen::default();
builder.generate(include_str!("grammars/dejavu.ygg"), "src/dejavu").unwrap();
builder.generate(include_str!("grammars/nexus"), "src/nexus").unwrap();
println!("cargo:rerun-if-changed={}", grammars.display());
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
grammar Dejavu {
grammar Nexus {
file: '*.djv'
}

Expand Down Expand Up @@ -32,10 +32,10 @@ class TEXT_WORD {
// === template token === ----------------------------------------------------------------------------------------------
@style(operator)
atomic class TEMPLATE_L {
'<%' SPACE_CONTROL
'<%' SPACE_CONTROL?
}
atomic class TEMPLATE_R {
SPACE_CONTROL '%>'
SPACE_CONTROL? '%>'
}
union SPACE_CONTROL {
| '_' #A
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Title
=====



```shell
cargo doc --package build_by_script --no-deps --open
```
480 changes: 0 additions & 480 deletions projects/dejavu-parser/src/dejavu/parse_cst.rs

This file was deleted.

Loading

0 comments on commit 3604ee1

Please sign in to comment.