Skip to content

Implementation of forth programming language in fsharp for learning purposes.

Notifications You must be signed in to change notification settings

stephensong/FsForth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Implementation of forth programming language in fsharp for learning purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 90.5%
  • F# 9.3%
  • Other 0.2%