Hi,

> I've dived in and Googled around but can't find a PHP 
> grammar. There is 
> a rumour of a grammar being developed for V3.

Andreas Ruckert worked on a PHP4 grammar that was never finished. He
indicated (on the ANTLR list) that he might be persuaded to release to
someone intending to continue the work.

Additionally, there is a PHP grammar for JavaCC - another LL(k) lexer/parser
generator - that could inform your attempts to create a PHP grammar for
ANTLR.

>  From my naive look at Antlr I have deduced that V3 (with ANTLRWorks) 
> looks more worth learning than V2. So, this begs the questions:
> 
> Will any work I do on a PHP  grammar in V3 be any use for ArgoUML?

Don't know but, the runtime libraries and language processor API is
[significantly] different between V2 and V3. And you are right that V3 is
shaping up to be a "better" ANTLR than V2.

> Are there plans to port the existing grammars used by ArgoUML 
> to ANTLR V3 ?

ANTLR V3 isn't due out for quite a while yet. I'd belay any plans to switch
until V3 is at least stable (both the API and the product itself).


Kunle

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to