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: skaller <skaller@u...>
Subject: cut down camldep
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