Hi,

It's fairly easy to port antlr to php, though it does involve lots of grunt
work. I've already done some work on a php runtime if you are interested in
looking at that.

http://code.google.com/p/antlrphpruntime

Yauhen Yakimovich was looking at this too, not sure how far he's gotten.

Regards Sidharth

On Wed, Oct 7, 2009 at 9:31 PM, Geoff Speicher
<[email protected]>wrote:

> I see there is a native runtime for PHP in the works.
>
> Has there ever been any discussion as to whether it would make
> sense, as an alternative to a native PHP runtime, to wrap the
> existing C (or C++) ANTLR runtime into a PHP module?  In theory,
> this should provide a fast PHP target, without the work of having
> to write and maintain a separate PHP runtime.
>
> This is something that I am interested in doing in the near term
> unless someone knows of a reason why it wouldn't work.
>
> Geoff
>
> _______________________________________________
> antlr-dev mailing list
> [email protected]
> http://www.antlr.org/mailman/listinfo/antlr-dev
>



-- 
I am but a man.
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to