[MLton] Re: Windows ports and paths

Wesley W. Terpstra wesley@terpstra.ca
Sun, 1 May 2005 03:31:07 +0200


On Sat, Apr 30, 2005 at 10:41:31PM +0200, Wesley W. Terpstra wrote:
> The remaining problem is that MLton secretly builds an internal mlb given
> the passed filename. Not a good idea!
> 
> Why? Because "mlton c:/test.sml" doesn't compile. The ":" is not allowed by
> the grammar for .mlbs. Also mlton "foo a.sml" doesn't work even in unix.
> What's wrong with having a space in a filename?

Aha!

After experimenting, I see now that a .mlb may use quoted strings.
So, I guess the fix is trivial; just quote the filename in the internal mlb.

-- 
Wesley W. Terpstra