Thread View: comp.lang.postscript
5 messages
5 total messages
Started by games
Thu, 03 Sep 1992 17:07
Postscript as a REAL programming language.
Author: games
Date: Thu, 03 Sep 1992 17:07
Date: Thu, 03 Sep 1992 17:07
18 lines
1233 bytes
1233 bytes
Pistscript is sure cool. It just hit me though that (not for production purposes) postscript could be abused into doing like regular programs. Like if you were stupid, and worked real hard at the code, you might even get a postscript printer to boot DOS? or is there a showstopper? Obviously, you have an input device (attach your keyboard to the serial port, via your favorite terminal emulater), and you can spit messages out the serial port, right?, and even if you cant, you still have a printer for feedback to the user... I know that this is a wierd thing to contemplate, and I for one never intend to even come close to trying such a thing, but I just want to know if it might be possible... 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? John.
Re: Postscript as a REAL programming language.
Author: Lance R. Bailey
Date: Thu, 03 Sep 1992 21:20
Date: Thu, 03 Sep 1992 21:20
26 lines
1885 bytes
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
Re: Postscript as a REAL programming language.
Author: Paul A Palmer
Date: Fri, 04 Sep 1992 06:27
Date: Fri, 04 Sep 1992 06:27
14 lines
1216 bytes
1216 bytes
In article <1992Sep3.100724.1@max.u.washington.edu> games@max.u.washington.edu writes: 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 was sure I'd seen a Turing machine simulator in postscript, but I can't find any references to it now. Has anyone seen such a beast? -- Paul Palmer Department of Mathematics E-mail: palmerp@math.orst.edu Kidder Hall 368 Oregon State University, Corvallis, Oregon 97331-4605
Re: Postscript as a REAL programming language.
Author: Ray Allis
Date: Fri, 04 Sep 1992 18:12
Date: Fri, 04 Sep 1992 18:12
31 lines
1748 bytes
1748 bytes
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. >Like if you were stupid, and worked real hard at the code, you might even >get a postscript printer to boot DOS? or is there a showstopper? >Obviously, you have an input device (attach your keyboard to the >serial port, via your favorite terminal emulater), and you can spit >messages out the serial port, right?, and even if you cant, you still have >a printer for feedback to the user... >I know that this is a wierd thing to contemplate, and I for one never intend to >even come close to trying such a thing, but I just want to know if it might >be possible... >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? > John. Sun's Network Extendable Window System (NeWS) is an object-oriented multi-threaded client-server window management system that allows you, the user, to write whole applications in Postscript and C, C++, whatever, mix and match as you like. There's a GUI developer (GUIDE) and a user toolkit (TNT). There are several demos included with SunOS, and if you can ftp there's HyperLook and SimCity on uunet. SimCity in Postscript is neat! Ray Allis ray@atc.boeing.com
Re: Postscript as a REAL programming language.
Author: Morgan Jones
Date: Fri, 04 Sep 1992 20:44
Date: Fri, 04 Sep 1992 20:44
18 lines
1179 bytes
1179 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. 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? John. Take a look at Sun's NeWS environment. The majority of our application is written in PostScript (30K+ lines of code). Just think, object oriented PostScript, complete with meta classes. Neat, huh? -- Morgan Jones - morgan@jts.com JTS Computer Systems Ltd., Toronto, Canada
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads