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
Case-insensitive lexing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-23 (23:06)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Case-insensitive lexing
On Friday 23 February 2007 22:51, Erik de Castro Lopo wrote:
> Moving all the keywords into a hashtable, and using that to differentiate
> between keywords and identifiers actually works very well.

I never understood why people use a hash table rather than a pattern match in 

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists