[antlr-interest] PERL VS ANTLR

mzukowski at yci.com mzukowski at yci.com
Tue Jan 28 08:10:36 PST 2003


Antlr's grammar is written in antlr.  Antlr's analysis is not written as a
grammar though, it is a complex algorithm (see Ter's thesis) that goes
beyond just walking a tree.

Monty

-----Original Message-----
From: Dvoryansky Leonid [mailto:dvleonid at land.ru]
Sent: Monday, January 27, 2003 2:02 PM
To: antlr-interest at yahoogroups.com
Subject: Re: [antlr-interest] PERL VS ANTLR


> > I was wondering how do Perl and Antlr compare .  Would Antlr be a
> > superset of Perl ?  Or is Perl THE language for text manipulation ?
> > Answers to this question should ignore the learning time .I just want to
> > know if Antlr can do more than Perl even if its a language blah blah
> > ...!!!

The main difference I think is that Perl is imerative language, but ANTLR
is declaretive (disregarding C semantic attributes).
So despite the fact that they have overlapping sets of solving tasks they
implement different ways for that.

By the way is it possible to write ANTLR in ANTLR-grammars? hmm....







 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list