From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 9AD8FBC37; Tue, 23 Feb 2010 14:53:36 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.49,525,1262559600"; d="scan'208";a="45361124" Received: from alcazar.inria.fr ([128.93.24.50]) by mail2-relais-roc.national.inria.fr with ESMTP; 23 Feb 2010 14:53:36 +0100 Date: Tue, 23 Feb 2010 14:53:36 +0100 From: Maxence Guesdon To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] graph of function dependances Message-ID: <20100223145336.28407549@alcazar.inria.fr> In-Reply-To: <1ae8fe881002230532l6a26c293r4fe9ef41d45ed65e@mail.gmail.com> References: <1ae8fe881002230532l6a26c293r4fe9ef41d45ed65e@mail.gmail.com> Organization: INRIA X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; maxence:01 guesdon:01 maxence:01 guesdon:01 gregoire:01 ocaml:01 ocaml:01 rocquencourt:01 0530:98 wrote:01 graph:01 caml-list:01 functions:01 defined:02 seems:03 On Tue, 23 Feb 2010 19:02:32 +0530 Gr=E9goire Seux wrote: > hello ! =20 Hello, > i am wondering if there exists a way to get a graphic visualiation of the > dependances between functions defined in an ocaml file. >=20 > For instance: >=20 > let f x=3D x+1 >=20 > let g x=3D f x -1 >=20 >=20 > > let h x y =3D g x + (f x) >=20 >=20 > should displayed that h relies on f and g definition. >=20 > Maybe this not a pure ocaml-related question (more general) but i would n= eed > 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, --=20 Maxence Guesdon http://yquem.inria.fr/~guesdon/ Service Exp=E9rimentation et D=E9veloppements https://devel.inria.fr/rocq/ INRIA Paris-Rocquencourt http://www.inria.fr/rocquencourt/