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
Limiting scope of grammar extension
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Paul Steckler <Paul.Steckler@n...>
Subject: Limiting scope of grammar extension

  I have a camlp4 grammar extension that I want to apply to some parts of a .ml file, but
not others.  Most of the file uses normal OCaml syntax.

  Is there a way to mark the parts that I want transformed according to the grammar extension,
while the other parts are left alone?

-- Paul
Paul Steckler
National ICT Australia
paul DOT steckler AT