[antlr-interest] PHP5 Build target status?
Jim Idle
jimi at temporal-wave.com
Fri Feb 8 22:01:22 PST 2008
You can just steal the methodology of the C target, which also does not
have try/catch. However, I am pretty sure that PHP5 DOES have try/catch
in Zend, and that it is PHP4 that you have to use set_error_handler in?
http://php.mirrors.ilisys.com.au/manual/en/language.exceptions.php
Jim
From: Darien Hager [mailto:darien.hager at etelos-inc.com]
Sent: Friday, February 08, 2008 5:28 PM
To: antlr-interest at antlr.org
Subject: Re: [antlr-interest] PHP5 Build target status?
On 2/4/08, Jim Idle <jimi at temporal-wave.com> wrote:
No – go for it if you are prepared to support it J
I'll see if it works first :P
Just to get this archived somewhere for the next person with the same
question... So far I've managed to get PHP5.stg to a state where the
Lexer and Parser code it generates is valid PHP logic.
One big wrinkle: PHP5 has no try-catch-finally.
--
Darien Hager
Developer
Etelos, Inc.
darien at etelos.com
http://www.etelos.com
"Revolutionizing the way applications are developed, distributed and
consumed."
This e-mail message, including attachments, may contain confidential
information for the sole use of the intended recipient(s). If you are
not the intended recipient, then this is notice that any use,
disclosure, dissemination, distribution or copying is strictly
prohibited. If you have received this message in error please contact
the sender by reply mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080208/36bfbb9c/attachment.html
More information about the antlr-interest
mailing list