Live data from Hacker News

Show HN: a Lisp that uses JSON instead of S-expressions (in .js)

github.com

1–10 of 74 posts

Re: Show HN: a Lisp that uses JSON instead of S-expressions (in .js)

#3
post #2

How is this different than S-expressions? It seems equivalent modulo syntax. "They are typically represented in text by parenthesized, whitespace-separated sequences" - S-expression, Wikipedia, emphasis added.

He should call them SMexp.

(Mexp used []..out)

Re: Show HN: a Lisp that uses JSON instead of S-expressions (in .js)

#7
post #5

Does it use more JSON data types than arrays? The only examples are ["map", ....] I don't see any `{ }`, etc.

There is only one other composite data type besides arrays: objects. I don't think these are being used for invoking functions, but I think it would be interesting to try.

Re: Show HN: a Lisp that uses JSON instead of S-expressions (in .js)

#8
I still think there's room for experimenting with a Lisp that has the hashmap (a.k.a. dictionary, associative array, property bag) as its organizing principle rather than the list. There's nothing better than hashmaps for exploratory programming. If there is something to be gained from building a Lisp in terms of them (from the ground up; I don't mean support for object literals), I'd like to know what it is. This has little to do with syntax.

Re: Show HN: a Lisp that uses JSON instead of S-expressions (in .js)

#9
I'm sorry, but I cannot get excited over Yet Another Implementation of McCarthy's LISP[1]. If your Lisp had _any_ interesting feature, e.g. call/cc, or object system, or nifty macro system, or something else, then, maybe, but doing the the same old, trivial thing, again and again, does not seem very interesting for me.

We don't usually see yet another Brainfuck interpreter, or yet another Fibonacci queue implementation on HN's front page, so why LISP?

[1] - http://lib.store.yahoo.net/lib/paulgraham/jmc.lisp

Re: Show HN: a Lisp that uses JSON instead of S-expressions (in .js)

#10
post #7
post #5

Does it use more JSON data types than arrays? The only examples are ["map", ....] I don't see any `{ }`, etc.

There is only one other composite data type besides arrays: objects. I don't think these are being used for invoking functions, but I think it would be interesting to try.

[deleted]
Post reply on HN