Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » GenericSQLParser vs. AbstractSQLQueryParser
GenericSQLParser vs. AbstractSQLQueryParser [message #587043] Tue, 07 August 2007 18:38
Charles Eutsler is currently offline Charles Eutsler
Messages: 13
Registered: July 2009
Junior Member
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:GenericSQLParser vs. AbstractSQLQueryParser
Next Topic:Unable to update DTP
Goto Forum:
  


Current Time: Tue Oct 21 05:38:06 GMT 2014

Powered by FUDForum. Page generated in 0.03373 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software