News for hackers. Stuff that matters.
Re:Pharen: A lispy language that compiles to PHP by ieure on Thursday January 14, 2010 @01:27AM (#1052090)
1. Perhaps you could keep the PHP-style syntax around under a different name.

2. Sweet.

3. (:some_array 4) seems perfectly reasonable. Would that interact with superglobals the same way? e.g. ($:server "PHP_SELF"). I believe that PHP 5.3 or 6 has return value dereferencing, so I don't think it's necessary to know the type - you could just do (:(array 1 2 3) 1)

4. If you haven't played with Clojure, you might find inspiration there. It has interop with native Java instances, though I find it a little too syntaxy for a Lisp, and PHP doesn't have such deep class structure.

Thanks for responding.

There are no comments on this comment yet.