[MLton-user] Using MinGW version of MLton on Vista

Matthew Fluet fluet at tti-c.org
Fri Sep 5 15:19:38 PDT 2008


On Fri, 5 Sep 2008, Wesley W. Terpstra wrote:
> On Fri, Sep 5, 2008 at 5:16 PM, John Reppy <t-johrep at microsoft.com> wrote:
>>  I think that the problem is with the path in the pathmap file.  Switching
>> to "c:\Users\..." got rid of the parse error.  By using `pwd ?W` in my
>> autoconf script, I'm able to get working pathnames.  Now I just need to
>> figure out my linking errors with glut.
>
> That said, a parse error pointing at the bottom of the mlb file is a very
> unhelpful and misleading error message, and someone familiar with that part
> of the code should probably improve this.

Indeed.  I think what's going on is that the bogus paths in the path-map 
caused an exception to be raised (probably in the code to expand and 
regularize paths), which was then caught by the exception handler wrapping 
the parser.

> And, again be warned that MLton on Vista is 100% untested!
>
>> BTW: I was not able to get the latest version of mlton to build from svn
>> using this version of mlton.  There are illegal characters in the generated
>> C files.
>>
> That's strange.

Yes.  If it continues to persist, more details would be helpful.




More information about the MLton-user mailing list