[antlr-interest] Re: antlr suitable for xml languages? (like bpel andare there existing grammaires)

Martin Probst mail at martin-probst.com
Wed Dec 14 07:35:49 PST 2005


Well, IMHO that tool is called XML beans, available for download from
the Apache project. It skips the grammar step though ...

On Wed, 2005-12-14 at 09:57 -0500, Scott Stanchfield wrote:
> Take it a step further -- if you use the to-be-written tool to generate the
> grammar and don't change the structure, you can generate a new one when the
> DTD or schema changes, and diff. This is even better if you use the "print
> grammar" option of antxr (same as in antlr) to just see the grammar rules.
> You'd know exactly what needs to change... 
> 
> Wish I had the time right now, but if someone else wants to write such a
> tool I'd be thrilled...
> -- Scott
> 
> > -----Original Message-----
> > From: antlr-interest-bounces at antlr.org 
> > [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Ahmed Mohombe
> > Sent: Wednesday, December 14, 2005 9:36 AM
> > To: antlr-interest at antlr.org
> > Subject: [antlr-interest] Re: antlr suitable for xml 
> > languages? (like bpel andare there existing grammaires)
> > 
> > > Eventually I plan to write a base-grammar creator that 
> > takes an XSD or 
> > > DTD as input and creates a basic ANTXR grammar,
> > This sounds very, very interesting :).
> > Especially since DTD is very simple, and generating from it, 
> > I suppose would bring a pretty good productivity increase.
> > 
> > Ahmed.
> > 
> > 
> 
> 
> 



More information about the antlr-interest mailing list