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
Using camlp4 in extensions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-12-15 (14:04)
From: Jacques Carette <carette@m...>
Subject: Using camlp4 in extensions
Question: is there a way to use a camlp4 extension *inside* the 
definition of another?

AFAIK, extensions are not ordered, so trying to use camlp4 to deal with 
IFDEF in the source of a syntax extension (like pa_monad) to switch 
between 3.10 and 3.11 [to deal with the new private and lazy features] 
does not seem possible.  Or have I missed something?