This interpreter is written in Python, so save it as zombie.py
. Write your ZOMBIE program in a separate file, something like myzombiefile.z
. If you are running it on Windows, you'll need to run it using python as in:
python zombie.py myzombiefile.z
If you are running on Linux, you can just chmod zombie.py
to be executable using:
chmod +x zombie.py
and then have it interpret your ZOMBIE program using:
zombie.py myzombiefile.z