Author Login
Post Reply
Hello,
I was wondering what the state was on implementing the new HQL parser, it seems Oren Eini was working on it at some point:
http://www.ayende.com/Blog/archive/2007/08/11/HQL-Parser-Progress.aspx
http://www.ayende.com/Blog/archive/2007/08/11/Working-with-ANTLR-HQL-Grammar.aspx
But the repository used on
https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/experiments/Hql
looks pretty dead and haven't been touched for 6 months?
On this list the last mention of it was Aaron Jensen saying this(around the same time the experiment repository went silent):
"OK, I've successfully converted the grammar over to ANTLR3/C# by hand.
It seems to build and parse stuff just fine. I stopped writing good tree rewrite rules at the atom rule because I got tired and just wanted to see if things parsed.
Next step is to work on the tree grammar. Hibernate actually walks over the tree grammar and builds another SQL AST. From that AST, they use another ANTLR walker to build the SQL... it's a ton of code."
Have any progress been made since then? I would like to try to help in this area as I have some experience and wrote my thesis about compiler construction a couple of years back. (Not saying I'm a champ but I could perhaps do some of the footwork and then it could be used or discarded).
And by the way any special arguments for choosing ANTLR as parser generator other than it's the one used in Hibernate?
--
Best regards,
Jakob Andersen
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development