[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Pietro Abate <Pietro.Abate@a...> |
| Subject: | Re: [Caml-list] A macro system compatible with modules |
On Wed, Jun 20, 2007 at 02:17:22PM +0200, Loup Vaillant wrote: > -> When I define a macro, it is available for use right now, in the > same compilation unit. > -> If I want to call the macro from another compilation unit, I just > have to either open the corresponding module : I've written something similar for one of my projects. http://twb.rsise.anu.edu.au/simple_syntax_extension I think you can use the same technique to generate a define statement that can be used straight away in your module and eventually export to other modules. pietro -- ++ Blog: http://blog.rsise.anu.edu.au/?q=pietro ++ ++ "All great truths begin as blasphemies." -George Bernard Shaw ++ Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html