Version française
Home     About     Download     Resources     Contact us    
Browse thread
graph of function dependances
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Maxence Guesdon <Maxence.Guesdon@i...>
Subject: Re: [Caml-list] graph of function dependances
On Tue, 23 Feb 2010 19:02:32 +0530
Grégoire Seux <kamaradclimber@gmail.com> wrote:

> hello !
 
Hello,

> i am wondering if there exists a way to get a graphic visualiation of the
> dependances between functions defined in an ocaml file.
> 
> For instance:
> 
> let f x= x+1
> 
> let g x= f x -1
> 
> 
> > let h x y = g x + (f x)
> 
> 
> should displayed that h relies on f and g definition.
> 
> Maybe this not a pure ocaml-related question (more general) but i would need
> such a tool for my ocaml sources.

Oug seems to do what you need (and much more):
  http://home.gna.org/oug/index.en.html

Regards,

-- 
Maxence Guesdon                           http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://devel.inria.fr/rocq/
INRIA Paris-Rocquencourt                  http://www.inria.fr/rocquencourt/