PS as in PostScript?
Seems you would have a need or an application (or at least an idea of one) before embarking on such a project. As far as I know, those are two different animals with two different purposes.
What motivated you?
If it was just an exercise, and you like exercises, and know PostScript, here's a cool one I don't think anyone has taken up -- http://code.v.igoro.us/archives/8-Pr...Generator.html
. I'd actually like to see the code for that if someone manages it.