Version française
Home     About     Download     Resources     Contact us    
Browse thread
OSR: META files for packages containing syntax extensions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <info@g...>
Subject: Re: [Caml-list] OSR: META files for packages containing syntax extensions

Am Freitag, den 14.03.2008, 15:33 +0000 schrieb Dario Teixeira:
> > Is there a way to specify a dependency on a specific preprocessor
> > (between camlp4o and camlp4r, for example ?). Most extension actually
> > won't work with both syntaxes (classical and revised), and it could be
> > helpful to make it apparent in the package description (although most
> > of the time an horrible preprocessor-runtime error will happen).
> > More generally, i'm concerned with the possible incompatibilities
> > between syntax extensions (however, this may be a bit off-topic).
> 
> I don't know if there's support for those cases (are there any in the wild?).
> Perhaps some of Findlib's gurus can enlighten us...

Currently this is not possible. We could do something like

error(camlp4r) = "This extension is not compatible with revised syntax"

if there is really a demand for it.

Gerd

> 
> Cheers,
> Dario
> 
> 
> 
>       ___________________________________________________________ 
> Rise to the challenge for Sport Relief with Yahoo! For Good  
> 
> http://uk.promotions.yahoo.com/forgood/
> 
> _______________________________________________
> 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
> 
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------