caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: caml-list@yquem.inria.fr
Subject: cut down camldep
Date: Sat, 29 Sep 2007 01:36:56 +1000	[thread overview]
Message-ID: <1190993816.14100.4.camel@rosella.wigram> (raw)

I wonder if there is some hope of an 'camldep' program which,
given a file x.ml(i) lists the modules on which it depends
but not provided internally.

Possibly this can be done in camlp4?

What I do not want is grubby makefile syntax, assumptions
about file extensions, or any directory scanning. Just

	camldep -pp camlp4_things filename.ml

prints:

	List
	Hashtbl

for example.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


             reply	other threads:[~2007-09-28 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 15:36 skaller [this message]
2007-09-28 16:03 ` [Caml-list] " Luc Maranget
2007-09-28 17:20   ` skaller

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=1190993816.14100.4.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).