Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Camlp4-tutorial-Example
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] Camlp4-tutorial-Example

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