Monday, June 1, 2009

Sql parser issues that i had.

For the past few weeks, I have been trying to get the sql parser working. But the main issue I had was implementing the expression parsing logic in Javacc grammar. I had trouble with defining the non-terminals and was running into a lot of left recursion issues in Javacc. I finally moved all the logic to the Java classes and the parser simply passes all the tokens to the ExpressionBuilder class that I have written. This simplies the implementation quite a bit since I am not as well versed in Javacc as Java. 
I will post the SQL Parser shortly on Blitz DB page.