Path: utzoo!utgpu!jarvis.csri.toronto.edu!neat.cs.toronto.edu!cdi Newsgroups: comp.lang.prolog From: Chrysanne@cs.toronto.edu, DiMarco@cs.toronto.edu Subject: Prettyprinter needed Message-ID: <89Oct6.165934edt.2551@neat.cs.toronto.edu> Keywords: prettyprinter Sender: Chrysanne DiMarco Reply-To: cdi@ai.toronto.edu Organization: Department of Computer Science, University of Toronto Distribution: na Date: 6 Oct 89 21:00:05 GMT I need a prettyprinter to do what I am sure is a standard operation, but I'm not sure how to do it myself. I want to be able to display a functor structure like: parse(adverbial_clause, time_clause, adverb(when), subject(the, happy, peasant), predicate(verb(sang))) in the following prettyprinted format: parse adverbial_clause time_clause adverb when subject the happy peasant predicate verb sang The actual structures get extremely nested. If anyone has such a prettyprinter or can point me to one, I would appreciate the help.