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 - can you customize the lexer?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-05-09 (09:50)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] camlp4 - can you customize the lexer?
On Friday 09 May 2008 10:40:36 Richard Jones wrote:
> The Camlp4 wiki contains an intriguing line "Connecting your own
> Lexer.", but no link or information.  I want to modify the OCaml lexer
> to add a syntax for integer literals of my own type.  Can this be
> done?  How?

I have asked this question periodically for about a year now. I believe the 
answer is "no".

Dr Jon D Harrop, Flying Frog Consultancy Ltd.