Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Show HN: A very simple Lisp interpreter in 250 lines of literate Python
(opens in new tab)
(khamidou.com)
5 points
vorador
8y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
kazinator
8y ago
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.
j
/
k
navigate · click thread line to collapse