mld

AuthorStephane Graham-Lengrand <graham-lengrand@lix.polytechnique.fr>
LicenseCeCILL-C
Homepagehttps://github.com/disteph/mld
Issue Trackerhttps://github.com/disteph/mld/issues
MaintainerStephane Graham-Lengrand <graham-lengrand@lix.polytechnique.fr>
Dependencies
&oasis
ocamlfind
|ocamlbuild>= 0.9.0&<= 0.12.0
ocamlbuild0
Availableocaml-version >= "4.02"
PublishedNov 12, 2017
Source [http] https://github.com/disteph/mld/archive/0.2.tar.gz
209b7dc2353859204d80d9fc7598b349
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mld/mld.0.2/opam

The MLD package makes directory foo.mld turn into module Foo

The contents of module Foo are the modules that can be "found" in directory foo.mld and recursively in its subdirectories, down to other directories of the form bar.mld: Bar will be a submodule of Foo, and the recursive search for Foo's modules stops there. The contents of bar.mld will then be used to determine the submodules of Foo.Bar. Hence, the following source tree

-src/
 |-foo.mld/
   |-a/
   | |-bar.mld/
   | | |-b.ml
   | |
   | |-c/
   |   |-d.ml
   |
   |-e.ml

will turn into the following module structure

-Foo
 |-Bar
 | |-B
 |
 |-D
 |-E

In the background: an mlpack is automatically generated for each directory *.mld, and the -for-pack options are automatically generated.

No package is dependent