2.2 iswim
Refer to the exercise policy for details.
Implement an interpreter for ISWIM with a small set of primitive
operations for basic arithmetic. The choice of whether to use big-step
or small-step and the standard reduction is up to you. Obviously,
you’ll learn more by doing both. I highly recommend not writing a
parser, because you’ll almost certainly do it wrong. Just construct
your program representations directly in the code.