News for hackers. Stuff that matters.
Re:Lisp implemented in under 1K of JavaScript by agumonkey on Wednesday February 25, 2015 @07:52PM (#9110758)
And dotted pairs ? I had a super cute sexp parser in PHP, until I started handling sexp fully.
Re:Lisp implemented in under 1K of JavaScript by gps408 on Thursday February 26, 2015 @04:54AM (#9111816)
Would dotted pair notation make sense for this lisp where lists are arrays, not linked cons cells?
Re:Lisp implemented in under 1K of JavaScript by agumonkey on Thursday February 26, 2015 @08:42AM (#9112404)
IMHO, yes, binary building blocks matter a lot in lisp philosophy, whether or not they're built on javascript arrays.
Re:Lisp implemented in under 1K of JavaScript by gps408 on Thursday February 26, 2015 @12:03PM (#9113570)
Thanks for responding, man. That's my point though. There is no cons building block in this lisp. I don't think (1 2 . 3) can be represented in it so having the notation for it makes no sense.