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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Ocamldot for functions and types
Hi,

On Fri, Mar 15, 2002 at 11:45:02AM +0100, Mattias Waldau wrote:

> Is there a similar tool that shows how functions and
> types within a bigger program with many modules
> depend on each other?
> 
> If I would create something like that, should I use
> camlp4? 

I don't think Camlp4 could help. You can program the "ocamldep"
program with Camlp4 because modules are syntactically visible: they
are uppercase identifiers followed by a dot.

But there is no syntactic way to know in which module some function
"f" or some type "t" is defined. For that, you need a semantic
analysis.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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