Commit aca5184
committed
Extract the Cypher parser into the standalone cypher-parser crate
Move the graph-independent Cypher front-end (lexer, recursive-descent
parser, AST, and error type) out of rubydex and depend on the standalone,
published `cypher-parser` crate from crates.io. The `rubydex` crate
re-exports the modules from `query::cypher`, so the executor, schema,
formatting, and tests keep their existing paths unchanged.
This separates the language front-end (parse a query string into an AST)
from execution against the rubydex graph, and lets the parser be
versioned, tested, and reused independently. Parser unit tests live in
the cypher-parser crate; rubydex keeps the executor and end-to-end tests.1 parent 13f37ec commit aca5184
8 files changed
Lines changed: 14 additions & 1106 deletions
File tree
- rust
- rubydex
- src/query/cypher
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments