Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] ANNOUNCE: OCaml and XML (OX v0.1)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-10-04 (20:33)
From: skaller <skaller@o...>
Subject: Re: [Caml-list] Camlp4 integration
On Sat, 2003-10-04 at 21:29, wrote:
> On 4 Oct 2003, skaller wrote:
> > Just some notes on camlp4. One problem I have noticed
> > is that camlp4'd codes don't work so well with other
> > tools such as ocamldep and ocamldoc. Both these programs
> > parse Ocaml but can't load camlp4 to do the job.
> > [I think you have to use pr_o.cmo to print a standard
> > Ocaml file to use them?]
> Both ocamldep and ocamldoc accept the -pp argument.

It isn't not documented?

>  Sometimes, it would be
> more convenient to specify the syntax extensions directly in the Caml
> sources.

Yes, i think that would be nice.
There's a related issue for C++ where some discussion of
a directive:

#language "iso-9988"

or whatever so extensions in the next version don't
break existing codes (mainly by some identifiers becoming keywords).

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: