Open hagen666 opened 5 years ago
@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!
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: