Version française
Home     About     Download     Resources     Contact us    
Browse thread
cut down camldep
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: maranget@y...
Subject: Re: [Caml-list] cut down camldep
Perhaps 'ocamldep -modules' is what you need.

--Luc


> 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>