Pscript virtual machine