A forth interpreter created in C#
C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Bip Bop Forth Sharp
Bip Bop Forth Sharp.sln
Bip Bop Forth Sharp.suo
README.md

README.md

Bip-Bop-Forth-Sharp

A forth interpreter created in C#

Currently implemented:

+,-,/,*

dup - duplicate top item on stack

create - create a variable at the next available space

! - store second number on stack at address directed with number on top of stack

@ - fetch number from memory address using number at top of stack and put the result on stack

:; define new words

. print top of stack to terminal

example code:

: squr dup * ;

5 squr .