News for hackers. Stuff that matters.
Re:Pharen: A lispy language that compiles to PHP by Scriptor on Wednesday January 13, 2010 @08:54PM (#1051728)
This was very much a learning experience and I'm sure there will be lots in the code that isn't done properly. If you find something wrong, please let me know!

Pharen was also started to eventually abstract out things I don't like about PHP's syntax, and maybe add some new ones. It's not meant as a competitor to other lisps!

Some special features are micros (closer to C macros than true Lisp macros) and partials (partial evaluation). Documentation for those can be found near the end of the linked page.

It is by no means close to completion. Although lisp should be entirely expression-based, parts of Pharen can't really be used as expressions yet (namely conditionals). Closely related is that returning something other than the last expression in a function has to be done manually.

Any questions, glaring (or subtle) problems, or suggestions you have are definitely welcome.

There are no comments on this comment yet.