Path: utzoo!attcan!uunet!snorkelwacker!apple!bionet!ames!eos!shelby!neon!kamens From: kamens@Neon.Stanford.EDU (Samuel N Kamens) Newsgroups: comp.databases Subject: WANTED -- SQL grammar (preferably for sybase) Keywords: yacc, SQL grammar Message-ID: <1990May27.230851.11245@Neon.Stanford.EDU> Date: 27 May 90 23:08:51 GMT Sender: kamens@Neon.Stanford.EDU (Samuel N Kamens) Organization: Computer Science Department, Stanford University Lines: 17 I am doing a project in Sybase SQL, and it looks like I'll have to write a preprocessor. I'd like to do it by parsing the input using yacc. However, I don't have a copy of a yacc grammar for SQL, and I'd rather not spend lots of time writing one. Does anyone have a yacc-type grammar for SQL? I don't need any actual actions, just the "bare" form into which I can put my own actions. If you don't have a sybase version, anything will do. Thanks in advance, -- Sam Kamens | "What is the air speed velocity of an unladen kamens@neon.stanford.edu | swallow?"