Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-unix!hplabs!pesnta!peora!petsd!cjh From: cjh@petsd.UUCP Newsgroups: comp.lang.misc Subject: Re: Programmable pretty-printers? Message-ID: <944@petsd.UUCP> Date: Tue, 17-Feb-87 13:08:43 EST Article-I.D.: petsd.944 Posted: Tue Feb 17 13:08:43 1987 Date-Received: Wed, 18-Feb-87 20:29:22 EST References: <1704@enea.UUCP> <4299@utah-cs.UUCP> Reply-To: cjh@petsd.UUCP (C. J. Henrich) Organization: Perkin-Elmer DSG, Tinton Falls, N.J. Lines: 28 Summary: A reference [] In article <4299@utah-cs.UUCP> shebs@utah-cs.UUCP (Stanley Shebs) writes: >In article <1704@enea.UUCP> sommar@enea.UUCP(Erland Sommarskog) writes: > >>A programmable pretty-printer (PPP) is an idea that's been in my head for a >>while and I have been thinking that I should write one if I ever get the >>time. > >This isn't a reference to a particular program, but Dick Waters' paper >"User Format Control in a LISP Prettyprinter" in the Oct 1983 TOPLAS >(vol. 5, no. 4) is about how to do it in a Lisp context (although the >idea could be applied to other languages). The main idea is to decouple >formatting from printing and run each as a sort of coroutine. See also a paper by Derek C. Oppen, "Prettyprinting", in Transactions on Programming Languages and Systems, October 1980. Regards, Chris -- Full-Name: Christopher J. Henrich UUCP: ...!hjuxa!petsd!cjh US Mail: MS 313; Concurrent Computer Corporation; 106 Apple St; Tinton Falls, NJ 07724 Phone: (201) 758-7288 Concurrent Computer Corporation is a Perkin-Elmer company.