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.

Lisp Interpreter in Tandy TRS-80/100 Basic

105 pointsby franzeover 5 years ago

11 comments

LeServalover 5 years ago
Hi... I&#x27;m the guy who ported this, which was actually not too difficult, as the original gentleman, to whom all honour belongs, left good hints. Most &quot;issues&quot; where really just IFs without THENs. There were only two errors I saw in Ira Goldking&#x27;s source, a wrong line number and a THRN instead of THEN. This is a link for those not on Facebook: <a href="https:&#x2F;&#x2F;pastebin.com&#x2F;2Mih71eF" rel="nofollow">https:&#x2F;&#x2F;pastebin.com&#x2F;2Mih71eF</a>
评论 #21923095 未加载
haunterover 5 years ago
From the author:<p>&gt;This one is just for fun. When I first learned Lisp in 1981, I did so by reading Winston and Horn&#x27;s book and writing my own Lisp interpreter. The interpreter was written in Basic on the only system I had access to at the time: a TRS-80 Model I. This interpreter eventually ended up as part of a series of three articles on Lisp that I wrote for 80 Micro, a TRS-80 hobbyist magazine. The first part of the series, which contains the source code for the interpreter itself, is included here. Note that the listing has all optional spaces removed so that I could fit both the interpreter and 1100 (!) cons cells into 16K (!!) of memory<p><a href="http:&#x2F;&#x2F;mypage.iu.edu&#x2F;~rdbeer&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mypage.iu.edu&#x2F;~rdbeer&#x2F;</a>
评论 #21925941 未加载
评论 #21923155 未加载
leocover 5 years ago
If we&#x27;re willing to extend the discussion to microcomputer Lisps targeting machine language, I&#x27;ll repost an old comment <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20019592" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20019592</a> :<p>&gt; There were various Z80 and MOS 6502 microcomputer Lisp implementations written back in the &#x27;80s, some commercially released at the time, some readily accessible nowadays. <a href="https:&#x2F;&#x2F;www.wisdomandwonder.com&#x2F;link&#x2F;3787&#x2F;how-small-can-a-sc.." rel="nofollow">https:&#x2F;&#x2F;www.wisdomandwonder.com&#x2F;link&#x2F;3787&#x2F;how-small-can-a-sc...</a>. <a href="https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!topic&#x2F;comp.lang.scheme&#x2F;Z_2.." rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!topic&#x2F;comp.lang.scheme&#x2F;Z_2...</a>.<p>&gt; (There&#x27;s one that I&#x27;m horribly, horribly overdue to get back to the authors about archiving on the Internet, actually. Anyone who&#x27;s based in North America and happens to have the hardware and the expertise to recover data from both 5.25&quot; and 8&quot; floppies in some CP&#x2F;M format?)
评论 #21922383 未加载
评论 #21922747 未加载
velcrovanover 5 years ago
Funny, my current job involves a lot of coding in BASIC (BASIS and ProvideX commercial flavors) and I&#x27;m trying to wedge in some Racket where I can. I got my start typing in listings from Rainbow magazine at age 10. (I never thought I&#x27;d be writing BASIC for a living though, life took a turn at 35)
评论 #21921641 未加载
评论 #21921609 未加载
RodgerTheGreatover 5 years ago
Facebook has to be the least convenient way this could be hosted. Here&#x27;s a mirror: <a href="https:&#x2F;&#x2F;pastebin.com&#x2F;raw&#x2F;Yq5khyQL" rel="nofollow">https:&#x2F;&#x2F;pastebin.com&#x2F;raw&#x2F;Yq5khyQL</a>
评论 #21922677 未加载
评论 #21921473 未加载
评论 #21921476 未加载
leocover 5 years ago
You know what <i>else</i> was written in BASIC? The original Smalltalk interpreter <a href="https:&#x2F;&#x2F;youtu.be&#x2F;pACoq7r6KVI?t=1189" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;pACoq7r6KVI?t=1189</a> . (&quot;I&#x27;m not ashamed, I got it going quickly&quot; - Dan Ingalls.) Obviously this was just a scratch implementation of what became Smalltalk-72, rather than a Smalltalk-80.
zozbot234over 5 years ago
Blogpost reposting content from 80 Micro Magazine (published sometime in 1982). I assume that the original issue is somewhere in the archive.org collection.
评论 #21921415 未加载
simplify3over 5 years ago
I&#x27;d wondered if there was a Color Computer variant and indeed there was&#x2F;is: From Hot Coco, April 1984 <a href="http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Magazines&#x2F;Hot%20CoCo%20(Searchable%20image)&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Magazines...</a><p>Now to test it out.
LeServalover 5 years ago
Hi everybody,<p>I put it also here as per eschaton&#x27;s request:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;KedalionDaimon&#x2F;LispForTandy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;KedalionDaimon&#x2F;LispForTandy</a>
perl4everover 5 years ago
There was a TRS-80 with a 68000...<p>Also, I know that ELIZA was available for TRS-DOS (which I think ran on the Z80) and wasn&#x27;t that based on Lisp?
venatiodecorusover 5 years ago
Broken link, can&#x27;t access without an account.
评论 #21923107 未加载