Hacker GitHub

← All repos

nineties/planckforth

View on GitHub ↗ ★ 378 Forth

Bootstrapping a Forth interpreter from hand-written tiny ELF binary. Just for fun.

10 mentions on Hacker News by 7 people: 5 stories, 5 comments · first 2021-01-13 · latest 2026-02-16

Mentions per year 10 mentions · busiest year 2021 (8)
20082026
  1. …at really from first principles, it's hard to beat forth systems. You can type in Plankforth ( https://github.com/nineties/planckforth ) in a hex editor ie. this can be built from zero software, by effectively morse-coding it into bare…
  2. bootstrap.fs is a thing of beauty https://github.com/nineties/planckforth/blob/main/bootstrap.... It starts off looking like line noise (the very simple interpreter defined in hex) and gradually turns into the forth we know and love.…
  3. …is a 136-byte implementation of the interpreter followed by a built-in dictionary of 888 bytes. https://github.com/nineties/planckforth/blob/main/planck.xxd The first interpreter and language is so esoteric that, for example, the Hello…
  4. …is a 136-byte implementation of the interpreter followed by a built-in dictionary of 888 bytes. https://github.com/nineties/planckforth/blob/main/planck.xxd The first interpreter and language is so esoteric that, for example, the Hello…
  5. Seems painful. I liked this approach better: https://github.com/nineties/planckforth You start with a very tiny address or bytecode interpreter, much smaller than 512 bytes. Then you load several levels of bootstrap interpreters into it…
    comment by throwaway81523 · 2021-06-12 · in Fitting a FORTH in 512 bytes