[mercury-users] Module dependency graphs

doug.auclair at logicaltypes.com doug.auclair at logicaltypes.com
Thu Jul 20 04:28:58 AEST 2006


Dear all,

Julien responded to Nicholas' query thusly:

>> I find it very useful to look at module dependency graphs sometimes.
>> I figure the Mercury compiler has to deduce them for the --make option.
>> Is there any easy way to get it to spit them out in a readable form?
>It easy to get it to spit them out: mmc --generate-module-order 
>Readability is another issue.

Although its purpose is not to be discussed in genteel maillists,
the ltq system ("Logical Types Quicksilver" system) does use this very
option to follow module dependencies when it builds Mercury and Mercury-
like executables and libraries.  One can read the source code to see how 
ltq teases out the dependencies for Mercury to use directly for doing 
source-to-source and build tasks.

ltq sources available at http://www.logicaltypes.com/share/dynamic_ops.tgz

Sincerely,
Doug Auclair

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at csse.unimelb.edu.au
administrative address: owner-mercury-users at csse.unimelb.edu.au
unsubscribe: Address: mercury-users-request at csse.unimelb.edu.au Message: unsubscribe
subscribe:   Address: mercury-users-request at csse.unimelb.edu.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list