From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Ocamldot for functions and types
Date: Fri, 15 Mar 2002 12:10:41 +0100 [thread overview]
Message-ID: <20020315121041.G8414@verdot.inria.fr> (raw)
In-Reply-To: <000d01c1cc0e$75fd0850$0200a8c0@gateway>; from mattias.waldau@abc.se on Fri, Mar 15, 2002 at 11:45:02AM +0100
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
next prev parent reply other threads:[~2002-03-15 11:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-14 14:47 [Caml-list] Profiling Andrew Birkett
2002-03-14 15:14 ` Markus Mottl
2002-03-14 15:13 ` Georges Mariano
2002-03-15 10:15 ` Markus Mottl
2002-03-15 10:45 ` [Caml-list] Ocamldot for functions and types Mattias Waldau
2002-03-15 11:10 ` Daniel de Rauglaudre [this message]
2002-03-15 15:22 ` RE : " Boris Yakobowski
2002-03-14 15:46 ` [Caml-list] Profiling Andrew Birkett
2002-03-14 16:09 ` David Monniaux
2002-03-23 22:48 ` David MENTRE
2002-03-14 16:54 ` Remi VANICAT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020315121041.G8414@verdot.inria.fr \
--to=daniel.de_rauglaudre@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox