<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta name="robots" content="index,nofollow"> <title>WishList - MLton Standard ML Compiler (SML Compiler)</title> <link rel="stylesheet" type="text/css" charset="iso-8859-1" media="all" href="common.css"> <link rel="stylesheet" type="text/css" charset="iso-8859-1" media="screen" href="screen.css"> <link rel="stylesheet" type="text/css" charset="iso-8859-1" media="print" href="print.css"> <link rel="Start" href="Home"> </head> <body lang="en" dir="ltr"> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-833377-1"; urchinTracker(); </script> <table bgcolor = lightblue cellspacing = 0 style = "border: 0px;" width = 100%> <tr> <td style = " border: 0px; color: darkblue; font-size: 150%; text-align: left;"> <a class = mltona href="Home">MLton MLTONWIKIVERSION</a> <td style = " border: 0px; font-size: 150%; text-align: center; width: 50%;"> WishList <td style = " border: 0px; text-align: right;"> <table cellspacing = 0 style = "border: 0px"> <tr style = "vertical-align: middle;"> </table> <tr style = "background-color: white;"> <td colspan = 3 style = " border: 0px; font-size:70%; text-align: right;"> <a href = "Home">Home</a> <a href = "TitleIndex">Index</a> </table> <div id="content" lang="en" dir="ltr"> This page is mainly for recording recurring feature requests. If you have a new feature request, you probably want to query interest on one of the <a href="Contact">mailing lists</a> first. <p> Please be aware of MLton's policy on <a href="LanguageChanges">language changes</a>. Nonetheless, we hope to provide support for some of the "immediate" <a href="SuccessorML">SuccessorML</a> proposals in a future release. </p> <h2 id="head-34cdeb724870bb2dcef53080b67088eff2838e0c">Support for link options in ML Basis files</h2> <p> Introduce a mechanism to specify link options in <a href="MLBasis">ML Basis</a> files. For example, generalizing a bit, a ML Basis declaration of the form </p> <pre>option "option" </pre><p> could be introduced whose semantics would be the same (as closely as possible) as if the option string were specified on the compiler command line. </p> <p> The main motivation for this is that a MLton library that would introduce bindings (through <a href="ForeignFunctionInterface">FFI</a>) to an external library could be packaged conveniently as a single MLB file. For example, to link with library <tt>foo</tt> the MLB file would simply contain: </p> <pre>option "-link-opt -lfoo" </pre><p> Similar feature requests have been discussed previously on the mailing lists: </p> <ul> <li> <p> <a class="external" href="http://mlton.org/pipermail/mlton/2004-July/025553.html"><img src="moin-www.png" alt="[WWW]" height="11" width="11">http://mlton.org/pipermail/mlton/2004-July/025553.html</a> </p> </li> <li> <p> <a class="external" href="http://mlton.org/pipermail/mlton/2005-January/026648.html"><img src="moin-www.png" alt="[WWW]" height="11" width="11">http://mlton.org/pipermail/mlton/2005-January/026648.html</a> </p> </li> </ul> </div> <p> <hr> Last edited on 2007-07-08 22:53:40 by <span title="c-71-57-91-146.hsd1.il.comcast.net"><a href="MatthewFluet">MatthewFluet</a></span>. </body></html>