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.

Show HN: MiniForth – A Minimal Forth

6 pointsby davidjadeover 4 years ago

1 comment

davidjadeover 4 years ago
I was inspired by the recent Forth-week on HN to dig up a minimal Forth that I created a while back. It is so minimal that it only runs one statically declared Forth program but that also makes it really easy to understand how little there is to a Forth interpreter and how they work.<p>As simple as this one is, this interpreter implements a handful of stack manipulation Words and fully supports DO&#x2F;LOOP looping and IF&#x2F;ELSE&#x2F;THEN branching as well as VARIABLE, CONSTANT, and ALLOT style arrays. Forth is a really simple yet powerful concept. This one strives for clarity of understand over pure efficiency and is written in C.
评论 #26210482 未加载