Article View: comp.lang.postscript
Article #2031Re: Compiling PostScript code
From: Peter da Silva
Date: Fri, 28 Aug 1992 12:41
Date: Fri, 28 Aug 1992 12:41
25 lines
1580 bytes
1580 bytes
In article <1992Aug28.032106.28216@adobe.com> delahunt@adobe.com (Jim DeLaHunt) writes:
>In article <1992Aug24.023510.25470@cs.brown.edu> jgm@cs.brown.edu (Jonathan Monsarrat) writes:
>>Is there a "PostScript Compiler" that generates compressed PS from
>>big ol' whitespace-filled long-named PS?
>Do you have a C compiler available? Use its preprocessor to macro-
>substitute short names for long ones.
I would recommend against that. The problem is that cpp "knows" about C, and
different implementations may do different things if the input isn't valid C.
For example, some tokenize to C tokens on input (like one I used on a DEC20)
and will make a complete hash of things:
(This is a "string" "like this"\367)
Might become:
( This is a "stringlike this" ? 367 )
Use sed, or m4, or some other generalised text processing or macro tool.
--
`-_-'
Have you hugged your wolf today? 'U`
Peter da Silva, Taronga Park BBS, Houston, TX +1 713 568 0480/1032
Technical Details
Message-ID:
<UWQIJAA@taronga.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!news.larc.nasa.gov!lll-winken!uwm.edu!rpi!newsserver.pixel.kodak.com!psinntp!psinntp!sugar!taronga!peterReferences:
<1992Aug24.023510.25470@cs.brown.edu> <1992Aug28.032106.28216@adobe.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!news.larc.nasa.gov!lll-winken!uwm.edu!rpi!newsserver.pixel.kodak.com!psinntp!psinntp!sugar!taronga!peter From: peter@taronga.com (Peter da Silva) Newsgroups: comp.lang.postscript Subject: Re: Compiling PostScript code Message-ID: <UWQIJAA@taronga.com> Date: 28 Aug 92 12:41:18 GMT References: <1992Aug24.023510.25470@cs.brown.edu> <1992Aug28.032106.28216@adobe.com> Distribution: comp.lang.postscript Organization: Taronga Park BBS Lines: 25