mjoork's Stack-Oriented Programming Language

This is a work in progress implementation.

Download latest version of REPL for Windows

Language reference

0, -1, 3.333
Push numbers on top of the stack by writing them.
+, -, *, /
Pops and applies the math operation on the two top-most stack values and pushes the result on the stack.
=
Pops and compares two top-most stack values. pushes 1 if equal, 0 if not.
swap
Swap two top-most stack values.
dupe
Duplicate the top-most stack value.
.
Pop & print top-most stack value.

REPL Commands

help
Print this reference.
quit
Stop the REPL.
check
Print the stack with an arrow pointing to the top of the stack.
clear
Clear the stack (effectively resetting the REPL).