From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA20926; Fri, 15 Mar 2002 12:10:43 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA15768 for ; Fri, 15 Mar 2002 12:10:42 +0100 (MET) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g2FBAgv12085 for ; Fri, 15 Mar 2002 12:10:42 +0100 (MET) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id MAA20474 for caml-list@inria.fr; Fri, 15 Mar 2002 12:10:41 +0100 Date: Fri, 15 Mar 2002 12:10:41 +0100 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Ocamldot for functions and types Message-ID: <20020315121041.G8414@verdot.inria.fr> References: <20020315101542.GA29991@fichte.ai.univie.ac.at> <000d01c1cc0e$75fd0850$0200a8c0@gateway> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000d01c1cc0e$75fd0850$0200a8c0@gateway>; from mattias.waldau@abc.se on Fri, Mar 15, 2002 at 11:45:02AM +0100 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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