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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Build Your Own Lisp

115 点作者 curious16将近 2 年前

7 条评论

capableweb将近 2 年前
If you want to learn languages, implementing a lisp interpreter is a great exercise, and lots of fun too. Every time I come across a new language I want to give a try, creating a lisp interpreter is one of the first things I do.<p>If you&#x27;re curious but want a more language-agnostic guide, mal (Make a lisp) is a language+project that has a guide you can follow along with basically any language, and if you get stuck, you can look at already implemented versions in practically any language: <a href="https:&#x2F;&#x2F;github.com&#x2F;kanaka&#x2F;mal">https:&#x2F;&#x2F;github.com&#x2F;kanaka&#x2F;mal</a><p>Personal favorite implementations of mal: nasm (assembly) (<a href="https:&#x2F;&#x2F;github.com&#x2F;kanaka&#x2F;mal&#x2F;tree&#x2F;master&#x2F;impls&#x2F;nasm">https:&#x2F;&#x2F;github.com&#x2F;kanaka&#x2F;mal&#x2F;tree&#x2F;master&#x2F;impls&#x2F;nasm</a>) and wasm (<a href="https:&#x2F;&#x2F;github.com&#x2F;kanaka&#x2F;mal&#x2F;tree&#x2F;master&#x2F;impls&#x2F;wasm">https:&#x2F;&#x2F;github.com&#x2F;kanaka&#x2F;mal&#x2F;tree&#x2F;master&#x2F;impls&#x2F;wasm</a>)<p>mal has also been discussed many times on HN (which is probably how I came across it the first time too) for close to a decade by now: <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?query=kanaka%2Fmal" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?query=kanaka%2Fmal</a>
评论 #36107759 未加载
评论 #36107170 未加载
ofalkaed将近 2 年前
I worked through this years ago and was rather disappointed, I felt the hand holding&#x2F;explanations were not well balanced; it walks you through everything like you have no programming experience but explains things like you do have programming experience. The exercises were ok but not great. It left me with far more questions than answers and only slightly better at C than I was before.<p>But I am a hack in everyway, so it could just be me.
sfc32将近 2 年前
I like the humour &quot;Mike Tyson • Your typical Lisp user&quot; :-) <a href="https:&#x2F;&#x2F;buildyourownlisp.com&#x2F;chapter1_introduction#who_this_is_for" rel="nofollow">https:&#x2F;&#x2F;buildyourownlisp.com&#x2F;chapter1_introduction#who_this_...</a>
naltun将近 2 年前
I followed the exercises in this book coming up on a decade ago. It was I valuable to my growth as a developer. The author, OrangeDuck, has many worthwhile projects. If you are learning C, it&#x27;s worth checking out their Cello project.
pcblues将近 2 年前
Recent repeat, but I think I used the template that made the website in 1995. Still amusing.<p><a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=false&amp;query=buildyourownlisp&amp;sort=byDate&amp;type=story" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=false&amp;qu...</a>
sai2318将近 2 年前
Bookmarked. In the same spirit, there’s also codecrafters.io that covers Building your own Git, Docker, Redis, etc.
abdullahkhalids将近 2 年前
When I was an undergrad, having newly read SICP, I start to write my own lisp in.... drumroll... matlab!!! I actually made quite a bit of progress before giving up.<p>Ah, to be young again!
评论 #36113445 未加载