[MLton] syntax error for "_address"

Matthew Fluet fluet@cs.cornell.edu
Wed, 2 Nov 2005 11:24:49 -0500 (EST)


> Thanks for the info.  Is there likely to be a new snapshot of MLton soon?

Hopefully we'll release real soon now.  I suspect that Stephen has a 
collection of scripts lying around to make an experimental release, so 
maybe he can get one up on the webl.

> Also, what is the best way to package up an SML "library" that depends 
> on generated C code (because of _export) and C libraries? Can the MLB 
> tool support the steps of generating, compiling, and linking the C code?

That's a good question, and currently an open area of design.  Our current 
feelings are that an MLB file is a description of (SML) source files and 
the compiler simply elaborates those files acording to the semantics
If there are other dependencies, then they should be captured in a 
traditional Makefile.  You may find it useful to use
`mlton -stop f z.mlb`  to get the files (transitively) used by z.mlb.