Skip to content

Comment on Ask HN: What does a developer need to know to build their own Lisp from scratch?parent

Comments

The parser for Scheme is simple because it doesn't have reader macros. The parser for common lisp can't really be simple (see [0] describing building a JSON syntax extension to common lisp within common lisp).

If by "lisp" people just mean s-expressions then yes s-expressions are really easy to parse.

[0] https://gist.github.com/chaitanyagupta/9324402

When a neophyte is excited about Lisp, they mean s-expressions and eval. We shouldn't ask them Lisp-1 or Lisp-2, or Scheme? Or reader macros. We should throw them a helping hand to expand their computational universe.

We should always seek to educate the pupil graciously.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.