From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 9E7ECBB91 for ; Thu, 27 Jan 2005 10:36:40 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0R9aeY3024347 for ; Thu, 27 Jan 2005 10:36:40 +0100 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 KAA15751 for ; Thu, 27 Jan 2005 10:36:39 +0100 (MET) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0R9abiS024334 for ; Thu, 27 Jan 2005 10:36:38 +0100 Received: from [192.168.1.200] (ppp205-248.lns1.syd3.internode.on.net [203.122.205.248]) by smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j0R9aNTX006529; Thu, 27 Jan 2005 20:06:23 +1030 (CST) Subject: Re: [Caml-list] index of substring From: skaller Reply-To: skaller@users.sourceforge.net To: Radu Grigore Cc: "yjc01@doc.ic.ac.uk" , caml-list In-Reply-To: <7f8e92aa05012622441fce509b@mail.gmail.com> References: <1106786478.41f838aecb7dd@www.doc.ic.ac.uk> <7f8e92aa05012622441fce509b@mail.gmail.com> Content-Type: text/plain Message-Id: <1106818582.6734.154.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 27 Jan 2005 20:36:22 +1100 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 41F8B628.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 41F8B625.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 sourceforge:01 wrote:01 wrote:01 ocamllex:01 ocaml:01 glebe:01 061:98 nsw:01 supported:01 snail:02 2037:02 programming:03 nested:04 radu:05 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: On Thu, 2005-01-27 at 17:44, Radu Grigore wrote: > On Thu, 27 Jan 2005 00:41:18 +0000, yjc01@doc.ic.ac.uk > wrote: > > Or is there an easier way to do this? > > Ocamllex is definitely the easiest. however by itself this will not supported nested comments which Ocaml allows .. :) -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net