Cypher does not use ANTLR or similar separate external DSL system. Instead
it has it's own parser DSL written in scala, and this is embedded deep
within the cypher compiler codebase. The 'grammar file' as such then does
not exist, except as a large number of parser rules written in a scala DSL
created for this purpose. You can, of course, browse the code and read it
for yourself. Start at
https://github.com/neo4j/neo4j/blob/master/community/cypher/cypher-compiler-2.2/src/main/scala/org/neo4j/cypher/internal/compiler/v2_2/parser/CypherParser.scala


On Mon, Oct 20, 2014 at 11:34 AM, Alireza Rezaei Mahdiraji <
alireza...@gmail.com> wrote:

>
> Hi All,
>
> Which parser generator is used for Cypher, i.e., Antlr, etc.? Where can I
> find Cypher grammar file?
>
> Thanks,
> Alireza
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to