A brief update on the LINQ to NHibernate work that I'm doing at the mo (previous post here if you need a refresh).
Over the last few days, I've been working on test cases for the HQL string -> HQL AST part of the parser. I had a great start from Fabio, who had already compiled a vast number of queries that show pretty much the whole HQL language, so it was just a case of getting my fledgling parser to actually process them all.
The good news is that it has been a relatively painless process, and we now have 816 tests, with each test pushing a query through the parser and checking that the resultant AST matches the tree that the Hibernate implementation creates. I'm pretty happy with that - although I don't doubt that there are still a couple of gremlins to catch, it does give me a good deal of confidence that this part of the project is in pretty good shape.
Onto the HQL AST -> SQL AST processing - stay tuned!