Athanasios Anastasiou
--
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+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I don't think so, the parser is implemented in scala. Feel free to look through the source.
/peter
(snt)-[:frm]->(phn)
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/sglGwRnqlg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
<todo_20130625_170648.txt><cypher_diagram.xhtml><README.MD><cypher.bnf>
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/sglGwRnqlg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
The end-goal would be to add a Cypher interface to Networkx
Hi i also would be very interested in having a formal definition of the Cypher Query Language of the new 2.* versions of Neo4j. This then could be used to create a parser and a querybuilder. Does the current version of the BNF support labels?
Hello there
Thank you for your message, the notation is W3C ebnf as understood by http://www.bottlecaps.de/rr/ui which at the moment is the primary "consumer" of the definition. Can i ask what are you building your parser with?
All the best
AA
Hello
Thanks for the information. Can i ask what is your objective? What is it that you are trying to achieve with this?
As far as syntax is concerned i think that definitions are in place for almost all constructs of the language. However,some of the rules have been inferred from examples and so, there might exist a case that has not been taken into account.
However this is still only a small proportion of the work that would be required to build something that understands and executes cypher.
Extremely briefly, what you would have to do would be to look for the verbs of the language and implement them as functions with parameters. For example a START will create a simple set (of starting point nodes or rels) and a MATCH with its parameters (node-rel pattern) would filter this set.
The current set of definitions can help you parse these constructs but at the moment does not contain the interpertation part.
I have put a little bit more effort into this towards a pyparsing version which would be able to handle some of the interpertation as well using networkx but its too pre-alpha and i am still embarassed to add it to the repo :)
Hope this helps. If you find the defs useful and even expand them, please let me know and we'll get to add them, with appropriate acknowledgments of course, along with the rest.
All the best
Athanasios Anastasiou