TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Tiniest Scheme Interpreter

10 pointsby c4mover 13 years ago

3 comments

motxiloover 13 years ago
Personally, I am not a fan of these lookma-my-interpreter-in-zero-lines stuff. Take a look at <a href="http://norvig.com/lispy.html" rel="nofollow">http://norvig.com/lispy.html</a>. Bigger, but well engineered.
评论 #3566587 未加载
ElliotHover 13 years ago
I'm not entirely sure this is valid. I'm happy to be shown that I'm wrong, but it doesn't seem to support environments meaning that you couldn't implement define, making it essentially not a scheme interpreter.<p>I'd be impressed by an actual implementation of R5RS in a small line count, but this just seems to be a calculator with lambda expressions and lists.
评论 #3567444 未加载
mstover 13 years ago
"I just learned language X, look at how I can fail to implement lisp in more lines of X than the original mccarthy code took to actually implement lisp" really just isn't relevant here.<p>I'm glad you're learning python. I'm glad you're enjoying it. I'm glad you managed to write something that you think is within spitting distance of lisp with it.<p>But there's no need to post it to HN. Wait until you've done something actually interesting.
评论 #3566589 未加载