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
20082026
-
…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…
comment by alexisread · 2025-05-06 · in The curse of knowing how, or; fixing everything -
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.…
comment by nickcw · 2021-12-06 · in Show HN: PlanckForth – Bootstrapping an interpreter from handwritten 1kb binary -
…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…
comment by nineties · 2021-12-06 · in Show HN: PlanckForth – Bootstrapping an interpreter from handwritten 1kb binary -
…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…
comment by nineties · 2021-12-06 · in Bootstrapping a Forth Interpreter from Handwritten 1KB Binary -
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