You can download the PDPlot-2 simulator here. Strange as it may seem, it is written in Haskell.
The simulator accepts a PDPlot-2 code file and a data file, runs it on the simulator and generates a postscript file displaying the resulting image.
You will also need to download my ancient Graphics package.
You can run the simulator in ghci or compile it with ghc. When run,
the simulator will ask for the path of the file containing the
PDPlot-2 program produced by your compiler. It will also ask
for the path of the input data file. If your program does not read
from input, you still need to give a valid path here. (Apologies for
my laziness.) The output will be produced as a postscript image in a
file whose name is given by appending ".ps" to the
program path name.
I have also written a PDPlot-2 disassembler that you may find useful for testing and debugging. Again I have written it in Haskell.
The program will ask for the path of a file containing a
PDPlot-2 program, and will produce a file whose name is given
by appending ".asm" to the program path name.
Be aware that the disassembler is quite primitive. It only looks at certain bit patterns and can easily interpret a data value as an instruction.