I’ve added a third post: https://diskuv.com/mlfront/overview-3/
In it I describe a small but useful reference build system for MlFront which can take packages like:
.
├── AcmeWidgets_Std/
│ └── A.ml
└── BobBuilder_Std/
└── B.ml
and produce standalone build scripts that can be committed to source control:
$ mlfront-boot -native -o buildscript
$ ./buildscript.sh # .\buildscript.cmd is also created
$ target/BobBuilder_Std.B
I am an A!
I am a B!
On a related note, I’ve begun to implement a small part of https://gallium.inria.fr/~scherer/namespaces/spec.pdf. It is not strictly required but Namespaces.mli will be very helpful for upgrading existing projects to MlFront
-style packages without changing code. That will be for a future (not soon) post.