To run the program:
Put the PL/0 code into a file named pl0.txt
Put pl0.txt into the folder with scanner.c, parser.c, virtualmachine.c, and controller.c
Compile controller.c with a C compiler
Run the executable file that was produced by the compiler
Note:
Running with -l prints out lexemes, -a prints out assembly, -v prints out the output.
The program can be run with any combination of the above.