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:41)
From: Richard Jones <rich@a...>
Subject: camlp4 - can you customize the lexer?

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?


Richard Jones
Red Hat