Subject Re: [ib-support] lex/yacc grammar for interbase/firebird?
Author Ann W. Harrison
At 01:01 PM 9/11/2001 +0000, j_lobaugh@... wrote:
>Has anyone got a lex/yacc grammar for our favourite database? I have
>access to the one in the Lex and Yacc book but was wondering if
>anyone had one worked out with the additional interbase keywords?
>Thanks in advance.

InterBase uses its own lexical analyzer - lex was considered somewhat
overweight for its utility - but DSQL uses yacc. You might look at
the files dsql/preparse.c and dsql/parse.y at source forge.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/firebird/interbase/dsql/


Regards,

Ann
www.ibphoenix.com
We have answers.