a canonical stack machine emulator in go