Re:Resetting PHP6 (or: Unicode claims another victim)
by shaunxcode on Tuesday March 30, 2010 @12:49PM
(#1229569)
because the whole 3 of us that compile lisp type languages into php need it for TCO.
[ Parent
| on HN ]
Re:Resetting PHP6 (or: Unicode claims another victim)
by Scriptor on Tuesday March 30, 2010 @03:41PM
(#1229959)
It's not strictly necessary, tail recursion is enabled in Pharen (http://github.com/scriptor/pharen) by compiling it into a while loop.
By the way, the docs on that page are way out of date so if anyone is interested feel free to contact me.
EDIT: I'm an idiot, for tail calls of course it's a bit more complicated than just using a loop.