next up previous contents
Next: Compiling MLton Up: CM Previous: Comparison with CM   Contents


Porting SML/NJ CM files to MLton

If you have already created large projects using SML/NJ and CM, there may be a large number of file dependencies implicit in your sources that are not reflected in your CM files. Because MLton relies on ordering in CM files, your CM files probably will not work with MLton. To help in porting CM files to MLton, the MLton distribution includes the SML sources for a utility, cmcat, that will print an ordered list of files corresponding to a CM file. See doc/mlton-20011006/cmcat.sml for details. Building cmcat requires that you have already installed SML/NJ.