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 WAA10168; Mon, 2 Sep 2002 22:55:06 +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 WAA10446 for ; Mon, 2 Sep 2002 22:55:05 +0200 (MET DST) Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g82Kt4D02871 for ; Mon, 2 Sep 2002 22:55:04 +0200 (MET DST) Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id g82Kt1Ec032350 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Mon, 2 Sep 2002 22:55:01 +0200 Received: (from uucp@localhost) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with UUCP id g82Kt1hi032343 for caml-list@inria.fr; Mon, 2 Sep 2002 22:55:01 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: caml-list@inria.fr Received: from localhost (oliver@localhost) by first.in-berlin.de (8.7.6/8.7.3) with SMTP id WAA01807 for ; Mon, 2 Sep 2002 22:52:27 +0200 Date: Mon, 2 Sep 2002 22:52:27 +0200 (MET DST) From: Oliver Bandel To: caml-list@inria.fr Subject: Re: [Caml-list] Camlp4-tutorial-Example In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 2 Sep 2002, Oliver Bandel wrote: > Hi, > > I'm experimenting with the Code of the Camlp4-Tutorial. > > The simple calculator in Chapter 2 (Grammar-/Plexer-Module) > works very fine for calculation. What I do not understand: This calculator knows that * and / have higher Priority than + and -. How is this achieved? I didn't find any entries, that provide priority-distinction between +,-,*,/. Is the Grammar-Module magic? (Gramagic?) Ciao, Oliver ------------------- 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