Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!leafusa!edb From: edb@HQ.Ileaf.COM (Ed Blachman x4420) Newsgroups: comp.text Subject: Re: Wanted: Tower of Hanoi Solution Message-ID: <1991Mar4.163007.26085@HQ.Ileaf.COM> Date: 4 Mar 91 16:30:07 GMT References: <8564@exodus.Eng.Sun.COM> <1991Feb28.233931.2615@HQ.Ileaf.COM> <1991Mar1.191413.7453@mtxinu.COM> Reply-To: edb@HQ.Ileaf.COM (Ed Blachman) Organization: The Waltham Home for the Smiley-Impaired Lines: 35 In article <1991Mar1.191413.7453@mtxinu.COM> jaap@mtxinu.UUCP (Jaap Akkerhuis) writes: > In article <1991Feb28.233931.2615@HQ.Ileaf.COM> edb@HQ.Ileaf.COM (Ed Blachman) writes: > > In article <8564@exodus.Eng.Sun.COM> tut@cairo.Eng.Sun.COM (Bill "Bill" Tuthill) writes (tongue-in-cheek, I assume): > > > We have converted most of our documents from troff to FrameMaker, > > > but I am unable to convert this Tower of Hanoi program written > > > in troff. Could anyone supply the equivalent for FrameMaker or > > > Interleaf? Thanks in advance. > > > > > > [etc.] > > > > Here is a way to do this with Interleaf 5: > > > > [silly lisp program removed] > > agree) understandably not quite as terse. > > > > We hope this was what you were looking for.... ;^) > > > > I would consider it cheating. Excuse me? Did I miss a smiley here or something? Bill's Tower of Hanoi solution was an nroff macro; the one that Paul and I wrote was an Interleaf macro. It just happens that the Interleaf macro language is Interleaf lisp... but how does that make it cheating? > It would be like calling a lisp program from troff with > .sy lisp hanoi > hanoi.out > and capture the result with > .so hanoi.out Actually, I considered a solution of that sort: using Interleaf lisp to invoke troff (with Bill's input) as an external process. Now *that* would have been cheating... I guess. ;^) Ed Blachman edb@ileaf.com (or) ...!uunet!leafusa!edb