🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2084

Re: Postscript as a REAL programming language.

#2084
From: Lance R. Bailey
Date: Thu, 03 Sep 1992 21:20
26 lines
1885 bytes
In article <1992Sep3.100724.1@max.u.washington.edu> games@max.u.washington.edu  
writes:
>Pistscript is sure cool.  It just hit me though that (not for production 
>purposes) postscript could be abused into doing like regular programs.
mmmm.

>Along the same lines, does anyone have any examp-les of postscript code that
>are aimed at doing things other than laying out a page?

I have done text formatting in Postsrcipt. You feed it a paragraph in the form 
of one long string and it performs linebreaking, indenting &c for you. Very 
handy if you have a section of text to be put on a slide and do not want to
redo the slide in FrameMaker or wha'ever.

I also have done number to text translation in PostScript, that is, 123 gets
translated to One hundred and twenty-three.

Both of these tasks are most arguable done better with a compiled program of
some sort, but in both cases i wanted complete solutions in PostScript.

--
Lance R. Bailey  System/Network Manager         Robarts Research Institute
     NeXT/email: zaphod@ctrg.rri.uwo.ca    box: Clinical Trials Resources Group
            fax: +1 519 663 3789                P.O. Box 5015, 100 Perth Dr.
            vox: +1 519 663 3787 x4108          London, Canada N6A 5K8
Very limited offer: collect your own set of tectonic plates. -- Dan Edwards
Technical Details
Message-ID: <1992Sep3.212021.28@julian.uwo.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!torn!newshost.uwo.ca!news
References: <1992Sep3.100724.1@max.u.washington.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!torn!newshost.uwo.ca!news
From: zaphod@ctrg.rri.uwo.ca (Lance R. Bailey)
Subject: Re: Postscript as a REAL programming language.
Reply-To: zaphod@ctrg.rri.uwo.ca
Organization: University of Western Ontario
Distribution: na
Date: Thu, 3 Sep 1992 21:20:21 GMT
Message-ID: <1992Sep3.212021.28@julian.uwo.ca>
References: <1992Sep3.100724.1@max.u.washington.edu>
Sender: news@julian.uwo.ca (USENET News System)
Nntp-Posting-Host: cupoftea.ctrg.rri.uwo.ca
Lines: 26