-
Notifications
You must be signed in to change notification settings - Fork 147
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
Why is pipeline used to define Expression rule? #380
Comments
@hagen666 I can not directly see a reason where either of these is more expressive, which indicates that it may only be a matter of style. You could try to rewrite the source definitions and issue a PR, to see if the tests still pass. The file you'd need to edit is this one: https://github.com/opencypher/openCypher/blob/master/grammar/basic-grammar.xml#L188-L314 |
OK. I'll have a try! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I read the Cypher.g4 file and have many questions.
One is about the Expression.
It seems that the oC_Expression rule use a pipeline:
What's the advantage of the pipeline rules?
Why not use the rules like this?
For example, BooleanExpression:
The text was updated successfully, but these errors were encountered: