8 lines
324 B
Plaintext
8 lines
324 B
Plaintext
This is an extremely simple compiled stack based language.
|
|
|
|
It has 4 instructions; pushing numbers onto the stack, adding (with +),
|
|
printing+popping values (with p), and duplicating items on the stack (with dup).
|
|
|
|
Running `make' will build the compiler and compile the example source.stk
|
|
program into a binary called `exe'.
|