From 8463dd24f815fe2b8f25fe9763e0a43023bfbb20 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 23 Dec 2022 00:36:31 +0800 Subject: renaming core to chain and some other changes Some changes: - The core crate is renamed to "chain". - The crate "viz" is added, which will provide layered graph drawing algorithms. - A function is added to convert from a grammar to the regular language of its left-linear closures. - A function is added to convert from a nondeterministic finite automaton to its "null" closure. A null closure is the same automaton with edges added, as if some edges are "null". Whether an edge is null is determined by a function. Combined with the previous change, we can convert a grammar to the regular language of the null closure of its left-linear closures. --- Now it remains to test more grammars and add an Atom trait, before finishing the part about compilations. --- Cargo.toml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e672e74..77de27f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,24 +13,13 @@ rust-version = "1.65" # testing the new resolver, even though this has no dependencies ;p [workspace] -members = ["graph", "receme", "nfa", "repcore"] +members = ["graph", "receme", "nfa", "chain", "viz"] resolver = "2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -receme = { path = "receme" } - -[dev-dependencies] -criterion = "0.4" [features] default = [] tokenizer = [] - -[profile.bench] -debug = true - -[[bench]] -name = "bench_receme" -harness = false -- cgit v1.2.3-18-g5258