from
Hacker News
Top
New
Show HN: A very simple Lisp interpreter in 250 lines of literate Python
by
vorador
on 7/1/17, 4:41 PM with 1 comments
by
kazinator
on 7/1/17, 5:34 PM
In the eval rules, I would check the symbol and list cases first, and then just treat everything else as self-evaluating, rather than checking for string, integer, etc upfront.