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 21452BC0A for ; Sun, 1 Apr 2007 10:05:08 +0200 (CEST) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l31857iv009094 for ; Sun, 1 Apr 2007 10:05:07 +0200 Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 24C5221060F; Sun, 1 Apr 2007 04:05:08 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sun, 01 Apr 2007 04:05:07 -0400 X-Sasl-enc: ibXdkbrCLfgnx4lpNYVRT1iPL10gn1MXd3xVmUvbMYdr 1175414707 Received: from [75.3.202.71] (adsl-75-3-202-71.dsl.sndg02.sbcglobal.net [75.3.202.71]) by mail.messagingengine.com (Postfix) with ESMTP id F3E4A2A995; Sun, 1 Apr 2007 04:05:06 -0400 (EDT) Date: Sun, 1 Apr 2007 01:04:31 -0700 (PDT) From: Martin Jambon X-X-Sender: martin@droopy To: Nicolas Pouillard Cc: caml-list@inria.fr Subject: Re: [Camlp4 3.10] The rosetta stone (Was: lists without $list:...$) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at discorde with ID 460F67B3.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ens-lyon:01 camlp:01 translated:01 camlp:01 preprocess:01 workarounds:01 syntax:01 diffs:01 stone:98 2007,:98 stone:98 3100:98 wrote:01 jambon:01 jambon:01 On Sun, 25 Mar 2007, Nicolas Pouillard wrote: > Here is your rosetta stone :) > > I translated pa_json_static.ml. Thanks a lot. I backported it to camlp4 3.10.0+beta. Compiling the extension and using it to preprocess a sample file now work fine (but I haven't tested the correctness of the generated code). The few things that didn't want to work with 3.10.0+beta were commented out and replaced by workarounds. People interested in upgrading their syntax extensions can read the side-by-side diffs: http://martin.jambon.free.fr/examples/pa_json_static_3100beta.html Martin -- Martin Jambon http://martin.jambon.free.fr