Very simple compiled stack based language.
Go to file
2021-09-08 20:41:55 +02:00
compiler.hs initial 2021-09-08 20:33:33 +02:00
footer.asm initial 2021-09-08 20:33:33 +02:00
header.asm initial 2021-09-08 20:33:33 +02:00
Makefile initial 2021-09-08 20:33:33 +02:00
readme add readme 2021-09-08 20:41:55 +02:00
source.stk initial 2021-09-08 20:33:33 +02:00

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'.