FsForth icon indicating copy to clipboard operation
FsForth copied to clipboard

Implementation of forth programming language in fsharp for learning purposes.

This is Richard WM Jones's literate x86 assembly implementation of Forth reimplemented in F#.

All features exclude linux syscals are implemented.

When you are starting forth learning the most interesting part is how to build forth vm from scratch. Jonesforth is one of the best implementations and tutorial at the same time. Unfortunately, it is hard sometimes to understand assembler code so fsForth is an attempt to made it clearer for the developer without deep assembler knowledge.

You just need to open jonesforth.fs and start reading.

Second part jonesforth.f is optional and it is more about how to work with Forth and how to use the full power of the forth programming language including metaprogramming features.

if you want to play with forth then install dotnet core and exec run.cmd (on windows) or ./run.sh on linux.

"Thinking Forth" by Leo Brodie

"Starting forth" by Leo Brodie

forth words

jonesforth

jonesforth github mirror

Forth bad parts