From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 26F3EBC28 for ; Fri, 5 Nov 2004 21:02:03 +0100 (CET) Received: from btr0x1.rz.uni-bayreuth.de (btr0x1.rz.uni-bayreuth.de [132.180.8.29]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iA5K22ki017807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 5 Nov 2004 21:02:02 +0100 Received: from btn1x1.inf.uni-bayreuth.de (btn1x1.inf.uni-bayreuth.de [132.180.192.6]) by btr0x1.rz.uni-bayreuth.de (8.12.10/8.12.10) with ESMTP id iA5K1vwh025924; Fri, 5 Nov 2004 21:01:57 +0100 (MET) Received: from inf.uni-bayreuth.de (btn1x1.inf.uni-bayreuth.de [132.180.192.6]) by btn1x1.inf.uni-bayreuth.de (8.12.3/8.12.3/SuSE Linux 0.6) with SMTP id iA5K1vI0026995; Fri, 5 Nov 2004 21:01:57 +0100 Received: from pd9543ef5.dip.t-dialin.net ([217.84.62.245]) (SquirrelMail authenticated user wmueller) by btn1x1.inf.uni-bayreuth.de with HTTP; Fri, 5 Nov 2004 21:01:57 +0100 (CET) Message-ID: <35291.217.84.62.245.1099684917.squirrel@btn1x1.inf.uni-bayreuth.de> Date: Fri, 5 Nov 2004 21:01:57 +0100 (CET) Subject: Re: [Caml-list] [Too hard?] Print values like the toplevel's printer From: "=?iso-8859-1?Q?Wolfgang_M=FCller?=" To: In-Reply-To: <006a01c4c36d$4d4d9c40$0100a8c0@mshome.net> References: <006a01c4c36d$4d4d9c40$0100a8c0@mshome.net> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , , , , X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 418BDC3A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 toplevel's:01 rauglaudre:01 wrote:01 ioxml:01 ocaml:01 debugging:01 syntax:01 muller:01 functions:01 functions:01 readable:02 data:02 data:02 hoc:02 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: >> Daniel de Rauglaudre wrote a Camlp4 extension that lets you export >> (and import) non-circular data to XML (it reads type definitions and >> uses this to insert the ad hoc export/import functions). >> This is called IoXML. Maybe it has not been updated for the 3.08 >> version of Camlp4. > I used it all the times and this library does not work with OCaml 3.08. > If have made > a little modification and it seems to work (for my data). If you need > it, I could sent you > this modification. Oh, this looks very much as if it would be interesting for me. I am mainly interested in generating quickly human readable output as I am a "debugging by logging" person. This sounds exactly like what I need. Thanks a lot to all of you who answered for your helpful postings. Wolfgang > ps: >> It should be not too difficult to adapt it for printing data with an >> OCaml-compliant syntax. > Juste change the name and the type of some functions. This sounds very attractive.