Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Trevor Jim <trevor@research.att.com>
To: caml-list@inria.fr
Subject: ocamldot for ocaml-2.04
Date: 29 Nov 1999 14:06:48 -0500	[thread overview]
Message-ID: <u66yl3ynr.fsf@research.att.com> (raw)

If you use ocamldot to generate program dependency graphs for ocaml
programs, and you are upgrading to ocaml-2.04, you may want to get the
latest version from my web site,

    www.cis.upenn.edu/~tjim.

(The old version does not work when compiled with 2.04.)


The README follows if you want to know more about ocamldot.

-Trevor



------------------------------------------------------------------------

Ocamldot generates program dependency graphs for ocaml programs.

The dependency graph output by ocamldot can be rendered by a separate
program, dot.  Dot is freely available from

  http://www.research.att.com/sw/tools/graphviz/

Ocamldot is designed to process the output of ocamldep.  A typical use
would be

  ocamldep *.ml | ocamldot > dep.dot

or

  ocamldep *.ml > .depend
  ocamldot .depend > dep.dot

This will output a dot graph into the file dep.dot.  You can then use
the program dotty to view, edit, and print the graph.

Ocamldot has the following options:

  -fullgraph   draw the full graph (default is to draw only the kernel)
  -landscape   output in landscape format (default is portrait)
  -lr          draw graph from left to right (default is top to bottom)
  -r <r>       use <r> as a root in the graph; nodes reachable from <r>
               will be shown

(The transitive kernel of a dag is the smallest subset of the dag
whose transitive closure is the same as the transitive closure of the
dag.  For example, the kernel of A->B, A->C, B->C is just the two
edges A->B, B->C.)

-Trevor Jim




             reply	other threads:[~1999-11-30  8:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-29 19:06 Trevor Jim [this message]
1999-11-30  8:40 ` Jean-Christophe Filliatre

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=u66yl3ynr.fsf@research.att.com \
    --to=trevor@research.att.com \
    --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