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
Custom lexer in Camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-06-24 (15:43)
From: Andrej Bauer <Andrej.Bauer@a...>
Subject: Re: [Caml-list] Custom lexer in Camlp4
On a related note: how hard would it be to convince camlp4 to translate
the Coq-like context notation

  expr % M

to the "open in" construct

 open M in expr ?

Since % is already an infix operator, this shouldn't be too hard.