Hacker GitHub

← All repos

jart/sectorlisp

View on GitHub ↗ ★ 1,529 C

Bootstrapping LISP in a Boot Sector

28 mentions on Hacker News by 22 people: 5 stories, 23 comments · first 2020-10-27 · latest 2026-04-13

Mentions per year 28 mentions · busiest year 2021 (9)
20082026
  1. Great examples, those. Here's another: https://github.com/jart/sectorlisp/blob/main/sectorlisp.S Given this, you might write less asm.
    comment by so-cal-schemer · 2026-04-13 · in Now is the best time to write code by hand
  2. Boot sector lisp? https://github.com/jart/sectorlisp
  3. …5, I wonder if that was a publisher request. (My favorite take on that subject in recent years is https://github.com/jart/sectorlisp ) Would it be fair to say this is mainly a history told through the lens of AI and PL research? Amusingly…
  4. ▲ 104
    Bootstrapping Lisp in a Boot Sector
    story by gone35 · 2025-05-05 · 6 comments
  5. I love MBR hacking, it's so fun to see. Cf. sector lisp [1] and OSle [2]. [1]: https://github.com/jart/sectorlisp [2]: https://news.ycombinator.com/item?id=43866585
    comment by D4ckard · 2025-05-04 · in Minimal Linux Bootloader (2018)
  6. …to run McCarthy’s metacircular evaluator. [0]: https://www.ioccc.org/2004/gavin/index.html [1]: https://github.com/jart/sectorlisp
  7. …/github.com/raviqqe/stak/tree/f799140377162f1c2f94cc4... .) The philosophy is similar to SectorLisp ( https://github.com/jart/sectorlisp ) but for R7RS :)
    comment by raviqqe · 2025-01-08 · in Embedding Scheme in Rust
  8. …people on the Moon. Technological progress must never come at the expense of people's rights. [1]: https://github.com/jart/sectorlisp [2]: https://www.ibiblio.org/apollo/
    comment by helloiamsomeone · 2024-08-05 · in Stop Killing Games
  9. ▲ 34
    Sectorlisp
    story by djha-skin · 2023-01-13 · 8 comments
  10. That's yuuuuuge, try sectorlisp instead https://github.com/jart/sectorlisp
    comment by guerrilla · 2022-12-16 · in Kilo Lisp: A Kilo Byte-Sized Lisp System
  11. …is written in C that's also valid JavaScript See https://justine.lol/sectorlisp2/#evaluation and https://github.com/jart/sectorlisp/blob/c9ce1c54a024ac4774a2... and also https://github.com/jart/sectorlisp/blob/main/lisp.c
  12. …Lua, Typed Assembly; https://en.wikipedia.org/wiki/Typed_assembly_language and Sector Lisp; https://github.com/jart/sectorlisp seem to have the right minimalism and compactness for archival purposes. Maybe it is sectorlisp+rv32+wasm. If…
    comment by sitkack · 2022-07-25 · in Take more screenshots
  13. …encoding, the answer is "pretty fancy". After all, you can fit a LISP into 512 bytes of x86 code-- https://github.com/jart/sectorlisp . About 64 bytes of that is strings! In addition to all those programs-- about anything you can write in…
  14. ▲ 5
    Bootstrapping Lisp in a Boot Sector
    story by AlexeyBrin · 2022-06-25 · 0 comments
  15. …think the wiki page predates sectorlisp, which project answers (in my opinion) the challenge, no? ( https://github.com/jart/sectorlisp )
    comment by carapace · 2022-05-03 · in A minimal C compiler in x86 assembly
  16. …C because it was actually used to generate the assembly code for the first ~900 byte version. See https://github.com/jart/sectorlisp/blob/a561e031aec03270459f... and https://github.com/jart/sectorlisp/blob/a561e031aec03270459f... Once we…
    comment by jart · 2021-12-21 · in Show HN: Lisp with GC in 436 Bytes
  17. …on my ignorant, but wishful, reqs above? I realize there are some others in Rust too. Thanks! [1] https://github.com/jart/sectorlisp
  18. Consider alternatively: https://github.com/jart/sectorlisp/blob/main/sectorlisp.S https://github.com/jart/sectorlisp/blob/main/lisp.lisp This does give me an idea to do it in even less, though. I'll have to spend a weekend on it. It's also…
    comment by metagame · 2021-10-10 · in Lisp in a Weekend
  19. See also: - https://github.com/cesarblum/sectorforth - https://github.com/jart/sectorlisp
  20. There's sectorlisp that appears to fit into two sectors but is yet shy of their single-sector goal: https://github.com/jart/sectorlisp
    comment by na85 · 2021-06-11 · in Fitting a FORTH in 512 bytes
  21. …I built a LISP interpreter too, which makes Altair BASIC look bloated by comparison. https://github.com/jart/sectorlisp I will say that 20mb isn't too shabby if we judge the OP's project by Electron standards. If NodeGUI was pruned a bit…
  22. …pc boot process. Here's a gentle introduction: https://justine.lol/blinkenlights/realmode.html and https://github.com/jart/sectorlisp and http://reddit.com/r/osdev Those concepts are implemented in the Cosmopolitan codebase here:…
  23. …I recommend taking a look at what it says[2] on the matter, though it's too long to quote here. 0. https://github.com/jart/sectorlisp 1. https://savannah.nongnu.org/projects/stage0/ 2. https://git.savannah.nongnu.org/cgit/stage0.git/tree/RE…
    comment by moonchild · 2021-02-18 · in RetroForth 2021.1
  24. …post-apocalyptic x86 machine and run John McCarthy's metacircular evaluator in nearly 512 bytes. https://github.com/jart/sectorlisp
  25. https://github.com/jart/sectorlisp Smaller than femtolisp
    comment by 1vuio0pswjnm7 · 2020-12-28 · in Wisp: A light Lisp written in C++
  26. ▲ 29
    Sectorlisp – Bootstrapping Lisp in a Boot Sector
    story by joubert · 2020-12-28 · 0 comments
  27. https://github.com/jart/sectorlisp
    comment by rscho · 2020-12-21 · in PicoLisp Chess
  28. ▲ 2
    Sectorlisp
    story by jart · 2020-10-27 · 0 comments