SQL grammar problem with Visual Parse++

"John" <junk@junk.com>
23 Jul 2001 02:25:29 -0400

          From comp.compilers

Related articles
SQL grammar problem with Visual Parse++ junk@junk.com (John) (2001-07-23)
Oracle grammar ambiguities and conflicts mattblackmon@hotmail.com (matt blackmon) (2006-01-09)
Re: Oracle grammar ambiguities and conflicts grosch@cocolab.de (Josef Grosch) (2006-01-12)
Re: Oracle grammar ambiguities and conflicts derek@knosof.co.uk (Derek M. Jones) (2006-01-12)
Re: Oracle grammar ambiguities and conflicts cfc@shell01.TheWorld.com (Chris F Clark) (2006-01-12)
Re: Oracle grammar ambiguities and conflicts DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-01-12)
Re: Oracle grammar ambiguities and conflicts drikosv@otenet.gr (Evangelos Drikos) (2006-01-12)
[7 later articles]
| List of all articles for this month |

From: "John" <junk@junk.com>
Newsgroups: comp.compilers
Date: 23 Jul 2001 02:25:29 -0400
Organization: Customer of Connect.com.au Pty. Ltd.
Keywords: parse, question, comment
Posted-Date: 23 Jul 2001 02:25:29 EDT

Hi there,


I am attempting to write a parser for Oracle 7.3.4 SQL/PLSQL using
Visual Parse++ 4.0. I have run into a problem where non-reserved
keywords must be included as identifiers, causing millions of conflicts
in the grammar. Does anyone have experience with either using VP++
or with writing grammars for SQL?


Thanks,


John Fairhall
Quest Software.
[That's a famous problem. There's a variety of less than fabulous
solutions, hacks in the lexer to guess when to return a keyword and
when to return a symbol, parser backup if it gags on a keyword, or
bushy parsers that put all of the allowed keywords into the grammar
in places where they can be used as symbols. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.