PS as one of the PDLs languages is thoroughly explained here. Along with it this page briefly answers the question "What is a PS document?"...primitive operators, but also procedures, control operators, and variables... PostScript language has operators for working with: graphics...