English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2009-02-04 (04:02)
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 nicta.com.au