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.

I wrote a Forth implementation for x86 (2012)

95 pointsby sea6earover 8 years ago

7 comments

chc4over 8 years ago
Man, the title plays it down a lot. I thought it was just an interpreter and nearly skipped over it instead of a Forth-machine OS, which is much neater.
davazpover 8 years ago
Here the author. I loved working on this project, it was very satisfying building everything from scratch.<p>However, it would have been even better if somebody else would have joint.
评论 #13598537 未加载
评论 #13598469 未加载
stevekempover 8 years ago
I&#x27;m loving the recent rise of posts about FORTH. It&#x27;s always been a pleasure to play with, right the way back from the 80s.
tluyben2over 8 years ago
Like implementing a Lisp, every programmer who likes programming languages should implement at least a Forth. However, this goes a bit further and is lovely.
relics443over 8 years ago
The enthusiasm with which this was written almost matches the enthusiasm the author had about the project.
akkartikover 8 years ago
Is anyone able to run this on Mac&#x2F;Darwin? I think it might need gcc:<p><pre><code> $ cc -fstrength-reduce -nostdinc -m32 -nostdlib -fno-builtin \ -nostartfiles -nodefaultlibs -I. -ggdb -I. -c -o boot.o boot.S clang: warning: optimization flag &#x27;-fstrength-reduce&#x27; is not supported clang: warning: argument unused during compilation: &#x27;-nostartfiles&#x27; boot.S:21:23: error: unexpected token in &#x27;.section&#x27; directive</code></pre>
评论 #13598119 未加载
ycmbntrthrwawayover 8 years ago
(2012)