FORTH is one of the most interesting programming languages, seeing as an implementation can be built in an afternoon of coding, in somehting as low level as assembly language. FORTH is home to many interesting ideas of metaprogramming, and serves as a worthy counterpart to LISP, albiet in the other end of the abstraction scale.
If you are familiar with assembly languages in general, the GNU Assembler’s syntax or the Intel x86 platform, you might want to give Jonesforth a read. It is a well written Literal Programming style implementation of a FORTH for the x86 platform.
Also worth reading: eForth overview (there’s something very annoying going on with the page style that makes the text lines always be just a bit wider than my browser window, no idea what that’s about). This is about how a Forth can get started from an absolutely minimal kernel of native assembly code, and how the rest of the necessary words are defined in Forth.
FORTH is one of the most interesting programming languages, seeing as an implementation can be built in an afternoon of coding, in somehting as low level as assembly language. FORTH is home to many interesting ideas of metaprogramming, and serves as a worthy counterpart to LISP, albiet in the other end of the abstraction scale.
If you are familiar with assembly languages in general, the GNU Assembler’s syntax or the Intel x86 platform, you might want to give Jonesforth a read. It is a well written Literal Programming style implementation of a FORTH for the x86 platform.
Also worth reading: eForth overview (there’s something very annoying going on with the page style that makes the text lines always be just a bit wider than my browser window, no idea what that’s about). This is about how a Forth can get started from an absolutely minimal kernel of native assembly code, and how the rest of the necessary words are defined in Forth.