Chris Leishman indicated (in an
issue response) that this thread is the best place to make a case for the callback registration idea, ask for help, etc. So, here goes...
My immediate motivation has to do with some ideas I have for using Cypher in an
Elixir-based implementation of
Property Graphs. I'd like to use parsed (and possibly, optimized) queries as a way to specify actor-based graph algorithms. See
Cyphex for details.
Another use case has to do with extending and improving Cypher's syntax. For example, Cypher has very limited modularity. If I could access and modify the incoming Cypher query, I might be able to add "pattern variables", generalized macro processing, etc.
-r