home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / 8873 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.5 KB  |  37 lines

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