TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Tiniest Scheme Interpreter

10 点作者 c4m超过 13 年前

3 条评论

motxilo超过 13 年前
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 未加载
ElliotH超过 13 年前
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 未加载
mst超过 13 年前
"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 未加载