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
Are local macros needed?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-05-18 (09:36)
From: Christophe TROESTLER <Christophe.Troestler@u...>
Subject: Are local macros needed?
Hi,

As many of you know, Delimited Overloading (pa_do) [1] has always been
providing an enhanced macro system.  The latest release additionally
features macros parametrized by other macros (passed as arguments).
These developments of the macro system made me wonder whether local
macros (DEFINE ... in ...) are used/needed.  I'd like to know what is
your opinion about it (with compelling examples if possible).  Thanks
in advance for your input!

Regards,
ChriS


[1] http://pa-do.forge.ocamlcore.org/ (godiva spec file provided)