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
20082026
-
…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) -
…JonesForth (where like 90% of the assembly source is comments explaining everything in detail): https://github.com/nornagon/jonesforth/blob/master/jonesfort...
comment by int_19h · 2024-11-21 · in The FORTH code for Chipwits is released in the game's 40th anniversary -
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…
comment by cess11 · 2024-06-23 · in As you learn Forth, it learns from you (1981) -
…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 -
…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,…
comment by xelxebar · 2024-02-08 · in Thinking Forth: A Language and Philosophy for Solving Problems (2004) [pdf] -
…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? -
…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…
comment by jacquesm · 2023-07-16 · in Dusk OS: 32-bit Forth OS. Useful during first stage of civilizational collapse -
…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...
comment by version_five · 2023-02-25 · in Forth: The programming language that writes itself -
…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) -
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 -
…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) -
…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…
comment by drivers99 · 2022-11-13 · in Ask HN: What are your “scratch own itch” projects? -
JonesForth ( https://github.com/nornagon/jonesforth/blob/master/jonesfort... )
comment by xkriva11 · 2022-09-11 · in Ask HN: What's the best source code you've read? -
…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) -
…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…
comment by rwmj · 2022-05-13 · in Jonesforth – A sometimes minimal Forth compiler and tutorial (2007) -
…a literate programming style. The prose is excellent and the whole thing is worth reading through. https://github.com/nornagon/jonesforth/blob/master/jonesfort...
comment by Extigy · 2022-01-15 · in Show HN: Different ways to implement virtual machines, benchmarked -
…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 -
…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...
comment by qgc · 2021-12-10 · in Show HN: PlanckForth – Bootstrapping an interpreter from handwritten 1kb binary -
…line-by-line. If you're interested in Forth, JonesForth is another classic literate program: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
comment by qgc · 2021-11-25 · in A Meta-compiler, an implementation of eForth, and a tutorial on both -
…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 -
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 -
…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 -
…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…
comment by version_five · 2021-11-03 · in Ask HN: What piece of code could deserve a Pulitzer prize? -
…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 -
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 -
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 -
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++ -
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 -
…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...
comment by AQXt · 2020-09-14 · in Bootstrapping a Forth in 40 lines of Lua code (2008) -
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? -
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 -
…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…
comment by a7b3fa · 2020-04-07 · in Jonesforth: Implementing Forth in Assembly -
…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 -
…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 -
…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 -
https://github.com/nornagon/jonesforth/blob/4f853252f715132e...
comment by boygobbo · 2019-12-18 · in Thoughts on Forth Programming -
…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 -
…have token-parsing streams. Lisps are extremely tree-oriented, but Forths are stack-oriented. [0] https://github.com/nornagon/jonesforth
comment by lidHanteyk · 2019-12-17 · in Why Lisp macros are cool, a Perl perspective (2005) -
…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) -
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 -
…years prior. I think my favorite Forth introduction comes at it from the other direction, though: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
comment by zoltar · 2019-03-06 · in Let over Lambda – Common Lisp Book (2008) -
…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…
comment by Someone · 2018-12-08 · in BATAS: 8086 assembler written in MSDOS batch -
…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]…
comment by sharkbot · 2018-10-02 · in Should you learn C to “learn how the computer works”? -
…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 -
…I don't entirely understand), I would recommend Richard Jones' jonesforth as reference for this: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
comment by alatz · 2018-03-19 · in Historical recreation/restoration of original Forth on the IBM 1130 -
…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 -
…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…
comment by rwmj · 2015-09-08 · in Jonesforth – A sometimes minimal FORTH compiler and tutorial (2007) -
I'd add JonesForth (mirrored at https://github.com/nornagon/jonesforth ) to that list of literate programming examples.
comment by AKrumbach · 2015-05-26 · in Ask HN: What are the most beautiful and readable tutorials you have seen?