4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
6 <title>Release20100608</title>
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
19 <body class="article">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
26 <h1>Release20100608</h1>
30 <div class="sectionbody">
31 <div class="paragraph"><p>This is an archived public release of MLton, version 20100608.</p></div>
35 <h2 id="_changes_since_the_last_public_release">Changes since the last public release</h2>
36 <div class="sectionbody">
37 <div class="ulist"><ul>
42 <div class="ulist"><ul>
45 <a href="RunningOnAMD64">AMD64</a>/<a href="RunningOnDarwin">Darwin</a> (Mac OS X Snow Leopard)
50 <a href="RunningOnIA64">IA64</a>/<a href="RunningOnHPUX">HPUX</a>
55 <a href="RunningOnPowerPC64">PowerPC64</a>/<a href="RunningOnAIX">AIX</a>
64 <div class="ulist"><ul>
67 <a href="CompileTimeOptions">Command-line switches</a>.
69 <div class="ulist"><ul>
72 Added: <span class="monospaced">-mlb-path-var <em><name> <value></em></span>
77 Removed: <span class="monospaced">-keep sml</span>, <span class="monospaced">-stop sml</span>
84 Improved constant folding of floating-point operations.
89 Experimental: Support for compiling to a C library; see <a href="LibrarySupport"> documentation</a>.
94 Extended <span class="monospaced">-show-def-use <em>output</em></span> to include types of variable definitions.
99 Deprecated features (to be removed in a future release)
101 <div class="ulist"><ul>
104 Bytecode codegen: The bytecode codegen has not seen significant use and it is not well understood by any of the active developers.
109 Support for <span class="monospaced">.cm</span> files as input: The ML Basis system provides much better infrastructure for "programming in the very large" than the (very) limited support for CM. The <span class="monospaced">cm2mlb</span> tool (available in the source distribution) can be used to convert CM projects to MLB projects, preserving the CM scoping of module identifiers.
116 Bug fixes: see <a href="https://raw.github.com/MLton/mlton/on-20100608-release/doc/changelog"><span class="monospaced">changelog</span></a>
125 <div class="ulist"><ul>
128 <a href="RunTimeOptions">@MLton switches</a>.
130 <div class="ulist"><ul>
133 Added: <span class="monospaced">may-page-heap {false|true}</span>
140 <span class="monospaced">may-page-heap</span>: By default, MLton will not page the heap to disk when unable to grow the heap to accommodate an allocation. (Previously, this behavior was the default, with no means to disable, with security an least-surprise issues.)
145 Bug fixes: see <a href="https://raw.github.com/MLton/mlton/on-20100608-release/doc/changelog"><span class="monospaced">changelog</span></a>
154 <div class="ulist"><ul>
157 Allow numeric characters in <a href="MLBasis">ML Basis</a> path variables.
166 <div class="ulist"><ul>
169 <a href="BasisLibrary">Basis Library</a>.
171 <div class="ulist"><ul>
174 Bug fixes: see <a href="https://raw.github.com/MLton/mlton/on-20100608-release/doc/changelog"><span class="monospaced">changelog</span></a>
181 <a href="MLtonStructure">MLton structure</a>.
183 <div class="ulist"><ul>
186 Added: <span class="monospaced">MLton.equal</span>, <span class="monospaced">MLton.hash</span>, <span class="monospaced">MLton.Cont.isolate</span>, <span class="monospaced">MLton.GC.Statistics</span>, <span class="monospaced">MLton.Pointer.sizeofPointer</span>, <span class="monospaced">MLton.Socket.Address.toVector</span>
196 Deprecated: <span class="monospaced">MLton.Socket</span>
203 <a href="UnsafeStructure">Unsafe structure</a>.
205 <div class="ulist"><ul>
208 Added versions of all of the monomorphic array and vector structures.
217 <div class="ulist"><ul>
220 Updated: <a href="CKitLibrary">ckit library</a>, <a href="MLRISCLibrary">MLRISC library</a>, <a href="SMLNJLibrary">SML/NJ library</a>.
231 <div class="ulist"><ul>
234 <span class="monospaced">mllex</span>
236 <div class="ulist"><ul>
239 Eliminated top-level <span class="monospaced">type int = Int.int</span> in output.
244 Include <span class="monospaced">(*#line line:col "file.lex" *)</span> directives in output.
249 Added <span class="monospaced">%posint</span> command, to set the <span class="monospaced">yypos</span> type and allow the lexing of multi-gigabyte files.
256 <span class="monospaced">mlnlffigen</span>
258 <div class="ulist"><ul>
261 Added command-line switches <span class="monospaced">-linkage archive</span> and <span class="monospaced">-linkage shared</span>.
266 Deprecated command-line switch <span class="monospaced">-linkage static</span>.
271 Added support for <a href="RunningOnIA64">IA64</a> and <a href="RunningOnHPPA">HPPA</a> targets.
278 <span class="monospaced">mlyacc</span>
280 <div class="ulist"><ul>
283 Eliminated top-level <span class="monospaced">type int = Int.int</span> in output.
288 Include <span class="monospaced">(*#line line:col "file.grm" *)</span> directives in output.
296 <div class="paragraph"><p>For a complete list of changes and bug fixes since <a href="Release20070826">Release20070826</a>, see the
297 <a href="https://raw.github.com/MLton/mlton/on-20100608-release/doc/changelog"><span class="monospaced">changelog</span></a>
298 and <a href="Bugs20070826">Bugs20070826</a>.</p></div>
302 <h2 id="_20100608_binary_packages">20100608 binary packages</h2>
303 <div class="sectionbody">
304 <div class="ulist"><ul>
307 AMD64 (aka "x86-64" or "x64")
309 <div class="ulist"><ul>
312 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.amd64-darwin.gmp-macports.tgz">Darwin (.tgz)</a> 10.3 (Mac OS X Snow Leopard), dynamically linked against <a href="GnuMP">GnuMP</a> in <span class="monospaced">/opt/local/lib</span> (suitable for <a href="http://macports.org">MacPorts</a> install of <a href="GnuMP">GnuMP</a>)
317 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.amd64-darwin.gmp-static.tgz">Darwin (.tgz)</a> 10.3 (Mac OS X Snow Leopard), statically linked against <a href="GnuMP">GnuMP</a> (but requires <a href="GnuMP">GnuMP</a> for generated executables)
322 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.amd64-linux.tgz">Linux</a>, glibc 2.11
327 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.amd64-linux.static.tgz">Linux</a>, statically linked
332 Windows MinGW 32/64 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/MLton-20100608-1.exe">self-extracting</a> (28MB) or <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/MLton-20100608-1.msi">MSI</a> (61MB) installer
341 <div class="ulist"><ul>
344 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.x86-cygwin.tgz">Cygwin</a> 1.7.5
349 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.x86-darwin.gmp-macports.tgz">Darwin (.tgz)</a> 9.8 (Mac OS X Leopard), dynamically linked against <a href="GnuMP">GnuMP</a> in <span class="monospaced">/opt/local/lib</span> (suitable for <a href="http://macports.org">MacPorts</a> install of <a href="GnuMP">GnuMP</a>)
354 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.x86-darwin.gmp-static.tgz">Darwin (.tgz)</a> 9.8 (Mac OS X Leopard), statically linked against <a href="GnuMP">GnuMP</a> (but requires <a href="GnuMP">GnuMP</a> for generated executables)
359 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.x86-linux.tgz">Linux</a>, glibc 2.11
364 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608-1.x86-linux.static.tgz">Linux</a>, statically linked
369 Windows MinGW 32/64 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/MLton-20100608-1.exe">self-extracting</a> (28MB) or <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/MLton-20100608-1.msi">MSI</a> (61MB) installer
378 <h2 id="_20100608_source_packages">20100608 source packages</h2>
379 <div class="sectionbody">
380 <div class="ulist"><ul>
383 <a href="http://sourceforge.net/projects/mlton/files/mlton/20100608/mlton-20100608.src.tgz">mlton-20100608.src.tgz</a>
390 <h2 id="_packages_available_at_other_sites">Packages available at other sites</h2>
391 <div class="sectionbody">
392 <div class="ulist"><ul>
395 <a href="http://packages.debian.org/search?keywords=mlton&searchon=names&suite=all&section=all">Debian</a>
400 <a href="http://www.freebsd.org/cgi/ports.cgi?query=mlton&stype=all">FreeBSD</a>
405 <a href="https://admin.fedoraproject.org/pkgdb/acls/name/mlton">Fedora</a>
410 <a href="http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=mlton">Ubuntu</a>
417 <h2 id="_also_see">Also see</h2>
418 <div class="sectionbody">
419 <div class="ulist"><ul>
422 <a href="Bugs20100608">Bugs20100608</a>
427 <a href="http://www.mlton.org/guide/20100608/">MLton Guide (20100608)</a>.
429 <div class="paragraph"><p>A snapshot of the MLton wiki at the time of release.</p></div>
435 <div id="footnotes"><hr></div>
437 <div id="footer-text">
439 <div id="footer-badges">