But implementing Forth on my CPU, and getting proficient at using it, is definitely something I'd like to do at some point!
But implementing Forth on my CPU, and getting proficient at using it, is definitely something I'd like to do at some point!
Try reading Jonesforth, a literate Forth implementation in one x86 assembly file and one Forth file. You can read it top to bottom and it will explain how everything works step-by-step.
https://rwmj.wordpress.com/2010/08/07/jonesforth-git-reposit...
Github mirror: https://github.com/nornagon/jonesforth
It's something that many programming language tutorials miss: exploring the possibility space and teaching you the language's expressive power
Thinking Forth: http://thinking-forth.sourceforge.net/
In combination, very effective introduction to programming in Forth including how to go about combining those building blocks.