News for hackers. Stuff that matters.
Re:Pharen: A lisp that compiles to PHP by kaiwetzel on Sunday January 30, 2011 @03:05PM (#2158988)
From reading the examples this looks awesome, I'll give it a try tomorrow at the office. Is there a way to expand macros only and not do the compile-to-php step?

My current project involves generating php from a declarative definition and this could be just the right tool for the job! Maybe it will make switching to common lisp a lot easier once I learned enough of it :D

Re:Pharen: A lisp that compiles to PHP by Scriptor on Monday January 31, 2011 @11:17AM (#2161992)
>Is there a way to expand macros only and not do the compile-to-php step?

So that it would just generate the Pharen code resulting from the expansion? Unfortunately, not yet. As soon as a macro is done executing it returns the node tree itself, which is then compiled. There might be a way to hack macro-expand in though.

Let me know how trying to work it into your project goes! I'll be glad to help with any problems that come up.