All Projects → owainlewis → Forth

owainlewis / Forth

A micro compiler for the FORTH programming language

Programming Languages

ocaml
1615 projects

FORTH

A micro compiler for the FORTH programming language

I wanted to learn more about FORTH and given how little info there is online writing an interpreter seemed like a good way to learn something.

# Forth> "5 DUP +";;
- : token list = [INT 10]

# Forth> "5 DUMP 6 DUMP + DUMP 7 DUMP 8 DUMP + DUMP";;
[ 5 ]
[ 6 5 ]
[ 11 ]
[ 7 11 ]
[ 8 7 11 ]
[ 15 11 ]
- : unit = ()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].