Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!caen!uwm.edu!linac!att!emory!athena.cs.uga.edu!mcovingt From: mcovingt@athena.cs.uga.edu (Michael A. Covington) Newsgroups: comp.lang.prolog Subject: Tree drawing Message-ID: <1991Feb16.035944.3055@athena.cs.uga.edu> Date: 16 Feb 91 03:59:44 GMT Organization: University of Georgia, Athens Lines: 20 Has anyone written a routine to display a Prolog structure in tree form, so that for example s(np(d(the),n(dog)),vp(v(barked))) prints as something like this: --? s | ---------- np vp | | ------ | | | | d n v the dog barked This is obviously useful for displaying the output of a parser, but it also has other uses.