🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.postscript
7 messages
7 total messages Started by Adrian Thomas Filipi-Martin Mon, 25 Jan 1993 18:19
Is there a PostScript Code Beautifier?
#6503
Author: Adrian Thomas Filipi-Martin
Date: Mon, 25 Jan 1993 18:19
18 lines
1248 bytes
--

Hi,
	As the subject says, "Is there a PostScript Code Beautifier?" I would 
like to be able to reformat computer generated code to make it more human 
readable. 

	If there isn't one. Is there any standard way that people like to 
fomat their code? I may wirte asimple one myself, if necessary.

Thanks,
  Adrian
----------------------------------+--------------------------------------------
adrian@cs.wm.edu          ---->>>>| Support you local programmer,
adrian@cebafi.cebaf.gov     --->>>| STOP Software Patent Abuses NOW!
Member: The League for        -->>| membership info at prep.ai.mit.edu:/pub/lpf
       Programming Freedom      ->| print "join.ps" for an application
----------------------------------+--------------------------------------------
Re: Is there a PostScript Code Beautifier?
#6504
Author: Allen B
Date: Mon, 25 Jan 1993 19:33
23 lines
1423 bytes
In article <1993Jan25.181959.5976@murdoch.acc.Virginia.EDU>  
filipi@cebaf9.cebaf.gov (Adrian Thomas Filipi-Martin) writes:
> 	As the subject says, "Is there a PostScript Code Beautifier?" I would 
> like to be able to reformat computer generated code to make it more human 
> readable. 
> 
> 	If there isn't one. Is there any standard way that people like to 
> fomat their code? I may wirte asimple one myself, if necessary.

I have been working on a set of code format
recommendations, similar to the C style guide.  I'm not
done yet, but was hoping to be before the sources group got
started.  If there's interest, I'll post some drafts next
week.

As for code formatters, no, I haven't seen any, though
I've heard there are some.  If the code to be formatted is
really bad, the formatter would almost need to be written
in PostScript or possess big chunks of a PostScript
interpreter.  I'd be willing to try to give an alleged
formatter a heart attack. :-)

ab
Re: Is there a PostScript Code Beautifier?
#6509
Author: David Dantowitz
Date: Tue, 26 Jan 1993 00:00
11 lines
839 bytes
Check the Adobe file server for ps format.  It works great for most
code.  I've used it for years.  It had one bug last I checked in
handling long lines.

David
-- 
David Dantowitz
david@cs.ucla.edu

Singing Barbershop when I'm not doing parallel simulation
Re: Is there a PostScript Code Beautifier?
#6510
Author: Eric P. Scott
Date: Tue, 26 Jan 1993 03:06
17 lines
964 bytes
In article <C1FD0o.DuB@mentor.cc.purdue.edu>
	ab@nova.cc.purdue.edu (Allen B) writes:
>I have been working on a set of code format
>recommendations, similar to the C style guide.

Gee, I always thought the standard answer was, "follow the style
used in the Green Book."  :-)

>As for code formatters, no, I haven't seen any, though
>I've heard there are some.

Send mail to ps-file-server@adobe.com containing
index Programs

You'll find all sorts of goodies there.

					-=EPS=-
Re: Is there a PostScript Code Beautifier?
#6516
Author: Christian Hnilica
Date: Tue, 26 Jan 1993 06:18
22 lines
1411 bytes
In article 5976@murdoch.acc.Virginia.EDU, filipi@cebaf9.cebaf.gov (Adrian Thomas Filipi-Martin) writes:
>--
>
>Hi,
>	As the subject says, "Is there a PostScript Code Beautifier?" I would 
>like to be able to reformat computer generated code to make it more human 
>readable. 
>
>	If there isn't one. Is there any standard way that people like to 
>fomat their code? I may wirte asimple one myself, if necessary.


Sun Microsystem offers such a beast as Part of OpenWindows 3.0
(distributed with SunOS 4.1.x) and OpenWindows 3.0.1 (distributed
with Solaris 2.x).

------------------------------------------------------------------
Christian Hnilica		       ALCATEL Austria AG
Systemmanager			       Scheydgasse 41, A-1210 Wien
Christian.Hnilica@alcatel.co.at	       Tel: +43 1 27722 2795
			               FAX: +43 1 27722 100
------------------------------------------------------------------
Re: Is there a PostScript Code Beautifier?
#6514
Author: G.D.Pratt
Date: Tue, 26 Jan 1993 10:47
18 lines
1275 bytes
Adrian Thomas Filipi-Martin (filipi@cebaf9.cebaf.gov) wrote:
: 	As the subject says, "Is there a PostScript Code Beautifier?" I would 
: like to be able to reformat computer generated code to make it more human 
: readable. 
: 
There is one at the ADOBE archive which you can ftp to with

	ftp ftp.ADOBE.COM

It is in the directory /pub/adobe/Programs:-

-r--r--r--  1 root     system      10745 May  1  1992 psformat.shar


--
gerry pratt - workstation support programmer - university of keele - ENGLAND
email:  gerry@seq1.keele.ac.uk ( DYNIX? - just say no!! ) tel:UK 0782 583072
"these opinions are mine, mine, Mine, Mine, MINE......ALL MINE I TELL YOU!!"
Re: Is there a PostScript Code Beautifier?
#6535
Author: Paul Rosham
Date: Wed, 27 Jan 1993 02:20
10 lines
932 bytes
ab@nova.cc.purdue.edu (Allen B) writes:
>In article <1993Jan25.181959.5976@murdoch.acc.Virginia.EDU>  
>filipi@cebaf9.cebaf.gov (Adrian Thomas Filipi-Martin) writes:
>> 	As the subject says, "Is there a PostScript Code Beautifier?" I would 
>> like to be able to reformat computer generated code to make it more human 
>> readable. 

Sun's OpenWindows has a program called 'psindent' that may help.

-PaulR.
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