Hacker GitHub

← All repos

nornagon/jonesforth

View on GitHub ↗ ★ 1,134 Assembly

Mirror of JONESFORTH

57 mentions on Hacker News by 45 people: 9 stories, 48 comments · first 2015-05-26 · latest 2026-07-12

Mentions per year 57 mentions · busiest year 2021 (12)
20082026
  1. …programming style. It’s well worth reading through, even if you don’t know any assembly. [1] https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by georgestagg · 2025-09-22 · in Easy Forth (2015)
  2. …JonesForth (where like 90% of the assembly source is comments explaining everything in detail): https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  3. I think jonesforth is the most popular implementation teaching implementation: https://github.com/nornagon/jonesforth/blob/master/jonesfort... Factor might be a counterexample if one considers it a Forth, the VM is in part implemented in…
  4. …Freeforth: https://github.com/dan4thewin/FreeForth2/blob/master/ff.asm Jonesforth: https://github.com/nornagon/jonesforth/blob/master/jonesfort... Stoneknife: https://github.com/kragen/stoneknifeforth/blob/master/tinybo... Retro/Ilo:…
    comment by alexisread · 2024-03-02 · in Konilo: A personal computing system in Forth
  5. …Here are some other resources that I've encountered along the way of learning Forth: - JonesForth: https://github.com/nornagon/jonesforth/blob/master/jonesfort... This is legit a text that goes the an x86 Forth implementation. Actually,…
  6. …I can think of a couple of projects you and others may be interested in. The first is Jones Forth ( https://github.com/nornagon/jonesforth ), start with jonesforth.S and move into jonesforth.f. I really enjoyed following along with it and…
    comment by TrueDuality · 2023-08-24 · in Ask HN: Where do I find good code to read?
  7. …or so but on scavenged hardware. Forth is ridiculously simple to get an implementation running. https://github.com/nornagon/jonesforth/blob/master/jonesfort... Is a nice starting point. It's obviously not as compact as say 'Brainfuck' but…
  8. …You can try porting it to a language you know, it gives a good understanding of how forth works https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  9. …them is extremely enlightening, even if you don't use them in your daily life. Obligatory link: https://github.com/nornagon/jonesforth/blob/master/jonesfort... This well-written tutorial will have you implement a Forth in 500 lines of…
    comment by amalgamated_inc · 2023-01-13 · in What the hell is Forth? (2019)
  10. To me, the Zen of Forth is JONESFORTH. https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by eatonphil · 2022-12-30 · in The Zen of Forth
  11. …Forth[0] is a good literate programming implementation that explains the internals as he goes. [0] https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by bear8642 · 2022-11-20 · in Thinking Forth (1984)
  12. …on what us needed for your particular application. (See also: http://collapseos.org/forth.html and https://github.com/nornagon/jonesforth/blob/master/jonesfort... ) The combination of 1+2 would be building a device with a hardware…
  13. JonesForth ( https://github.com/nornagon/jonesforth/blob/master/jonesfort... )
  14. …I build a FORTH interpreter using the jonesforth page. Nice introduction to threaded interpreters. https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by jsymolon · 2022-07-16 · in Byte Magazine: The Forth Language (1980)
  15. …optimise adjacent words, but it still gets semi-reasonable performance. (Inlining in JONESFORTH: https://github.com/nornagon/jonesforth/blob/d97a25bb0b06fb58... ) Modern Forths just have regular optimising compilers so none of this stuff…
  16. …a literate programming style. The prose is excellent and the whole thing is worth reading through. https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  17. …you're referring to JonesForth, which is a heavily commented implementation of the first variety: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by int_19h · 2021-12-21 · in Show HN: Lisp with GC in 436 Bytes
  18. …style, by JonesForth [1] which is a classic moment in the "Programming Pedagogy Hall of Fame." [1] https://github.com/nornagon/jonesforth/blob/master/jonesfort... [2] https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  19. …line-by-line. If you're interested in Forth, JonesForth is another classic literate program: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  20. …works step-by-step. https://rwmj.wordpress.com/2010/08/07/jonesforth-git-reposit... Github mirror: https://github.com/nornagon/jonesforth
    comment by bdowling · 2021-11-21 · in Advent of Code 2021
  21. Here is a sample from one particular Forth implementation, line 305: https://github.com/nornagon/jonesforth/blob/master/jonesfort... This is fairly typical.
    comment by jacquesm · 2021-11-18 · in Forth vs Lisp
  22. …a common starting point - it has more comments than actual code, explaining the design in detail: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by int_19h · 2021-11-18 · in Forth vs Lisp
  23. …mind is Jonesforth because it's a very well thought out and famous example of literate programming: https://github.com/nornagon/jonesforth/blob/master/jonesfort... That said, I dont see the parallel with the Pulitzer... it's for…
  24. …now widely called Jonesforth: Main x86 source to bootstrap minimal interpreter/compiler: https://github.com/nornagon/jonesforth/blob/master/jonesfort... Further Forth definitions: https://github.com/nornagon/jonesforth/blob/master/jonesfort…
    comment by chalst · 2021-02-18 · in RetroForth 2021.1
  25. A good learning resource is Jonesforth (something of a classic), on GitHub here: https://github.com/nornagon/jonesforth/blob/master/jonesfort... I wrote several Forth compilers when learning to code as a teenager, one using the A86…
    comment by benhoyt · 2021-02-17 · in RetroForth 2021.1
  26. Jonesforth [1] is a classic example of this, and a really good example of “literate” code. [1] https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by naters · 2021-02-17 · in RetroForth 2021.1
  27. Jonesforth is pretty amazing: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by lmohseni · 2020-12-29 · in Wisp: A light Lisp written in C++
  28. You probably want to read the original (i386 version) instead if you're using it for learning: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by rwmj · 2020-12-26 · in Jonesforth Port to RISC-V
  29. …be useless, but my point was rather that IF-statements and loops are written in FORTH itself." https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  30. https://github.com/nornagon/jonesforth/blob/master/jonesfort... This is (the now pedagogically famous) JonesForth. It's ~2000 lines of HEAVILY commented assembly, and at then you have everything you need to start writing a fully functional…
    comment by Avshalom · 2020-06-08 · in Collapse OS – Why Forth?
  31. Really beautifully written and documented code! https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by DonHopkins · 2020-04-07 · in Jonesforth: Implementing Forth in Assembly
  32. …UEFI. The best resource is probably the OS Dev wiki, though. It has a ton of great resources. [1]: https://github.com/nornagon/jonesforth [2]: https://github.com/c2d7fa/jonasforth [3]: https://johv.dk/blog/bare-metal-assembly-tutorial.html…
  33. …for your suggestion! However, I'm a sucker for text diagrams (ever since I saw them in Jonesforth: https://github.com/nornagon/jonesforth/blob/master/jonesfort... ), so I strongly prefer to leave them as they stand. Hopefully they're still…
    comment by fpereiro · 2020-01-22 · in How I write back ends
  34. …implementation suitable for reading start-to-finish. [0] https://www.gnu.org/software/gforth/ [1] https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by RodgerTheGreat · 2020-01-15 · in Stack-Oriented Programming
  35. …something several times. Take a look at a sample implementation of IF/ELSE/THEN and DO/LOOP: https://github.com/nornagon/jonesforth/blob/4f853252f715132e... Forth also has anonymous words (:NONAME), so you can dynamically define a…
    comment by int_19h · 2020-01-15 · in Stack-Oriented Programming
  36. https://github.com/nornagon/jonesforth/blob/4f853252f715132e...
    comment by boygobbo · 2019-12-18 · in Thoughts on Forth Programming
  37. …from one to the next. If you have some spare time reading this implementation is very enlightening: https://github.com/nornagon/jonesforth/blob/master/jonesfort... Though I appreciate it is a little low-level it explains things very well,…
    comment by stevekemp · 2019-12-18 · in Thoughts on Forth Programming
  38. …have token-parsing streams. Lisps are extremely tree-oriented, but Forths are stack-oriented. [0] https://github.com/nornagon/jonesforth
  39. …ARM, and other machines. If you're looking for something in C, you might check out Ficl. [1] [0] https://github.com/nornagon/jonesforth/blob/master/jonesfort... [1] http://ficl.sourceforge.net
    comment by bdowling · 2019-09-03 · in Forth: The Hacker’s Language (2017)
  40. A long time ago I wrote a tutorial for FORTH. It's in two parts, a part written in i386 assembly: https://github.com/nornagon/jonesforth/blob/master/jonesfort... followed by a part written in FORTH: https://github.com/nornagon/jonesforth/bl…
    comment by rwmj · 2019-05-24 · in Retro: A Modern, Pragmatic Forth
  41. …years prior. I think my favorite Forth introduction comes at it from the other direction, though: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  42. …up and running ASAP, and write the assembler, if one still is needed, in that Forth. looking at https://github.com/nornagon/jonesforth/blob/master/jonesfort... for a simple example, that needs assembler labels and macros, but I think a few…
  43. …back to making good software in typical languages aided by the enlightenment you've attained :) [1] https://github.com/nornagon/jonesforth/blob/master/jonesfort... [2] https://github.com/nornagon/jonesforth/blob/master/jonesfort... [3]…
  44. …a passion‽‽‽), as of course could be Forth. Perl & Python are too big and not minimal enough. 0: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
    comment by zeveb · 2018-03-28 · in The Oforth Programming Language
  45. …I don't entirely understand), I would recommend Richard Jones' jonesforth as reference for this: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
  46. …in implementing simple programming languages might also want to take a look at jonesforth. [0]: https://github.com/nornagon/jonesforth
    comment by fasquoika · 2017-11-27 · in Lisp in fewer than 200 lines of C
  47. …FORTH -- or rather, a subset of FORTH initially that builds up and adds features as it goes along: https://github.com/nornagon/jonesforth/blob/master/jonesfort... Try scrolling down the file, and notice how the comment syntax changes from…
  48. I'd add JonesForth (mirrored at https://github.com/nornagon/jonesforth ) to that list of literate programming examples.