RE: sql parser

2003-11-09 Thread Arcadius
Yes, the sql_yacc.y is used to generate the sql parser. The parser is used more to "run" the sql rather than to break it into its tokens. Using the lex files would be closer to your stated goals. The file lex.h in the same directory as sql_yacc.y contains all the tokens mysql uses to break

Re: sql parser

2003-11-09 Thread Jeremy Zawodny
On Sun, Nov 09, 2003 at 12:48:42AM -0600, Carl Karsten wrote: > > It looks like sql_yacc.y is what is used to define the syntax that > MySql uses. Yes. > It has been a while sense I took a compiler class, so forgive my > ignorance. is sql_yacc.y used to generate the parser which is then > compi

Re: SQL Parser woes

2001-07-17 Thread Gerald Clark
user() is a function. [EMAIL PROTECTED] wrote: >> Description: > > I try to run mysql in conjunction with Apple WebObjects5 (the >EnterpriseObjects Framework). > This framework generates certain SQL Statements which fail (see How-To-Repeat). > > >> How-To-Repeat: > >

Re: SQL Parser

2001-06-07 Thread Sinisa Milivojevic
Manish Chakrabarti writes: > I have a related question. I am looking for a pretty robust SQL parser which > is also > "transparent" in the sense that one can go into it and modify the query > processing parts (i.e. "actions")? > > Does MySQL source distribution include the lex/yacc files specifyi

Re: SQL Parser

2001-06-06 Thread Manish Chakrabarti
I have a related question. I am looking for a pretty robust SQL parser which is also "transparent" in the sense that one can go into it and modify the query processing parts (i.e. "actions")? Does MySQL source distribution include the lex/yacc files specifying the SQL grammar, and also are there