I did this in 1993 in a first year programming class. I look around at home and see if I still have the notes ...
(Hint: when righting the parser to evaluate infix expressions, you use a stack. It turns out that this stack is in fact a postfix representation. Cool eh?) >Greetings > >> On Thu, 2002-08-22 at 13:17, C Falconer wrote: >> > What do you use to edit a .ps ? >> I use XEmacs, but you can use any other text editor that you want. Ok, I >> am a sick weird who actually *understands* PostScript code --- I blame my >> Dad and his RPN calculator that I used as a kid. AFIK there are very few >> decent PS editors because the language is Turing-complete and a bit had to >> read in again :( > >Speaking of which, anybody know how to easily translate conventional >(parenthesised) syntax into reverse polish notation? (Or do I just write >a parser and deal) > >Theuns >KRN >------------------------------------------------------------- >Theuns Verwoerd 27 Nazareth Avenue >Software Engineer PO Box 8011 >Allied Telesyn Research Christchurch >phone +64 3 339 3000 New Zealand >fax +64 3 339 3002 email: [EMAIL PROTECTED] > web: http://www.alliedtelesyn.co.nz/ >------------------------------------------------------------- > >
