Re: Hacking language syntax

From: Date: Fri, 05 Mar 2010 01:21:11 +0000
Subject: Re: Hacking language syntax
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-47088@lists.php.net to get a copy of this message
On Fri, 5 Mar 2010, Vsevolod Velichko wrote: > I wish to add some syntax to PHP (at first, I want to modify > while > loop, to implement Dijkstra loop) and I've found some old thread about > modifying core, but I have no idea, how to do it by extension. I > suppose that it possible, since Facebook, as I know, introduced some > constructions in its HipHop. But HipHop is rather complex and aimed to > do incredibly more things, rather than add one construction, so it's > rather hard to study. I'll be glad if someone tell me what to look at > for implementing new constructions as an extension. You can't. You need to modify the current engine to add new language constructs. Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug

« previous php.internals (#47088) next »