News for hackers. Stuff that matters.
Re:Pharen: A lisp that compiles to PHP by mahmud on Sunday January 30, 2011 @01:10PM (#2158612)
This actually doesn't suck. I was expecting something much much worse, but I was pleasantly surprised. If the author just focuses on a few primitives and how to make them as efficient as possible (i.e. closure efficiency, tail-calls, macros, efficient list representation, etc), if he just gets those right, others can always use it as a target and develop more comfortable lisp substrates on top of it.

Cheers!

Re:Pharen: A lisp that compiles to PHP by Scriptor on Sunday January 30, 2011 @01:46PM (#2158737)
Thanks Mahmud :)

Efficient sequences are what I'm working on right now, particularly trying to make persistent versions of the major data structures in PHP.

Tail calls are another thing, though with PHP 5.3's gotos they could be done (who'd have thought that feature would ever be useful?) Could you elaborate on how I could improve efficiency for macros?

Re:Pharen: A lisp that compiles to PHP by mahmud on Sunday January 30, 2011 @02:00PM (#2158781)
Macros don't need to be efficient, only accurate :-) Don't sweat hygiene too much, just implement GENSYM and you should be fine.