skx/foth
View on GitHub ↗ ★ 94 Go archived
Tutorial-style FORTH implementation written in golang
18 mentions on Hacker News by 1 person: 4 stories, 14 comments · first 2020-09-14 · latest 2026-04-11
20082026
-
…mentioned in another comment, has that same appeal. I wrote a quick tutorial here, back in the day: https://github.com/skx/foth
comment by stevekemp · 2026-04-11 · in Ask HN: Best books on building a programming language -
You might also enjoy this tutorial, which started out being based upon a hacker news thread: https://github.com/skx/foth I go through stages to implement minimal language.
comment by stevekemp · 2026-02-25 · in Build Your Own Forth Interpreter -
…something like forth, in a tutorial-based fashion based on a thread I found on hacker news: https://github.com/skx/foth As per the original post this would be "user-level" not "hacker-level". I keep meaning to go back and do it properly,…
comment by stevekemp · 2025-08-27 · in Implementing Forth in Go and C -
…See this repository for a tutorial-approach to building a minimal forth-like language, in golang: https://github.com/skx/foth
comment by stevekemp · 2025-06-04 · in Implementing a Forth -
A toy golang one you can embed, and a tutorial for how it was written here: https://github.com/skx/foth You can see it embedded to provide a turtle-like graphics thing in this repository: https://github.com/skx/turtle
comment by stevekemp · 2024-10-27 · in Fitting a Forth in 512 bytes (2021) -
And here's my tutorial FORTH, based upon a thread from hacker news: https://github.com/skx/foth Forth is always appealing, whether literally, or in puns.
comment by stevekemp · 2024-08-13 · in What you learn by making a new programming language -
▲ 2
Show HN: Writing a simple FORTH-like system, in simple stepsstory by stevekemp · 2024-02-15 · 0 comments
-
▲ 2
Show HN: Implementing a simple FORTH, inspired by a Hacker News threadstory by stevekemp · 2022-09-19 · 0 comments
-
…in this hackernews comment-chain: https://news.ycombinator.com/item?id=13082825 The result is here: https://github.com/skx/foth It's not real, but it was a pretty fun experiment regardless.
comment by stevekemp · 2022-07-17 · in Byte Magazine: The Forth Language (1980) -
…golang following the original recipe and breaking it down into simple steps for learning-purposes: https://github.com/skx/foth
comment by stevekemp · 2022-05-13 · in Jonesforth – A sometimes minimal Forth compiler and tutorial (2007) -
…systems over the years, most recently this one which was inspired by a thread on this site: https://github.com/skx/foth A lot of people go through guides of writing a lisp, I'd love to urge people to try writing a simple FORTH interpreter…
comment by stevekemp · 2021-10-31 · in colorForth (2009) -
…I followed that guide to implement a simple FORTH-like system in golang: https://github.com/skx/foth As I was following the implementation recipe I broke it down into "educational steps". Although it isn't a true FORTH it is pretty
comment by stevekemp · 2021-08-01 · in Lang Jam: create a programming language in a weekend -
▲ 6
Tutorial-style FORTH implementation written in Golangstory by stevekemp · 2021-02-12 · 0 comments
-
I actually hacked up a simple forth-like system, after reading a brief howto here on hackernews: https://github.com/skx/foth/ Here's the thread which has the barebones overview which inspired me: https://news.ycombinator.com/item?id=1308282…
comment by stevekemp · 2020-12-29 · in Wisp: A light Lisp written in C++ -
I've had a lot of fun writing a simple FORTH-like recently: https://github.com/skx/foth/ Inspired by a previous hackernews comment-thread, I don't use a return-stack. So while I do have support for `if` it is implemented in a hardwired…
comment by stevekemp · 2020-10-18 · in Lisp from Nothing -
…but without the real extensibility of an actual FORTH system. That will be something I tackle next: https://github.com/skx/foth/ Nice to see more FORTH stuff posted here!
comment by stevekemp · 2020-09-28 · in Sectorforth: A 16-bit x86 Forth that fits in a boot sector -
▲ 3
Show HN: Implementing FORTH, hacker-news stylestory by stevekemp · 2020-09-19 · 0 comments
-
…writeup in go just now, as I said at the time your summary was wonderfully direct and "obvious". https://github.com/skx/foth Thanks again, four years later! I'll get the compilation phase done tomorrow, barring surprises.
comment by stevekemp · 2020-09-14 · in Bootstrapping a Forth in 40 lines of Lua code (2008)