Re: Postscript grammar available !
Monday, February 11, 2002 05:40 PM
Not that I'm aware of. PS is a very simple stack machine so it should be pretty easy. Lexically it's just words and numbers plus some simple punctuation I think.
What do you want to do with it? I remember building one for Adobe Illustrator (subset of EPS I think) that was a bit of a pain since I wanted to execute the commands. I remember needed a bunch of lookahead to see past all of the arguments (they are first then the function name).
Heh, i found an old PCCTS grammar for illustrator postscript. You want it? mail your email to parrt at jguru dot com.