From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA05100; Fri, 23 May 2003 11:27:11 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA05284 for ; Fri, 23 May 2003 11:27:09 +0200 (MET DST) Received: from ep09.kernel.pl (ep09.kernel.pl [212.87.11.162]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h4N9R8T07656 for ; Fri, 23 May 2003 11:27:08 +0200 (MET DST) Received: (qmail 29363 invoked by uid 566); 23 May 2003 09:27:04 -0000 Date: Fri, 23 May 2003 11:26:57 +0200 From: Michal Moskal To: Lukasz Lew Cc: caml-list@inria.fr Subject: Re: [Caml-list] Ocamlyacc vs stream parser Message-ID: <20030523092657.GA4547@roke.freak> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-PGP-Fingerprint: CF89 1B14 11BE 1CC9 2CA3 7497 5E32 69B4 BC71 B4C2 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Spam: no; 0.00; michal:01 moskal:01 malekith:01 pld-linux:01 caml-list:01 lukasz:01 lew:01 camlp:01 runtime:01 higher-level:01 wroclaw:01 kernel:01 0200,:01 constructs:02 parser:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, May 23, 2003 at 11:07:27AM +0200, Lukasz Lew wrote: > Hi > One question: > Why should I use parser keyword instead of ocamlyacc? ocamlyacc gives you better error reporting (about conflicts) and strictly bigger set of languages it can recognize. But keyword parser build with camlp4 libraries can be modified at runtime. It also provides some higher-level constructs like LIST0. -- : Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv : PLD Linux ::::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners