pub fn compile(program: &Program) -> StackProgram
Compile a dice program to run on the stack machine.