This project has moved and is read-only. For the latest updates, please go here.

AST for SQL Example

Nov 10, 2011 at 1:46 PM


is there somewhere an example what should I do to generate an AST from SQL?

Nov 10, 2011 at 5:06 PM

Do you mean - how to add generating AST to SQL grammar sample? 

Look at expression evaluator grammar - you need to specify AST node types on non-terminals, just follow the pattern.


Nov 10, 2011 at 6:56 PM

Thank you for the answer