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 TAA31930; Mon, 20 Sep 2004 19:50:34 +0200 (MET DST) 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 TAA30691 for ; Mon, 20 Sep 2004 19:50:31 +0200 (MET DST) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i8KHoVKa007094 for ; Mon, 20 Sep 2004 19:50:31 +0200 Received: from localhost (localhost.eecs.harvard.edu [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id E5C8354C81D for ; Mon, 20 Sep 2004 13:50:30 -0400 (EDT) Received: from mail.eecs.harvard.edu ([127.0.0.1]) by localhost (bowser.eecs.harvard.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25766-08 for ; Mon, 20 Sep 2004 13:50:30 -0400 (EDT) Received: by mail.eecs.harvard.edu (Postfix, from userid 32018) id BDBBD54C867; Mon, 20 Sep 2004 13:50:30 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id BB47454C825 for ; Mon, 20 Sep 2004 13:50:30 -0400 (EDT) Date: Mon, 20 Sep 2004 13:50:30 -0400 (EDT) From: Christopher Alexander Stein To: caml-list@inria.fr Subject: [Caml-list] formatting Message-ID: <20040920134814.F3812@bowser.eecs.harvard.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at eecs.harvard.edu X-Miltered: at concorde with ID 414F1867.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; stein:01 stein:01 camlp:01 indenting:01 formatter:01 inserting:01 newlines:01 caml:01 caml:01 alexander:01 arbitrary:02 eecs:03 lex:04 mean:05 spaces:08 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, Is camlp4 able to format Caml code? By formatting, I mean more than just indenting. The formatter I seek would take an arbitrary region of syntactically correct Caml code and format it according to a set of rules; inserting or removing newlines and spaces. Does such a tool exist? Thank you, Lex ------------------- 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