[comp.compilers] SQL grammar

john@newave.mn.org (John A. Weeks III) (01/21/91)

In article <2830@mtecv2.mty.itesm.mx> the moderator comments:
>[...Someone asked for a yacc grammar last November but I saw no responses...]

The SQL parser & yacc grammar were posted to alt.sources about a week after
the question last November.  If you cannot find it in any archive by FTP,
send me E-Mail.  I will dig it off of a back-up tape.

-john-

-- 
John A. Weeks III              (612) 942-6969               john@newave.mn.org
NeWave Communications                ...uunet!rosevax!tcnet!wd0gol!newave!john
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.

gsteckel@East.Sun.COM (Geoff Steckel - Sun BOS Hardware CONTRACTOR) (01/21/91)

I know of one (proprietary) SQL yacc grammar but it's really twisty -
multiple nested grammars, 1000+ productions & a nasty lexer-parser
interface.  It's about as bad a grammar as you can get and still make
it possible to parse systematically.

	geoff steckel (gwes@wjh12.harvard.EDU)
			(...!husc6!wjh12!omnivore!gws)
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.

pardo@cs.washington.edu (David Keppel) (02/12/91)

jesanche@mtecv2.mty.itesm.mx (Jesus Eugenio Sanchez) writes:
>[I'm looking for a Yacc/Bison grammar file for SQL.]

Our moderator (John Levine) writes:
>[Somebody asked in November, but I saw no responses.]

I've been told that a NON-pd SQL grammar is included with PC-YACC.
I don't have any pricing information and I don't know what the
redistribution rules are, but I was given an address:

	ABRAXAS Software
	7033 S.W. Macadam Ave.
	Portland, OR 97219

If you are interested, you may want to call or write for more
information.  If you learn anything useful, please tell us!

Disclaimer: I know of no way with which I'm associated with ABRAXAS.

    ;-D on  ( I'd ask my database if I could query it! )  Pardo
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.