Hacker GitHub

← All repos

cesarblum/sectorforth

View on GitHub ↗ ★ 503 Assembly

sectorforth is a 16-bit x86 Forth that fits in a 512-byte boot sector.

15 mentions on Hacker News by 10 people: 3 stories, 12 comments · first 2020-09-27 · latest 2026-08-16

Mentions per year 15 mentions · busiest year 2023 (3)
20082026
  1. …is the smallest of such Forths that I know of. 0. https://github.com/fuzzballcat/milliForth/ 1. https://github.com/cesarblum/sectorforth/
  2. …In most languages branching is a fundamental construct, it's created here (with comments) https://github.com/cesarblum/sectorforth/blob/master/example... Effectively IF compiles a 0= ie. If false and then a dummy target address. THEN (aka…
    comment by alexisread · 2025-09-22 · in Easy Forth (2015)
  3. …while still having high-ish level constructs, then Forth is the ideal small language for that. [1] https://github.com/cesarblum/sectorforth
    comment by rwmj · 2025-06-03 · in Implementing a Forth
  4. …), Miniforth ( https://compilercrim.es/bootstrap/ ), Sectorforth ( https://github.com/cesarblum/sectorforth ), Sectorlisp ( https://justine.lol/sectorlisp2/ ) Freeforth ( https://github.com/dan4thewin/FreeForth2 contains an i
  5. …section they're clearly told they can skip. [1] https://news.ycombinator.com/item?id=31368212 [2] https://github.com/cesarblum/sectorforth [3] The Sectorforth Hello world defines every numeric constant it needs like this: : -1 ( x -- x -1…
  6. …ragen/stoneknifeforth/blob/master/tinybo... Retro/Ilo: http://ilo.retroforth.org/ilo.txt Sectorforth: https://github.com/cesarblum/sectorforth/blob/master/sectorf... but see: https://github.com/cesarblum/sectorforth/issues/6 and:…
    comment by alexisread · 2024-03-02 · in Konilo: A personal computing system in Forth
  7. …Sectorforth (Minimal - 7 operators, everything else is in the prelude including IF) https://github.com/cesarblum/sectorforth/blob/master/sectorf... And Retroforth (Multi platform VM, quotations) https://github.com/crcx/retroforth/tree/maste…
    comment by alexisread · 2023-12-31 · in Pascal in Forth (1983)
  8. …instead it has assembly-coded / runtime-provided words (~functions) and variables. SectorForth ( https://github.com/cesarblum/sectorforth/ ) is down to 8 builtin words, 2 IO words, and 5 variables (milliforth packs those behind a word…
    comment by masklinn · 2023-11-11 · in Fourteen Years of Go
  9. …6ops, so you can probably go smaller. Looks as though Cesar was happy with fitting into a sector: https://github.com/cesarblum/sectorforth/issues
    comment by alexisread · 2023-11-06 · in milliForth
  10. Along that line.. • SectorForth - https://github.com/cesarblum/sectorforth - sectorforth is a 16-bit x86 Forth that fits in a 512-byte boot sector. • TetrOS - https://github.com/daniel-e/tetros - Tetris that fits into the boot sector. •…
  11. See also: - https://github.com/cesarblum/sectorforth - https://github.com/jart/sectorlisp
  12. Gonna plug my own sectorforth here: https://github.com/cesarblum/sectorforth The linked post is really impressive. The author went way beyond what I did. I'm especially impressed by the I/O stuff.
    comment by cblum · 2021-06-11 · in Fitting a FORTH in 512 bytes