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 8F0C3D45F for ; Mon, 31 Oct 2005 07:13:16 +0100 (CET) Received: from pih-relay06.plus.net (pih-relay06.plus.net [212.159.14.133]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9V6DFCn013917 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 31 Oct 2005 07:13:16 +0100 Received: from [80.229.56.224] (helo=chetara) by pih-relay06.plus.net with esmtp (Exim) id 1EWSuv-0000mf-AE for caml-list@yquem.inria.fr; Mon, 31 Oct 2005 06:13:13 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] parser syntax? Date: Mon, 31 Oct 2005 07:08:54 +0100 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510310608.54746.jon@ffconsultancy.com> X-Miltered: at concorde with ID 4365B5FB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 parser:01 syntax:01 parser:01 syntax:01 ocaml:01 genlex:01 piped:01 ocaml:01 frog:98 wrote:01 compile:01 caml:02 objective:02 guess:02 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=none autolearn=disabled version=3.0.3 On Monday 31 October 2005 06:01, Jonathan Roewen wrote: > How do I use the parser syntax in OCaml? I was looking at genlex, and > the given code doesn't compile. Doesn't seem to like the parser > keyword or something. Just a guess but should it be piped through camlp4 to get the stream and parser syntax? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists