[antlr-interest] An Antlr runtime for Php

Johannes Luber jaluber at gmx.de
Mon Oct 13 03:09:04 PDT 2008


Sidharth Kuruvila schrieb:
> Hi,
> I've been working on porting the antlr runtime to php. You can check it
> out from
> 
>     svn checkout http://antlrphpruntime.googlecode.com/svn/trunk/
> antlrphpruntime-read-only

It would be better if the development is done on the same SCMS as the
other targets. Ask Ter about the details and download the appropriate
Perforce binary. Furthermore, there is a ANTLR-dev mailing list, where
these kinds of discussions take place. The required information should
be listed under the support page.
> 
> It's still pretty early stages and a lot is missing.
> 
> I couldn't find any test grammars for the java version of the runtime, I
> have been using the test grammars that come with the python runtime and
> they have been working out great. It would be nice if there was an
> official set of test grammars to test against.  

There are example grammars for all supported languages. They should be
on the download page.

Johannes
> 
> I also noticed a bug with the java target in one of the test cases for
> the python grammar, t013parser.g. Antlr appears to add a marchAny before
> a match for a grammar that needs to consume only one token.
> 
> -- 
> I am but a man.
> 
> 
> ------------------------------------------------------------------------
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> 



More information about the antlr-interest mailing list