Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
camlp4: precedence, LEFTA, NONA, etc.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-03-12 (09:20)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] camlp4: precedence, LEFTA, NONA, etc.

On Mar 12, 2009, at 9:13 AM, blue storm wrote:

> You should reverse your rules (starting with the
> higher-precendence construnction instead of the atomic values), and
> possibly split some of your level into different levels (eg. "<" and
> "+") for finer-grained precedence.

I have it reversed then as I thought the rules went in increasing  
order of precedence :-(. Thanks for correcting me!

Mac, C++, OCaml