Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!hsdndev!spdcc!iecc!compilers-sender From: gsteckel@East.Sun.COM (Geoff Steckel - Sun BOS Hardware CONTRACTOR) Newsgroups: comp.compilers Subject: Re: SQL grammar Keywords: SQL, parse, yacc Message-ID: <3997@eastapps.East.Sun.COM> Date: 20 Jan 91 23:14:40 GMT References: <2830@mtecv2.mty.itesm.mx> Sender: compilers-sender@iecc.cambridge.ma.us Reply-To: gsteckel@East.Sun.COM (Geoff Steckel - Sun BOS Hardware CONTRACTOR) Organization: Omnivore Technology, Newton, Mass. (617)969-3448 Lines: 10 Approved: compilers@iecc.cambridge.ma.us 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.