Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] autoconf and caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Stefano Zacchiroli <zack@c...>
Subject: pa_ifdef [Was: Re: [Caml-list] autoconf and caml]
On Fri, Sep 06, 2002 at 01:07:17PM +0200, Maxence Guesdon wrote:
> The pa_ifdef parser included with camlp4 may help you.
> Daniel, could you explain how to use it ? Or is a doc written ?

There is a bit (but enough to using it) of documentation about it in
Section 1.1 of the camlp4 manual.

BTW, last time I used it I was a bit annoyed because you can "ifdef"
only on type declaration or single "let" bindings IIRC while if you are
using such a tool you usually expect to be able to "ifdef" on a whole
block of code in a C-like fashion.

I don't know if such an extension to the pa_ifdef module is feasible
with camlp4 ...

Cheers.

-- 
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners