tmp48764
Re:Pharen: A lisp that compiles to PHP
on Monday January 31, 2011 @07:59PM (#2163928)
I take that back. I had no idea that {"a" 1 "b" 2} works when I made that comment.
Re:Pharen: A lisp that compiles to PHP
on Sunday January 30, 2011 @06:24PM (#2159541)
This is really cool and for the most part the syntax seems to make sense.
One thing I don't understand is why there is special unnatural-looking syntax for dictionaries. It is inconsistent that comma=whitespace everywhere else. Perhaps something like:
(array "a"=>1 "b"=>2)
Note that this currently compiles to array("a", =>1, "b", =>2)