On Wed, Aug 27, 2008 at 5:52 PM, Daishi Kato <[EMAIL PROTECTED]> wrote: > Hi, > > This is more like a general scheme or lisp question, > but does anybody know how I can get a formal rule > for pretty print? > > I want to implement pretty print in non-scheme > programming language.
Not Scheme at all, but you might enjoy these: Philip Wadler, "A prettier printer". http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf The Design of a Pretty-printing Library in Advanced Functional Programming, Johan Jeuring and Erik Meijer (eds), LNCS 925 http://www.cs.chalmers.se/~rjmh/Papers/pretty.ps Best, Graham _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
