Yacc grammar for SQL
Posted in 1994
James Petry — — source: Informix-list mailing list archive (1991-1998)
The SQL grammar on ftp.uu.net is a bit hard to find. Here is its location. ftp.uu.net:/archive/published/oreilly/nutshell/lexyacc/progs.tar.Z This file contains all the examples from the O'Reilly Nutshell book, including the SQL grammar. One thing, Informix have "enhanced" :-) their own ANSI SQL so I found some of the code that I thought was ANSI and worked with Informix failed to parse with these grammars. I have rewritten it to comply with the real standard. -- James Petry. AT&T ISTEL james@nikki.demon.co.uk, james_petry@iconex.mactel.org