opfez 07b7d3bc7a | ||
---|---|---|
Makefile | ||
compiler.hs | ||
footer.asm | ||
header.asm | ||
readme | ||
source.stk |
readme
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'.