From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 600A1BC69 for ; Mon, 19 Mar 2007 03:27:25 +0100 (CET) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2J2ROjm002712 for ; Mon, 19 Mar 2007 03:27:25 +0100 Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 86159208196 for ; Sun, 18 Mar 2007 22:27:22 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Sun, 18 Mar 2007 22:27:22 -0400 X-Sasl-enc: JSgvZB70fMFzM7v5rtt1dtIpwb5RNEkmdgurZoRHdtXo 1174271244 Received: from adsl-75-13-98-95.dsl.sndg02.sbcglobal.net (adsl-75-13-98-95.dsl.sndg02.sbcglobal.net [75.13.98.95]) by mail.messagingengine.com (Postfix) with ESMTP id 00E8120AD5 for ; Sun, 18 Mar 2007 22:27:23 -0400 (EDT) Date: Sun, 18 Mar 2007 19:27:16 -0700 (PDT) From: Martin Jambon X-X-Sender: martin@droopy To: caml-list@inria.fr Subject: switching to camlp4 3.10 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at discorde with ID 45FDF50C.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ens-lyon:01 camlp:01 camlp:01 syntax:01 cmo:01 mlast:01 cmo:01 foo:01 ocaml:01 foo:01 ocaml:01 jambon:01 jambon:01 loc:03 extension:05 Hello, I started trying to convert my programs so that they support camlp4 3.10. 1) Is there a better source of documentation than http://gallium.inria.fr/~pouillar/camlp4-changes.html? 2) What is the command for preprocessing a simple syntax extension? This used to work: camlp4o pa_extend.cmo q_MLast.cmo pr_o.cmo -loc _loc pa_foo.ml What is now the equivalent command, and how are people supposed to find this out? I understand it should be something like: camlp4o ... -printer OCaml pa_foo.ml or camlp4 -parser OCaml ... -printer OCaml pa_foo.ml Why didn't you change the name of the programs that are not compatible with their previous versions (camlp4, camlp4o, ...)? It would avoid a number confusions and allow the new camlp4 to coexist with the old one. Thanks Martin -- Martin Jambon http://martin.jambon.free.fr