Hacker GitHub

← All repos

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

Mentions per year 18 mentions · busiest year 2020 (5)
20082026
  1. …mentioned in another comment, has that same appeal. I wrote a quick tutorial here, back in the day: https://github.com/skx/foth
  2. 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
  3. …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
  4. …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
  5. 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)
  6. 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.
  7. ▲ 2
    Show HN: Writing a simple FORTH-like system, in simple steps
    story by stevekemp · 2024-02-15 · 0 comments
  8. ▲ 2
    Show HN: Implementing a simple FORTH, inspired by a Hacker News thread
    story by stevekemp · 2022-09-19 · 0 comments
  9. …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)
  10. …golang following the original recipe and breaking it down into simple steps for learning-purposes: https://github.com/skx/foth
  11. …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)
  12. …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
  13. ▲ 6
    Tutorial-style FORTH implementation written in Golang
    story by stevekemp · 2021-02-12 · 0 comments
  14. 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++
  15. 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
  16. …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!
  17. ▲ 3
    Show HN: Implementing FORTH, hacker-news style
    story by stevekemp · 2020-09-19 · 0 comments
  18. …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.