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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What functions/forms should all lisps have?

1 点作者 _bxg1将近 5 年前
I&#x27;m writing a lisp and I&#x27;m curious if there&#x27;s a consensus on what constitutes a &quot;minimum lisp&quot;. I&#x27;m not planning to implement the full extent of Common Lisp, and probably not even Scheme, but I&#x27;d like mine to have all of the basics, whatever &quot;the basics&quot; are expected to be.<p>Any resources or suggestions on this? So far I&#x27;ve got car&#x2F;cdr&#x2F;cons, list, all the basic math operators, print, lambda, and&#x2F;or&#x2F;not, basic equality and numeric comparisons, eval, define, begin (block), cond, and if.

2 条评论

kazinator将近 5 年前
- Characters and strings.<p>- Support for making a program using multiple files, and I&#x2F;O.<p>- Error recovery
db48x将近 5 年前
Minimal might not be the word you&#x27;re looking for; a truly minimal lisp just has lambdas, from which you can implement everything else.