home *** CD-ROM | disk | FTP | other *** search
- Sender: Postmaster@iecc.cambridge.ma.us
- Newsgroups: comp.databases
- Path: sparky!uunet!think.com!spdcc!iecc!mailgateway
- Subject: Re: yacc/lex for SQL ?
- References: <C0FMJz.KI6@bt-sys.bt.co.uk>
- Organization: I.E.C.C.
- Date: 7 Jan 93 01:39:40 EST (Thu)
- From: johnl@iecc.cambridge.ma.us (John R. Levine)
- Message-ID: <9301070139.AA01000@iecc.cambridge.ma.us>
- Lines: 25
-
- In article <C0FMJz.KI6@bt-sys.bt.co.uk> you write:
- >Has any one got a yacc/lex for SQL, I am not really looking
- >for a complete syntax, any basicly working yacc/lex for simple(ish)
- >sql will do ?
-
- You can find a complete grammar in the comp.compilers archive for FTP
- at primost.cs.wisc.edu or via mail server at
- compilers-server@iecc.cambridge.ma.us.
-
- I also shamelessly recommend this book (which I think is wonderful, but
- since I wrote a lot of it and edited the rest, I would) one of the chapters
- of which is explains a full lex/yacc SQL parser in gruesome detail. The
- code for that is at uunet with all the other Nutshell code.
-
- John R. Levine, Tony Mason, and Doug Brown, ``Lex & Yacc,'' 2nd Edition,
- O'Reilly and Associates, 1992, ISBN 1-56592-000-7, $29.95.
-
- In the U.S. and Canada it's available at bookstores or direct from the
- publisher, phone (800) 338-NUTS. Elsewhere it's distributed by
- Addison-Wesley. If you can't get it locally, I can provide some names of
- U.S. bookstores that have it in stock and accept international orders by
- fax or e-mail.
-
- Regards,
- John Levine, johnl@iecc.cambridge.ma.us, {spdcc|ima|world}!iecc!johnl
-