in reply to Re: Parsing BNF syntax diagrams..
in thread Parsing BNF syntax diagrams..

Of the top 100 RDBMS's by usage, I have heard of a single one that is truly SQL-92-compliant (or SQL-99-compliant, for that matter). Some are more compliant than others, but that's almost a matter of taste vs. compliance.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested

Replies are listed 'Best First'.
Re^3: Parsing BNF syntax diagrams..
by Solo (Deacon) on Aug 20, 2004 at 15:41 UTC
    Well, I said 'claims to be compliant' for that reason.

    At any rate, it seems no more difficult to me to adjust the BNF for SQL-92 than to create the BNF from the diagrams IBM provides. In one case you'd need to test thoroughly to find all the DB2 statements not in the standard or redefined for DB2, on the other you'd need to make sure you'd parsed the diagrams into BNF correctly.

    --Solo

    --
    You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.