🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #710

Re: pretty printer

#710
From: Michael A. Covington
Date: Fri, 11 Sep 1992 15:21
20 lines
1151 bytes
By all means let's work on it!  

What we need is, as Paul Singleton says, a parser that parses Prolog and
also preserves white space, or at least comments.

I propose:    boldface for functors
              roman for variable names
              Courier for quoted strings ('this' and "this")
              italics for comments

Output formats:   LaTeX
                  Word Perfect without header (simple)
                  perhaps others

First of all, does someone have the appropriate parser?  It should be a
very minor modification of an ordinary Prolog parser.

-- 
+ Michael Covington - Artificial Intelligence Programs - U of Georgia - USA 
+ Unless otherwise noted, these are private opinions, not official statements.
Technical Details
Message-ID: <1992Sep11.152125.5315@athena.cs.uga.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!emory!athena.cs.uga.edu!mcovingt
References: <1992Sep11.091413.676@tom.rz.uni-passau.de> <4053@keele.keele.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!emory!athena.cs.uga.edu!mcovingt
From: mcovingt@athena.cs.uga.edu (Michael A. Covington)
Newsgroups: comp.lang.prolog
Subject: Re: pretty printer
Message-ID: <1992Sep11.152125.5315@athena.cs.uga.edu>
Date: 11 Sep 92 15:21:25 GMT
References: <1992Sep11.091413.676@tom.rz.uni-passau.de> <4053@keele.keele.ac.uk>
Organization: University of Georgia, Athens
Lines: 20