SQL Parser

Nov 5, 2014 at 9:24 AM
Hi
I'm new on using Irony but i would like to use it and substitute my sql parser built on
Gold Parser engine ;-)
I've tried to see if there is an utility for converting a BNF source file into an Irony class.
The Gold parser grammar simple read a BNF file and is ready to be used.. what i have to do with Irony?
I've tried to use the SQL parser example but it doesn't work even with a simple statement
including more than one JOIN clause..

Please can you help me ?

Regards
Luigi
Coordinator
Nov 6, 2014 at 8:36 PM
the Gold parser reads not BNF file, but file with BNF encoded in custom BNF-like meta-language. Irony does not need this external encoding in metalanguage, you use c# directly, with operator overloading to encode the grammar. As for Join clause in SQL grammar - yes, it needs to be expanded, SQL sample is just a sample.