Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » GenericSQLParser vs. AbstractSQLQueryParser
GenericSQLParser vs. AbstractSQLQueryParser [message #34055] Tue, 07 August 2007 14:38
Eclipse User
Originally posted by: ce200006.ncr.com

I would like to understand the uses of the two types of SQL Parsers that
are supported by DTP and when I need to implement each for my own SQL
dialect.

The presentation for EclipseCon 2007 "Do you speak my dialect?" tells me:

* the JavaCC-based parsers (those that extend
org.eclipse.datatools.sqltools.sql.parser.SQLParser) are integrated into
the DTP SQL Editor where it uses them for content assist and syntax
validation features
* The LPG-based parsers (that extend
org.eclipse.datatools.sqltools.parsers.sql.SQLParser) are used by some
prototype full parser plugins

(As far as I can tell, the LPG-based parsers currently aren't being used
by the parts of DTP I've used since they require a third-party JAR to be
installed separately from the installation of DTP and I haven't seen any
components fail because of the absent JAR.)

So my questions are along these:
Which parser do I need to implement for my dialect?
Is there a plan to use a common parser for all of what needs parsers?

Thanks for any insight anybody can give me.

--Charles Eutsler
Previous Topic:RoutineEditor to open different SQL Objects with same name
Next Topic:GenericSQLParser vs. AbstractSQLQueryParser
Goto Forum:
  


Current Time: Fri Aug 29 01:33:48 EDT 2014

Powered by FUDForum. Page generated in 0.10917 seconds