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.1 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 A873EBC6B for ; Tue, 24 Jul 2007 18:14:46 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6OGEjoF020524 for ; Tue, 24 Jul 2007 18:14:46 +0200 Received: by ug-out-1314.google.com with SMTP id o2so170493uge for ; Tue, 24 Jul 2007 09:14:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ntWS7/Mx4f0tajM5GSFpyunbA8osyKyy5AD+dyz9TKXs+X0DZimmmlIHUCA15crKpJ/fnv6QS38TNmRUZa3eL/MuMcjK180rgfH94WhMcuA3/NITiqoBOQohQ2P8+qjmauLjoTJ75kfyVcMhsV6yN+wQy4HGuq2v0xX3KojZmD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qLofukL7tht0m50kfT58glS/Pi/qPX+plxIWEeoCdaaMO0UEONp30BkliVe3LcK/C/vA/QsM+FYxWvfNw/kK1rK2n/FbU4wE7LJwQJzTxmgRh/p/MnoFdLNSkoxqBueoeZ9c1dxvj5L3p7DBmMOQjHRuBG5IqlUn6v2nPkm9vdo= Received: by 10.78.170.6 with SMTP id s6mr1112700hue.1185293684106; Tue, 24 Jul 2007 09:14:44 -0700 (PDT) Received: by 10.78.147.11 with HTTP; Tue, 24 Jul 2007 09:14:43 -0700 (PDT) Message-ID: Date: Tue, 24 Jul 2007 18:14:43 +0200 From: "Nicolas Pouillard" To: "Jon Harrop" Subject: Re: [Caml-list] Custom camlp4 lexers Cc: caml-list@yquem.inria.fr In-Reply-To: <200707210824.34230.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200707210824.34230.jon@ffconsultancy.com> X-j-chkmail-Score: MSGID : 46A62575.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46A62575.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 lexers:01 lexer:01 ocaml:01 camlp:01 syntax:01 cduce:01 iirc:01 lexers:01 wrote:01 inline:01 caml-list:01 extension:06 specify:06 examples:07 There is ulex [1], that is a great lexer generator for Unicode and OCaml with a camlp4 syntax extension. [1]: http://www.cduce.org/download.html On 7/21/07, Jon Harrop wrote: > > IIRC, there was mention before that camlp4 even allows you to specify lexers > inline. How is this done and are there any examples? > -- Nicolas Pouillard