Browse thread
Re: [Caml-list] global record
-
Eric Breck
-
Daniel_Bünzli
-
Richard Jones
- Stefano Zacchiroli
- Nicolas Pouillard
- Martin Jambon
-
Richard Jones
-
Daniel_Bünzli
[
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: | 2006-07-19 (20:23) |
From: | Stefano Zacchiroli <zack@b...> |
Subject: | Re: On language extensions (was Re: [Caml-list] global record) |
On Wed, Jul 19, 2006 at 08:57:44PM +0100, Richard Jones wrote: > I'm probably wrong, but I think the only way to compose two camlp4 > extensions is to combine the source code to both together and compile > a new extension. Is there some other way? Camlp4 extensions are regular .cmo/.cma files which, upon loading, dynamically extends a grammar. You can "compose" multiple extensions by passing all of them to your preferred camlp4 pre-processor. Merely loading multiple extensions of course does not grant you obtain a grammar able to parse anything at all ... Cheers. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!-