Chrysanne@cs.toronto.edu, DiMarco@cs.toronto.edu (10/07/89)
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.