Browse thread
[Caml-list] ANNOUNCE: OCaml and XML (OX v0.1)
-
didier plaindoux
-
skaller
-
Alain.Frisch@e...
-
skaller
- Olivier Andrieu
-
skaller
-
Alain.Frisch@e...
-
skaller
[
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: | -- (:) |
| From: | Olivier Andrieu <andrieu@i...> |
| Subject: | Re: [Caml-list] Camlp4 integration |
skaller [ 5 October 2003] : > On Sat, 2003-10-04 at 21:29, Alain.Frisch@ens.fr 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. You can almost do this since camlp4 recognizes the #load directive in .ml files. That way you only put `-pp camlp4o' on the command line and the particular syntax extension is in the .ml file. It simplifies Makefiles a lot. -- Olivier ------------------- 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