Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
agumonkey
· 11y ago · 0 comments
And dotted pairs ? I had a super cute sexp parser in PHP, until I started handling sexp fully.
Comments
[–]
gps408
11y ago
Would dotted pair notation make sense for this lisp where lists are arrays, not linked cons cells?
[–]
agumonkey
OP
11y ago
IMHO, yes, binary building blocks matter a lot in lisp philosophy, whether or not they're built on javascript arrays.
[–]
gps408
11y ago
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.