Hey Steve, Can you tell me where the repository is located?
Thanks! Tuna Toksöz http://tunatoksoz.com http://turkiyealt.net http://twitter.com/tehlike Typos included to enhance the readers attention! On Tue, Feb 3, 2009 at 6:03 PM, Steve <[email protected]> wrote: > > Hi All, > > Thought you might appreciate a quick update on what I've been up to. > The last couple of weeks have been a pretty steep learning curve, and > although I'm sure there's a long way to go, I think I've also made > some progress. > > As discussed a week or two back, I am going down the path of initially > getting a robust AST implementation of the HQL parser. Once complete, > the LINQ integration should be somewhat easier and cleaner, since it's > just(!) a mapping from LINQ expressions to HQL ASTs. I've had a good > look at both the Artorius code and the original Hibernate > implementation, and before heading off down the Artorius route I > decided to have a go at porting the ANTLR code over from Hibernate to > C#. If successful, this should mean that this area of NHibernate > would be closely in sync with Hibernate 3.1, and hence it should be > easier for us to pick up bug fixes, enhancements etc. > > Hibernate has a two phase approach - the first is to parse to HQL > strings into an AST and the second is to do a transform of the HQL-AST > into a SQL-AST. Right now, I'm just working on the first bit, and > although I've still got a bunch to do, it has started to come to > life. For the simple query of "from Animal", I've now got the same > AST being created in C# as in Java :) > > I'll keep you posted with further progress, and also let you know > where you can take a look at the code once I get it hosted somewhere. > > Cheers, > > Steve > > >
