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 B3DB6BB81 for ; Thu, 22 Sep 2005 16:08:18 +0200 (CEST) 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 j8ME8IYP013620 for ; Thu, 22 Sep 2005 16:08:18 +0200 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 QAA03918 for ; Thu, 22 Sep 2005 16:08:17 +0200 (MET DST) Received: from alex.barettalocal.com (h213-255-109-130.albacom.net [213.255.109.130] (may be forged)) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j8ME8Hoe013616 for ; Thu, 22 Sep 2005 16:08:17 +0200 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by alex.barettalocal.com (Postfix) with ESMTP id 53F2D2BAB6C; Thu, 22 Sep 2005 16:05:31 +0200 (CEST) Message-ID: <4332BA29.1010304@barettadeit.com> Date: Thu, 22 Sep 2005 16:05:29 +0200 From: Alex Baretta User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christophe Raffalli , Ocaml Subject: Re: [Caml-list] Yacc limitations References: <43327FEF.7070209@barettadeit.com> <4332ACF2.6020702@univ-savoie.fr> In-Reply-To: <4332ACF2.6020702@univ-savoie.fr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 4332BAD2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4332BAD1.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; baretta:01 caml-list:01 christophe:01 raffalli:01 baretta:01 parser:01 ocamlyacc:01 parser:01 ocaml:01 ocaml:01 lalr:01 wrote:01 constraint:01 debian:02 parse: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.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Christophe Raffalli wrote: > Alex Baretta a écrit : > >> I am getting very much annoyed with the obtusity of the LALR-yacc parser >> generators. I have unsurmountable difficulties at teaching ocamlyacc how >> to parse SQL decently. >> >> What is the "way to go" in terms of parser generators for Ocaml? I'd >> like to see if there is some level of agreement in the community on this >> issue. >> > > may be give a try to elkhound > (http://www.cs.berkeley.edu/~smcpeak/elkhound/) ? It generated both > OCaml and C++. I haven't used it, But it seems nice and will remove the > LALR(1) constraint . Elkhound is C++ stuff. I really would prefer to avoid having to introduce C++ in my toolchain. Is it possible to install Elkhound as a Debian package and forget about it? Alex -- ********************************************************************* http://www.barettadeit.com/ Baretta DE&IT A division of Baretta SRL tel. +39 02 370 111 55 fax. +39 02 370 111 54 Our technology: The Application System/Xcaml (AS/Xcaml) The FreerP Project