Skip to content

Attempting an implementation of Forth with little to no knowledge of Forth

License

Notifications You must be signed in to change notification settings

aghorui/blindforth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlindForth

BlindForth is an attempted implementation of Forth, done with little to no knowledge of how Forth works, or what Forth is.

BlindForth's sourcecode is intended to act as a literary document which details the process of making a compiler, somewhat similar to Literate Programming.

BlindForth is also being written with the intent of teaching myself how to write compilers and interpreters, and create a substantial reference for designing compilers, interpreters and related tools in the future.

This project is in a very rudimentary stage. Eventually a list of Markdown documents will be added which will be converted from the source code files in this repository. However if you would like to start reading anyway, I recommend starting from the tokenizer.cpp file.

Here's an approximate order of the documents that will be written.

  • Tokenizer (Ongoing)
  • Parser
  • Semantic Analyzer
  • Standard Library
  • Interpreter

About

Attempting an implementation of Forth with little to no knowledge of Forth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published