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.

Make your own Lisp

187 pointsby maccoabout 8 years ago

9 comments

krat0sprakharabout 8 years ago
If someone&#x27;s looking for a more hand-holded approach for building a Lisp in C, I&#x27;d recommend: <a href="http:&#x2F;&#x2F;www.buildyourownlisp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.buildyourownlisp.com&#x2F;</a>
评论 #13971224 未加载
评论 #13973354 未加载
Wildgooseabout 8 years ago
I immediately thought of Shen which is also ported to a large number of languages. Shen relies on a &quot;micro-Lisp&quot; substrate called K-Lambda which consists of just 43 easily ported instructions.<p><a href="http:&#x2F;&#x2F;www.shenlanguage.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.shenlanguage.org&#x2F;</a>
agentgtabout 8 years ago
I had to see if their own language (mal) implemented itself (ie self hosted) and I was pleased to see it does.
评论 #13972375 未加载
macintuxabout 8 years ago
IIRC I got bogged down early with the regular expression for parsing, but I definitely want to try again. Really enjoyed the MAL talk at Midwest.io: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;lgyOAiRtZGw" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;lgyOAiRtZGw</a>
rs86about 8 years ago
Funny there is no prolog port!
评论 #13969854 未加载
评论 #13970436 未加载
kureikainabout 8 years ago
This repos should be on developer code to read. I used it as a way to see how people implement a LISP. Having a reference for all languages allow me to know strong&#x2F;weak point of each of them.
ky738about 8 years ago
I wanna know which language port has the fewer lines of code.
评论 #13969472 未加载
评论 #13974963 未加载
评论 #13978980 未加载
评论 #13969344 未加载
评论 #13975922 未加载
评论 #13969473 未加载
faragonabout 8 years ago
Brainfuck port, anyone?<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Brainfuck" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Brainfuck</a>
评论 #13971215 未加载
jlaroccoabout 8 years ago
I know this is a demonstration project, but in general I wish people would stop building new Lisps and just use one of the existing ones.<p>Common Lisp, Racket, Clojure, Scheme, etc. are all great choices with decent compilers, interpreters, library ecosystems, editor support, etc.<p>Seems there&#x27;s a new pet project Lisp released once a month or so, and none of them add anything interesting over the existing options.
评论 #13970993 未加载