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=1.0 required=5.0 tests=AWL,SPF_NEUTRAL 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 28F9ABC69 for ; Sun, 19 Aug 2007 12:29:45 +0200 (CEST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l7JATiBk018355 for ; Sun, 19 Aug 2007 12:29:44 +0200 Received: by fk-out-0910.google.com with SMTP id b27so1093637fka for ; Sun, 19 Aug 2007 03:29:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=qN9zl1gkA2LMTtBhUvHlekCsQPmq+ZQ7KwC7RgLGhinfofyWmq9CPWSkKNGB1dOywshYXpi2bO7E78rcizTxqGmhyOvFj9JwMigH9Q/vBoGE0X23nRm/Cj2mzDlWsS58zfLEntr8GIYYPqgsd4PtmmpUsHkt7JveLSl6hijgkFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=bIFTwbcXFvKoEB3il8l3ShBz0ZHuVNytByJMgU8Wa/FUXLAzHezDU9pfYcQI0VGucb+9vykeoyJAztHRrp//QgNaFmjEyml3LN4GRTD8Hp0ueH1TnW8PWiGvwDSd6oJPaFGJV4Kc6lQ9QCffQ4WZV0DUJm5mfthElyZV96Nxuc8= Received: by 10.82.156.12 with SMTP id d12mr6104351bue.1187519384236; Sun, 19 Aug 2007 03:29:44 -0700 (PDT) Received: from ?192.168.1.33? ( [83.33.68.230]) by mx.google.com with ESMTPS id d26sm4158652nfh.2007.08.19.03.29.42 (version=SSLv3 cipher=OTHER); Sun, 19 Aug 2007 03:29:43 -0700 (PDT) In-Reply-To: <1187518168-sup-4112@ert.local> References: <1187462392.23296.5.camel@rosella.wigram> <200708182334.44751.jon@ffconsultancy.com> <1187518168-sup-4112@ert.local> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <28503740-D155-4B87-8117-B2A0BBD533EC@gmail.com> Cc: Jon Harrop , "O'Caml Mailing List" Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: [Caml-list] lexer library Date: Sun, 19 Aug 2007 11:29:40 +0100 To: "Nicolas Pouillard" X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 46C81B98.000 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 46C81B98.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lexer:01 camlp:01 lexer:01 2007,:98 token:01 token:01 wrote:01 dynamically:01 caml-list:01 module:03 library:03 stream:04 examples:07 nicolas:08 aug:10 On Aug 19, 2007, at 11:13 AM, Nicolas Pouillard wrote: > Not really, with the new camlp4 you can change the lexer and the > token type (thanks to the system module). One can also > dynamically add lexer filters that transforms the token stream. Are there any examples of this? Thanks, Joel -- http://wagerlabs.com