Skip to content

AnnoyedArt1256/aartforth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aartforth

A simple forth interpreter in C++

note

If you wrote multi-line code for aartforth, you have to use this website to convert it into a one-liner

features

operators, bitwise operations, string and number output, variables, arrays, custom words, do loops, keyboard input through key and key?, random numbers through rand and a sleep/wait function through sleep.

usage

to compile aartforth:

g++ aartforth.cpp -o aartforth

to enter to the REPL:

./aartforth

REPL example:

2 2 + .