Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
agumonkey
on Feb 26, 2015
|
parent
|
context
|
favorite
| on:
Lisp implemented in under 1K of JavaScript
And dotted pairs ? I had a super cute sexp parser in PHP, until I started handling sexp fully.
gps408
on Feb 26, 2015
[–]
Would dotted pair notation make sense for this lisp where lists are arrays, not linked cons cells?
agumonkey
on Feb 26, 2015
|
parent
[–]
IMHO, yes, binary building blocks matter a lot in lisp philosophy, whether or not they're built on javascript arrays.
gps408
on Feb 26, 2015
|
root
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: