A simple forth interpreter in C++
If you wrote multi-line code for aartforth, you have to use this website to convert it into a one-liner
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.
to compile aartforth:
g++ aartforth.cpp -o aartforth
to enter to the REPL:
./aartforth
REPL example:
2 2 + .