🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #707

Re: pretty printer

#707
From: Francois-Michel Lang
Date: Fri, 11 Sep 1992 13:26
21 lines
1473 bytes
In article <1992Sep11.091413.676@tom.rz.uni-passau.de> baier@forwiss.uni-passau.de (Joern Baier) writes:

>As the subject says it I'm looking for a pretty printer.
>It should read a source code and write it down in a nicer format.
>It should also be able to deal with comments and keep the vaiable
>names. I have been looking for it in the libraries but I think there is
>nothing appropriate.

A couple of years ago, when I was a heavy-duty Quintus Prolog user,
Dave Bowen sent me a `C' program ppl.c written by Richard that does
exactly what you want.  I used it quite a bit, and it did quite well.

I still have a copy, but I don't think I should post or e-mail it,
because I'm not sure of its copyright status.  Dave?  Richard?
Quintus?  Can this program be shared?

-- 
------------------------------------------------------------------
Francois-Michel Lang          (202) 752-6067   FAX: (202) 752-4463
alufml@fnma.com ............. Fannie Mae; Asset/Liability Strategy
lang@linc.cis.upenn.edu ..... Dept of Comp & Info Science, U of PA
Technical Details
Message-ID: <1992Sep11.132601.27104@almserv.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!almserv!purple!alufml
References: <1992Sep11.091413.676@tom.rz.uni-passau.de>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.prolog
Path: arc1-ca.pugleaf.net!sparky!uunet!almserv!purple!alufml
From: alufml@purple.fnma.com (Francois-Michel Lang)
Subject: Re: pretty printer
Message-ID: <1992Sep11.132601.27104@almserv.uucp>
Sender: usenet@almserv.uucp
Nntp-Posting-Host: purple
Organization: Fannie Mae, Washington, DC
References: <1992Sep11.091413.676@tom.rz.uni-passau.de>
Date: Fri, 11 Sep 1992 13:26:01 GMT
Lines: 21