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 stream parser syntax
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: Re: Re : Re : [Caml-list] Re: camlp4 stream parser syntax
How can I make camlp4 parsing case-insensitive?

The only approach I can think of so far is to build a really larger  
set of tokens and use them instead of strings in the parser.

Any flag I can flip or way to do this without a large set of tokens?

	Thanks, Joel

On Mar 8, 2009, at 1:08 AM, Matthieu Wipliez wrote:

>> Is the camlp4 grammar parser case-insensitive?
>> Will both Delay and delay be accepted in the actionDelay rule?
>>    actionDelay: [ [ "delay"; expression ->
>>        Asthelper.failwith (convert_loc _loc)
>>            "RVC-CAL does not permit the use of delay." ] ];
> No, only "delay" is accepted.

Mac, C++, OCaml