[antlr-interest] most efficient grammar pasing

Tom Liu TomL at avokia.com
Thu Dec 7 13:28:01 PST 2006


 

Hi Jim,

 

The T-SQL parsers were written in ANTLR 2.7.6,  

the sql server version is SQL SERVER 2000,

the sybase version is Sybase ASE 12.5. 

and so far, it can parse all the system stored procedures

(for Sql server, they are in master database; for sybase, 

they are in a separate database called sybsystemprocs)

 

The objective is rather simple, translating any t-sql scripts into

structured xml with all grammar elements tagged

 

Due to customer's requirement, I can't put *.g file to public

at the present time.  Any way, I can send you some parsing example files

if you are interested in it.  Just leave me am email address.

 

Tom

 

 

-----Original Message-----

 

Date: Wed, 6 Dec 2006 18:26:50 -0500

From: "Jim Idle" <jimi at intersystems.com>

Subject: Re: [antlr-interest] most efficient grammar pasing

To: "Tom Liu" <TomL at avokia.com>, <antlr-interest at antlr.org>

Message-ID: <20061206232651.2624685E at mail.intersystems.com>

Content-Type: text/plain;     charset="windows-1250"

 

> I didn't learn much about the pasing theory and algorithms

> But in the recent several months, I have finshed two full

> Grammar T-SQL parsers, one is for sql server, the other is for sybase.

 

Were these written in ANTLR? Are you going to make them generally
available?

 

Jim

 

 

-- 

No virus found in this outgoing message.

Checked by AVG Free Edition.

Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date:
12/5/2006 4:07 PM

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061207/0a7a8085/attachment.html 


More information about the antlr-interest mailing list