From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA06450; Tue, 5 Feb 2002 15:15:20 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA06327 for ; Tue, 5 Feb 2002 15:15:18 +0100 (MET) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g15EFHH21060; Tue, 5 Feb 2002 15:15:17 +0100 (MET) Received: from chopin.ai.univie.ac.at (root@chopin.ai.univie.ac.at [131.130.174.170]) by fichte.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id PAA14409; Tue, 5 Feb 2002 15:15:16 +0100 Received: (from markus@localhost) by chopin.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id PAA27807; Tue, 5 Feb 2002 15:15:16 +0100 Date: Tue, 5 Feb 2002 15:15:16 +0100 From: Markus Mottl To: Daniel de Rauglaudre Cc: caml-list@inria.fr Subject: Re: [Caml-list] pretty-printing with camlp4 Message-ID: <20020205141516.GB26898@chopin.ai.univie.ac.at> Mail-Followup-To: Daniel de Rauglaudre , caml-list@inria.fr References: <20020205121705.GC25187@chopin.ai.univie.ac.at> <20020205140322.D23898@verdot.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020205140322.D23898@verdot.inria.fr> User-Agent: Mutt/1.3.26i Organization: Austrian Research Institute for Artificial Intelligence Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 05 Feb 2002, Daniel de Rauglaudre wrote: > On Tue, Feb 05, 2002 at 01:17:05PM +0100, Markus Mottl wrote: > > I would like to adapt pretty-printing of OCaml-sources with camlp4 to > > match my style. What would be the best way to go about this? Just copy > > e.g. camlp4/etc/pr_o.ml and change it to my needs? > > You can do that indeed, but my pretty printer is badly written, it is > probably difficult to understand. I should rewrite it using Format one > day, but it is a big work. Indeed, it's quite complex. It would be really nice to see it use the Format-module... Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr