From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr 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 1F1DCD45F for ; Mon, 24 Oct 2005 22:17:09 +0200 (CEST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id j9OKH8Ij027081 for ; Mon, 24 Oct 2005 22:17:08 +0200 Received: (qmail invoked by alias); 24 Oct 2005 20:17:08 -0000 Received: from p54A3419A.dip0.t-ipconnect.de (EHLO [192.168.2.136]) [84.163.65.154] by mail.gmx.net (mp022) with SMTP; 24 Oct 2005 22:17:08 +0200 X-Authenticated: #20477425 From: Michael Wohlwend To: caml-list@yquem.inria.fr Subject: Re: Another problem (was Re: [Caml-list] Ocamllex question) Date: Mon, 24 Oct 2005 22:18:37 +0200 User-Agent: KMail/1.8 References: <435BD045.1000305@gushee.net> <200510232337.59207.micha-1@fantasymail.de> <435D3B09.3030108@gushee.net> In-Reply-To: <435D3B09.3030108@gushee.net> X-Face: S)[vu%Bha1d&ej9GfwAq~7C}A,y[B.uS}+D6'hb~xPwsxymw$fnCOaMe<=?utf-8?q?*bnUajSBR=5Fm=3FR=0A=09?=@V3;iX8[A}z`.%pEQ1r7iZhN8#ktTCBQ}&mkx>=RH&l|l6\]NZI@ MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510242218.37143.micha-1@fantasymail.de> X-Y-GMX-Trusted: 0 X-Miltered: at concorde with ID 435D4144.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocamllex:01 ocamllex:01 ocaml:01 lexer:01 lexer:01 mll:01 cheers:01 wrote:01 wrote:01 lex:01 exists:02 problem:05 quite:06 practical:06 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_FAIL autolearn=disabled version=3.0.3 On Monday 24 October 2005 21:50, Matt Gushee wrote: > Michael Wohlwend wrote: > Maybe you should post something like this on the Web. There's not much > in the way of practical examples for ocamllex. in some way this exists allready :-) I didn't invent all of it myself. I looked how the ocaml lexer (lexer.mll in dir lex of the source-tree) does this and it was quite easy to understand the relevant parts. cheers Michael