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=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 06019BC69 for ; Sun, 24 Jun 2007 19:23:22 +0200 (CEST) Received: from pih-relay05.plus.net (pih-relay05.plus.net [212.159.14.132]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5OHNL9d007227 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 24 Jun 2007 19:23:21 +0200 Received: from [80.229.56.224] (helo=beast.local) by pih-relay05.plus.net with esmtp (Exim) id 1I2Vo0-0000sk-If for caml-list@yquem.inria.fr; Sun, 24 Jun 2007 18:23:20 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Parsing Date: Sun, 24 Jun 2007 18:17:29 +0100 User-Agent: KMail/1.9.7 References: <200706220014.39510.jon@ffconsultancy.com> <678F32CA-B60D-49B3-AE42-450A53A5C6A8@vub.ac.be> In-Reply-To: <678F32CA-B60D-49B3-AE42-450A53A5C6A8@vub.ac.be> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706241817.29419.jon@ffconsultancy.com> X-Miltered: at concorde with ID 467EA889.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; parsing:01 camlp:01 grammars:01 syntax:01 camlp:01 ocamlopt:01 -pp:01 lib:01 cmxa:01 ocaml:01 ocaml:01 frog:98 wrote:01 compile:01 caml-list:01 Thanks for the help! On Friday 22 June 2007 11:14:56 Bruno De Fraine wrote: > Another reason to use camlp4 Grammars is that you get automatic > syntax error descriptions. However, this seems to contain bugs in the > current camlp4: I think the documentation is a bit out of date as well. I found that this compile line works: ocamlopt -pp camlp4of -I +camlp4 camlp4lib.cmxa -c tinyml.ml Looks great though! -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The OCaml Journal http://www.ffconsultancy.com/products/ocaml_journal/?e