Skip to content

feat(parsing): Overhaul query parser for extended OpenCypher syntax and block parsing #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 14, 2025

Conversation

MichelDiz
Copy link
Member

This PR starts the OpenCypher support for Dgraph.

For now, it is just the AST. Under construction 🚧

…n clauses

- Added a new package `parsing` with functions to parse Neo4j query parts.
- Implemented `ParseMatchClause`, `ParseWhereClause`, and `ParseReturnClause` functions.
- Created a full dispatcher `ParseQueryParts` to handle the overall query parsing logic.
- Developed comprehensive unit tests for parsing functionality, covering valid and invalid cases.
- Updated tests to reflect changes in the abstract syntax tree (AST) structure for Match clauses.
@MichelDiz MichelDiz merged commit 3e5d5dd into main Apr 14, 2025
@MichelDiz MichelDiz deleted the cypher branch April 14, 2025 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant