Browse thread
Re: [Caml-list] Namespace clash
- yoann padioleau
[
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-02-09 (19:32) |
From: | yoann padioleau <padator@w...> |
Subject: | Re: [Caml-list] Namespace clash |
> > I had not thought about this... Actually, it is not a bad idea, at > > least, in my build system. Ideally, the build system would have to > > have a way of mangling the library namespace by packaging up > > findlib-managed libraries in a single package. Then, it would have > > to isse the desired -open directives to an ad-hoc camlp4 syntax > > extension. It's a bit of a hack, but it could work. I wonder if it > > is general enough a solution to become mainstream, though. > > It doesn't have to be a camlp4 extension, you could implement Alain's > trick > with a preprocessor written in Bourne shell. But it doesn't work > when the > program is already compiled with -pp, since the OCaml compiler doesn't > allow for a pipeline of preprocessors. You still can invent a script foo that successfully call your first bourne shell script bar and then call camlp4. Then you just pass -pp foo to ocaml. Did I overlook something ? > > -- Damien > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > >