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 KAA31787; Fri, 30 Aug 2002 10:34:56 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA31824 for ; Fri, 30 Aug 2002 10:34:55 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g7U8YsD08941 for ; Fri, 30 Aug 2002 10:34:54 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id KAA09341 for caml-list@inria.fr; Fri, 30 Aug 2002 10:34:54 +0200 Date: Fri, 30 Aug 2002 10:34:54 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] camlp4: pretty printing not to a file Message-ID: <20020830103454.C8876@verdot.inria.fr> References: <5B049D08-BB80-11D6-9EB3-00039375801A@yahoo.com> <20020830074629.GA4422@barcelona.lrde.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20020830074629.GA4422@barcelona.lrde.epita.fr>; from yann@lrde.epita.fr on Fri, Aug 30, 2002 at 09:46:29AM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Fri, Aug 30, 2002 at 09:46:29AM +0200, Yann Régis-Gianas wrote: > Yes. The first time I tried to print AST with camlp4, I > thought that camlp4 should be called camlp2 ... In fact, it is due to > the poor documentation about printers. Indeed. The pretty printing in Camlp4 is not as developped as the parsing. For the moment I don't have clear ideas to how to have good pretty printing facilities with extensibility. This exists, but it is experimental and incomplete and is likely to change. I prefer not document that. Remark: Jeff's question was actually about parsing, not pretty printing. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners