[Caml-list] graph of function dependances

1 view
Skip to first unread message

Grégoire Seux

unread,
Feb 23, 2010, 8:32:41 AM2/23/10
to caml-list
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.

Thank you by advance !

--
Grégoire Seux

Maxence Guesdon

unread,
Feb 23, 2010, 8:53:43 AM2/23/10
to caml...@yquem.inria.fr
On Tue, 23 Feb 2010 19:02:32 +0530
Grï¿œgoire Seux <kamarad...@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/

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Grégoire Seux

unread,
Feb 23, 2010, 8:55:27 AM2/23/10
to Maxence Guesdon, caml...@yquem.inria.fr
Thank you, it seems to be exactly what i need :-)

On Tue, Feb 23, 2010 at 19:23, Maxence Guesdon <Maxence...@inria.fr>wrote:

> On Tue, 23 Feb 2010 19:02:32 +0530
> Grégoire Seux <kamarad...@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/
>
>
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>

--
Grégoire

Reply all
Reply to author
Forward
0 new messages