/usr/share/doc/mlton/guide/Changelog is in mlton-doc 20100608-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 | <!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>Changelog - 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%;">
Changelog
<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">
<pre class=code>Here are the changes from version 20070826 to version YYYYMMDD.
Summary:
+ New platforms.
o ia64-hpux
o powerpc64-aix
+ Compiler.
o Command-line switches.
* Added: -mlb-path-var '<name> <value>'
* Removed: -keep sml, -stop sml
o Improved constant folding of floating-point operations.
o Experimental: Support for compiling to a C library; see wiki
documentation.
o Extended -show-def-use output to include types of variable
definitions.
o Deprecated features (to be removed in a future release)
* Bytecode codegen: The bytecode codegen has not seen significant
use and it is not well understood by any of the active
developers.
* Support for .cm 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 cm2mlb tool
(available in the source distribution) can be used to convert
CM projects to MLB projects, preserving the CM scoping of
module identifiers.
o Bug fixes: see changelog
+ Runtime.
o @MLton switches.
* Added: may-page-heap {false|true}
o may-page-heap: By default, MLton will not page the heap to disk
when unable to grow the heap to accomodate an allocation.
(Previously, this behavior was the default, with no means to
disable, with security an least-surprise issues.)
o Bug fixes: see changelog
+ Language.
o Allow numeric characters in ML Basis path variables.
+ Libraries.
o Basis Library.
* Bug fixes: see changelog.
o MLton structure.
* Added: MLton.equal, MLton.hash, MLton.Cont.isolate,
MLton.GC.Statistics, MLton.Pointer.sizeofPointer,
MLton.Socket.Address.toVector
* Changed:
* Deprecated: MLton.Socket
o Unsafe structure.
* Added versions of all of the monomorphic array and vector
structures.
o Other libraries.
* Updated: ckit library, MLRISC library, SML/NJ library.
+ Tools.
o mllex
* Eliminated top-level 'type int = Int.int' in output.
* Include (*#line line:col "file.lex" *) directives in output.
* Added %posint command, to set the yypos type and allow the
lexing of multi-gigabyte files.
o mlnlffigen
* Added command-line switches -linkage archive and -linkage shared.
* Deprecated command-line switch -linkage static.
* Added support for ia64 and hppa targets.
o mlyacc
* Eliminated top-level 'type int = Int.int' in output.
* Include (*#line line:col "file.grm" *) directives in output.
* 2010-05-12
- Fixed bug in the mark-compact garbage collector where the C
library's memcpy was used to move objects during the compaction
phase; this could lead to heap corruption and segmentation faults
with newer versions of gcc and/or glibc, which assume that src and
dst in a memcpy do not overlap.
* 2010-03-12
- Fixed bug in elaboration of datatype declarations with withtype
bindings.
* 2009-12-11
- Fixed performance bug in ref flatten SSA2 optimization.
* 2009-12-09
- Fixed performance bug in simplify types SSA optimization.
* 2009-12-02
- Fixed bug in amd64 codegen register allocation of indirect C calls.
* 2009-09-17
- Fixed bug in IntInf.scan and IntInf.fromString where leading
spaces were only accepted if the stream had an explicit sign
character.
* 2009-07-10
- Added combine conversions SSA optimization.
* 2009-06-09
- Removed deprecated command line switch -show-anns {false, true}.
* 2009-04-18
- Removed command line switches -keep sml and -stop sml. Their
meaning was unclear with .mlb files; their effect with .cm files
can be achieved with -stop f.
* 2009-04-16
- Fixed bug in IntInf.~>> that could cause a glibc assertion
failure.
* 2009-04-01
- Fixed exported type of MLton.Process.reap.
* 2009-01-27
- Added MLton.Socket.Address.toVector to get the network-byte-order
representation of an IP address.
* 2008-11-10
- Fixed bug in MLton.size and MLton.share when tracing the current
stack.
* 2008-10-27
- Fixed phantom typing of sockets by hiding the representation of socket
types. Previously the representation of sockets was revealed rendering
the phantom types useless.
* 2008-10-10
- Fixed bug in nexted _export/_import functions.
* 2008-09-12
- Improved constant folding of floating point operations.
* 2008-08-20
- Store the card/cross map at the end of the allocated ML heap;
avoids possible out of memory errors when resizing the ML heap
cannot be followed by a card/cross map allocation.
* 2008-07-24
- Added support for compiling to a C library. The relevant new compiler
options are '-ar' and '-format'. Libraries are named based on the
name of the -export-header file. Libraries have two extra methods:
* NAME_open(argc, argv) initializes the library and runs the SML code
until it reaches the end of the program. If the SML code exits or
raises an uncaught exception, the entire program will terminate.
* NAME_close() will execute any registered atExit functions, any
outstanding finalizers, and frees the ML heap.
* 2008-07-16
- Fixed bug in the name mangling of _import-ed functions with the
stdcall convention.
* 2008-06-12
- Added MLton.Pointer.sizeofPointer.
* 2008-06-06
- Added expert command line switch -emit-main {true|false}.
* 2008-05-17
- Fixed bug in Windows code to page the heap to disk when unable to
grow the heap to a desired size.
Thanks to Sami Evangelista for the bug report.
* 2008-05-10
- Implemented MLton.Cont.isolate.
* 2008-04-20
- Fixed bug in *NIX code to page the heap to disk when unable to
grow the heap to a desired size.
Thanks to Nicolas Bertolotti for the bug report and patch.
* 2008-04-07
- More flexible active/paused stack resizing policy.
Removed thread-shrink-ratio runtime option.
Added stack-current-grow-ratio, stack-current-max-reserved-ratio,
stack-current-permit-ratio, stack-current-shrink-ratio,
stack-max-reserved-ratio, and stack-shrink-ratio runtime options.
* 2008-04-07
- Fixed bugs in Basis Library where the representations of
OS.IO.iodesc, Posix.IO.file_desc, Posix.Signal.signal,
Socket.sock, Socket.SOGK.sock_type as integers were exposed.
* 2008-03-14
- Added unsafe versions of all of the monomorphic array and vector
structures.
* 2008-03-02
- Fixed bug in Basis Library where the representation of
OS.Process.status as an integer was exposed.
* 2008-02-13
- Fixed space-safety bug in pass to flatten refs into containing
data structure. Thanks to Daniel Spoonhower for the bug report
and initial diagnosis and patch.
* 2008-01-25
- Various updates to GC statistics gathering. Some basic GC
statistics can be accessed from SML by MLton.GC.Statistics.*
functions.
* 2008-01-24
- Added primitive (structural) polymorphic hash.
* 2008-01-21
- Fixed frontend to accept "op longvid" patterns and expressions.
Thanks to Florian Weimer for the bug report.
* 2008-01-17
- Extended -show-def-use output to include types of variable
definitions.
* 2008-01-09
- Extended MLton_equal to be a structural equality on all types,
including real and -> types.
* 2007-12-18
- Changed ML-Yacc and ML-Lex to output line directives so that
MLton's def-use information points to the source files (.grm
and .lex) instead of the generated implementations (.grm.sml
and .lex.sml).
* 2007-12-14
- Added runtime option 'may-page-heap {false|true}'. By default,
MLton will not page the heap to disk when unable to grow the heap
to a desired size. (Previously, this behavior was the default,
with no means to disable, with security and least-surprise
concerns.)
Thanks to Wesley Terpstra for the patch.
- Fixed bug the FFI visible representation of Int16.int ref (and
references of other primitive types smaller than 32-bits) on
big-endian platforms.
Thanks to Dave Herman for the bug report.
* 2007-12-13
- Fixed bug in ImperativeIOExtra.canInput (TextIO.canInput).
Thanks to Ville Laurikari for the bug report.
* 2007-12-09
- Better constant folding of IntInf operations.
* 2007-12-07
- Fixed bug in algebraic simplification of real primitives.
Real.<= (x, x) is false when x is NaN.
* 2007-11-29
- Fixed bug in type inference of flexible records. This would
later cause the compiler to raise the TypeError exception.
Thanks to Wesley Terpstra for the bug report.
* 2007-11-28
- Fixed bug in cross-compilation of gdtoa library. Thanks to
Wesley Terpstra for the bug report and patch.
* 2007-11-20
- Fixed bug in pass to flatten refs into containing data structure.
Thanks to Ruy LeyWild for the bug report.
* 2007-11-19
- Fixed bug in the handling of weak pointers by the mark-compact
garbage collector. Thanks to Sean McLaughlin for the bug report
and Florian Weimer for the initial diagnosis.
* 2007-11-07
- Added %posint command to ml-lex, to set the yypos type and allow
the lexing of multi-gigabyte input files. Thanks to Florian
Weimer for the feature concept and original patch.
* 2007-11-07
- Added command-line switch -mlb-path-var '<name> <value>' for
specifying MLB path variables.
* 2007-11-06
- Allow numeric characters in MLB path variables.
* 2007-09-20
- Fixed bug in elaboration of structures with signature
constraints. This would later cause the compiler to raise the
TypeError exception. Thanks to Vesa Karvonen for the bug report.
* 2007-09-11
- Fixed bug in interaction of _export-ed functions and signal
handlers. Thanks to Sean McLaughlin for the bug report.
* 2007-09-03
- Fixed bug in implementation of _export-ed functions using 'char'
type. Thanks to Katsuhiro Ueno for the bug report.
--------------------------------------------------------------------------------
Here are the changes from version 20051202 to version 20070826.
Summary:
+ New platforms:
o amd64-linux, amd64-freebsd
o hppa-hpux
o powerpc-aix
o x86-darwin (Mac OS X)
+ Compiler.
o Support for 64-bit platforms.
* Native amd64 codegen.
o Command-line switches.
* Added: -codegen amd64, -codegen x86, -default-type <type>,
-profile-val {false|true}.
* Changed: -stop f (file listing now includes .mlb files)
o Bytecode codegen.
* Support for profiling.
* Support for exception history.
+ Language.
o ML Basis annotations.
* Removed: allowExport, allowImport, sequenceUnit, warnMatch.
+ Libraries.
o Basis Library.
* Added: PackWord16Big, PackWord16Little, PackWord64Big,
PackWord64Little.
* Bug Fixes: see changelog.
o MLton structure.
* Added: MLTON_MONO_ARRAY, MLTON_MONO_VECTOR, MLTON_REAL,
MLton.BinIO.tempPrefix, MLton.CharArray, MLton.CharVector,
MLton.IntInf.BigWord, MLton.IntInf.SmallInt,
MLton.Exn.defaultTopLevelHandler,
MLton.Exn.getTopLevelHandler, MLton.Exn.setTopLevelHandler,
MLton.LargeReal, MLton.LargeWord, MLton.Real, MLton.Real32,
MLton.Real64, MLton.Rlimit.Rlim, MLton.TextIO.tempPrefix,
MLton.Vector.create, MLton.Word.bswap, MLton.Word8.bswap,
MLton.Word16, MLton.Word32, MLton.Word64, MLton.Word8Array,
MLton.Word8Vector.
* Changed: MLton.Array.unfoldi, MLton.IntInf.rep, MLton.Rlimit,
MLton.Vector.unfoldi.
* Deprecated: MLton.Socket
o Other libraries.
* Added: MLRISC libary.
* Updated: ckit library, SML/NJ library.
+ Tools.
* 2007-08-12
- Removed deprecated ML Basis annotations.
* 2007-08-06
- Fixed bug in treatment of Real<N>.{scan,fromString} operations.
Real<N>.{scan,fromString} were using TO_NEAREST semantics, but
should obey current rounding mode. (Only Real<N>.fromDecimal is
specified to always have TO_NEAREST semantics.) Thanks to Sean
McLaughlin for the bug report.
* 2007-07-27
- Fixed bugs in constant-folding of floating-point operations with C
codegen.
* 2007-07-26
- Fixed bug in treatment of floating-point operations. Floating-point
operations depend on the current rounding mode, but were being
treated as pure. Thanks to Sean McLaughlin for the bug report.
* 2007-07-13
- Added MLton.Exn.{default,get,set}TopLevelHandler.
* 2007-07-12
- Restored native option to -codegen flag.
* 2007-07-11
- Fixed bug in Real32.toInt: conversion of real values close to
Int.maxInt could be incorrect.
* 2007-07-07
- Updates to bytecode code generator: support for amd64-* targets,
support for profiling (including exception history).
- Fixed bug in Socket module of Basis Library; unmarshalling of
socket options (for get* functions) used andb rather than orb.
Thanks to Anders Petersson for the bug report (and patch).
* 2007-07-06
- Fixed bug in Date module of Basis Library; some functions would
erroneously raise Date when given a year <= 1900. Thanks to Joe
Hurd for the bug report.
- Fixed a long-standing bug in monomorphisation pass. Thanks to
Vesa Karvonen for the bug report.
* 2007-05-18
- Native amd64 code generator for amd64-* targets.
- Eliminate native option from -codegen flag.
- Add x86 and amd64 options to -codegen flag.
* 2007-04-29
- Improved type checking of RSSA and Machine ILs.
* 2007-04-14
- Fixed aliasing issues with basis/Real/*.c files.
- Added real/word casts in MLton structure.
* 2007-04-12
- Added primitives for bit cast of word to/from real.
- Implement PackReal<N>{Big,Little} using PackWord<N>{Big,Little}
and bit casts.
* 2007-04-11
- Move all system header #include-s to platform/ os headers.
- Use C99 <assert.h>, rather than custom "assert.{h,c}".
* 2007-03-13
- Implement PackWord<N>{Big,Little} entirely in ML, using an ML
byte swap function.
* 2007-02-25
- Change amd64-* target platforms from 32-bit compatability mode
(i.e., -m32) to 64-bit mode (i.e., -m64). Currently, only the C
codegen is able to generate 64-bit executables.
* 2007-02-23
- Removed expert command line switch -coalesce <n>.
- Added expert command line switch -chunkify {coalesce<n>|func|one}.
* 2007-02-20
- Fixed bug in PackReal<N>.toBytes. Thanks to Eric McCorkle for the
bug report (and patch).
* 2007-02-18
- Added command line switch -profile-val, to profile the evaluation of
val bindings; this is particularly useful with exception history for
debugging uncaught exceptions at the top-level.
* 2006-12-29
- Added command line switch -show {anns|path-map} and deprecated command
line switch -show-anns {false|true}. Use -show path-map to see the
complete MLB path map as seen by the compiler.
* 2006-12-20
- Changed the output of command line switch -stop f to include mlb-files.
This is useful for generating Makefile dependencies. The old output is
easy to recover if necessary (e.g. grep -v '\.mlb$').
* 2006-12-8
- Added command line switches -{,target}-{as,cc,link}-opt-quote, which
pass their argument as a single argument to gcc (i.e., without
tokenization at spaces). These options support using headers and
libraries (including the MLton runtime headers and libraries) from a
path with spaces.
* 2006-12-02
- Extensive reorganization of garbage collector, runtime system, and
Basis Library implementation. (This is in preparation for future
64bit support.) They should be more C standards compliant and easier
to port to new systems.
- FFI revisions
Disallow nested indirect types (e.g., int array array).
* 2006-11-30
- Fixed a bug in elaboration of FFI forms; unary FFI types (e.g.,
array, ref, vector) could be used in places where MLton.Pointer.t was
required. This would later cause the compiler to raise the TypeError
exception, along with a lot of XML IL.
* 2006-11-19
- On *-darwin, work with GnuMP installed via Fink or MacPorts.
* 2006-10-30
- Ported to x86-darwin.
* 2006-09-23
- Added missing specification of find to the MONO_VECTOR signature.
* 2006-08-03
- Fixed a bug in the "useless" SSA optimization, caused by calling
an imported C function and then ignoring the result.
* 2006-06-24
- Fixed a bug in pass to flatten data structures. Thanks to Joe Hurd
for the bug report.
* 2006-06-08
- Fixed a bug in the native codegen's implementation of the C-calling
convention.
* 2006-05-11
- Ported to PowerPC-AIX.
- Fixed a bug in the runtime for the cases where nonblocking IO with
sockets was implemented using MSG_DONTWAIT. This flag does not
exist on AIX, Cygwin, HPUX, and MinGW and was previously just
ignored. Now the runtime simulates the flag for these platforms
(except MinGW, yet, where it's still ignored).
* 2006-05-06
- Added -default-type '<ty><N>' for specifying the binding of default
types in the Basis Library (e.g., Int.int).
* 2006-04-25
- Ported to HPPA-HPUX.
- Fixed PackReal{,32,64}{Big,Little} to follow the Basis Library
specification.
* 2006-04-19
- Fixed a bug in MLton.share that could cause a segfault.
* 2006-03-30
- Changed MLton.Vector.unfoldi to return the state in addition to the
result vector.
* 2006-03-30
- Added MLton.Vector.create, a more powerful vector-creation function
than is available in the basis library.
* 2006-03-04
- Added MLRISC from SML/NJ 110.57 to standard distribution.
* 2006-03-03
- Fixed bug in SSA simplifier that could eliminate an irredundant test.
* 2006-03-02
- Ported a bugfix from SML/NJ for a bug with the combination of withNack
and never in CML.
* 2006-02-09
- Support compiler specific annotations in ML Basis files. If an
annotation contains ":", then the text preceding the ":" is meant to
denote a compiler. For MLton, if the text preceding the ":" is equal
to "mlton", then the remaining annotation is scanned as a normal
annotation. If the text preceding the ":" is not-equal to "mlton",
then the annotation is ignored, and no warning is issued.
* 2006-02-04
- Fixed bug in elaboration of functors; a program with a very large
number of functors could exhibit the error
"ElaborateEnv.functorClosure: firstTycons".
--------------------------------------------------------------------------------
Here are the changes from version 20041109 to version 20051202.
Summary:
+ New license: BSD-style instead of GPL.
+ New platforms:
o hppa: Debian Linux.
o x86: MinGW.
+ Compiler.
o improved exception history.
o Command-line switches.
* Added: -as-opt, -mlb-path-map, -target-as-opt, -target-cc-opt.
* Deprecated: none.
* Removed: -native, -sequence-unit, -warn-match, -warn-unused.
+ Language.
o FFI syntax changes and extensions.
* Added: _symbol.
* Changed: _export, _import.
* Removed: _ffi.
o ML Basis annotations.
* Added: allowFFI, nonexhaustiveExnMatch, nonexhaustiveMatch,
redundantMatch, sequenceNonUnit.
* Deprecated: allowExport, allowImport, sequenceUnit, warnMatch.
+ Libraries.
o Basis Library.
* Added: Int1, Word1.
o MLton structure.
* Added: Process.create, ProcEnv.setgroups, Rusage.measureGC,
Socket.fdToSock Socket.Ctl.getError.
* Changed: MLton.Platform.Arch.
o Other libraries.
* Added: ckit library, ML-NLFFI library, SML/NJ library.
+ Tools.
o updates of mllex and mlyacc from SML/NJ.
o added mlnlffigen.
o profiling supports better inclusion/exclusion of code.
* 2005-11-19
- Updated SML/NJ Library and CKit Library from SML/NJ 110.57.
* 2005-11-15
- Fixed a bug in MLton.ProcEnv.setgroups.
* 2005-11-11
- Fixed a bug in the interleaving of lexing/parsing and elaborating of
ML Basis files, which would raise an unhandled Force exception on
cyclic basis references. Thanks to John Dias for the bug report.
* 2005-11-10
- Fixed two bugs in Time.scan. One would raise Time on a string with a
large fractional component. Thanks to Carsten Varming for the bug
report. The other failed to scan strings with an explicit sign
followed by a decimal point.
* 2005-11-03
- Removed MLton.GC.setRusage.
- Added MLton.Rusage.measureGC.
* 2005-09-11
- Fixed bug in display of types with large numbers of type
variables, which could cause unhandled exception Chr.
* 2005-09-08
- Fixed bug in type inference of flexible records that would show up
as "Type error: variable applied to wrong number of type args".
* 2005-09-06
- Fixed bug in Real.signBit, which had assumed that the underlying
C signbit returned 0 or 1, when in fact any nonzero value is
allowed to indicate the signbit is set.
* 2005-09-05
- Added -mlb-path-map switch.
* 2005-08-25
- Fixed bug in MLton.Finalizable.touch, which was not keeping alive
finalizable values in all cases.
* 2005-08-18
- Added SML/NJ Library and CKit Library from SML/NJ 110.55 to
standard distribution.
- Fixed bug in Socket.Ctl.*, which got the endianness wrong on
big-endian machines. Thanks to Wesley Terpstra for the bug report
and fix.
- Added MLton.GC.setRusage.
- Fixed bug in mllex, which had file positions starting at 2. They
now start at zero.
* 2005-08-15
- Fixed bug in LargeInt.scan, which should skip leading "0x" and
"0X". Thanks to Wesley Terpstra for the bug report and fix.
* 2005-08-06
- Additional revisions of FFI.
Deprecated _export with incomplete annotation.
Added _address for address of C objects.
Eliminated address component of _symbol.
Changed the type of the _symbol* expression.
See documentation for more detail.
* 2005-08-06
- Annotation changes.
Deprecated: sequenceUnit
Added: sequenceNonUnit
* 2005-08-03
- Annotation changes.
Deprecated: allowExport, allowImport, warnMatch
Added: allowFFI, nonexhaustiveExnMatch, nonexhaustiveMatch,
redundantMatch
* 2005-08-01
- Update mllex and mlyacc with SML/NJ 110.55+ versions. This
incorporates a small number of minor bug fixes.
* 2005-07-23
- Fixed bug in pass to flatten refs into containing data structure.
* 2005-07-23
- Overhaul of FFI.
Deprecated _import of C base types.
Added _symbol for address, getter, and setter of C base types.
See documentation for more detail.
* 2005-07-21
- Update mllex and mlyacc with SML/NJ 110.55 versions. This
incorporates a small number of minor bug fixes.
* 2005-07-20
- Fixed bug in front end that allowed unary constructors to be used
without an argument in patterns.
* 2005-07-19
- Eliminated _ffi, which has been deprecated for some time.
* 2005-07-14
- Fixed bug in runtime that caused getrusage to be called on every
GC, even if timing info isn't needed.
* 2005-07-13
- Fixed bug in closure conversion tickled by making a weak pointer
to a closure.
* 2005-07-12
- Changed {OS,Posix}.Process.sleep to call nanosleep() instead of
sleep().
- Added MLton.ProcEnv.setgroups.
* 2005-07-11
- InetSock.{any,toAddr} raise SysErr if port is not in [0, 2^16).
* 2005-07-02
- Fixed bug in Socket.recvVecFrom{,',NB,NB'}. The type was too
polymorphic and allowed the creation of a bogus sock_addr.
* 2005-06-28
- The front end now reports errors on encountering undefined or
cyclicly defined MLB path variables.
* 2005-05-22
- Fixed bug in Posix.IO.{getlk,setlk,setlkw} that caused a link-time
error: undefined reference to Posix_IO_FLock_typ.
- Improved exception history so that the first entry in the history
is the source position of the raise, and the rest is the call
stack.
* 2005-05-19
- Improved exception history for Overflow exceptions.
* 2005-04-20
- Fixed a bug in pass to flatten refs into containing data structure.
* 2005-04-14
- Fixed a front-end bug that could cause an internal bug message of the
form "missing flexInst".
* 2005-04-13
- Fixed a bug in the representation of flat arrays/vectors that
caused incorrect behavior when the element size was 2 or 4 bytes
and there were multiple components to the element (e.g. (char *
char) vector).
* 2005-04-01
- Fixed a bug in GC_arrayAllocate that could cause a segfault.
* 2005-03-22
- Added structures Int1, Word1.
* 2005-03-19
- Fixed a bug that caused Socket.Ctl.{get,set}LINGER to raise
Subscript. The problem was in the use of PackWord32Little.update,
which scales the supplied index by bytesPerElem.
* 2005-03-13
- Fixed a bug in CML mailboxes.
* 2005-02-26
- Fixed an off-by-one error in mkstemp defined in mingw.c.
* 2005-02-13
- Added mlnlffigen tool (heavily adapted from SML/NJ).
* 2005-02-12
- Added MLNLFFI Library (heavily adapted from SML/NJ) to standard
distribution.
* 2005-02-04
- Fixed a bug in OS.path.toString, which did not raise InvalidArc
when needed.
* 2005-02-03
- Fixed a bug in OS.Path.joinDirFile, which did not raise InvalidArc
when passed a file that was not an arc.
* 2005-01-26
- Fixed a front end bug that incorrectly rejected expansive valbinds
with useless bound type variables.
* 2005-01-22
- Fixed x86 codegen bug which failed to account for the possibility that
a 64-bit move could interfere with itself (as simulated by 32-bit
moves).
* 2004-12-22
- Fixed Real32.fmt StringCvt.EXACT, which had been producing too
many digits of precision because it was converting to a
Real64.real.
* 2004-12-15
- Replaced MLB path variable MLTON_ROOT with SML_LIB, to use a more
compiler-independent name. We will keep MLTON_ROOT aliased to
SML_LIB until after the next release.
* 2004-12-02
- Unix.create now works on all platforms (including Cygwin and MinGW).
* 2004-11-24
- Added support for MLton.Process.create, which works on all
platforms (including Windows-based ones like Cygwin and MinGW) and
allows better control over std{in,out,err} for child process.
--------------------------------------------------------------------------------
Here are the changes from version 20040227 to 20041109.
Summary:
+ New platforms:
o x86: FreeBSD 5.x, OpenBSD
o PowerPC: Darwin (MacOSX)
+ Support for MLBasis files.
+ Support for dynamic libraries.
+ Support for Concurrent ML (CML).
+ New structures: Int2, Int3, ..., Int31 and Word2, Word3, ..., Word31.
+ A new form of profiling, -profile count.
+ A bytecode generator.
+ Data representation improvements.
+ MLton structure changes.
o Added: share, shareAll
o Changed: Exn, IntInf, Signal, Thread.
+ Command-line switch changes.
o Deprecated:
-native (use -codegen)
-sequence-unit (use -default-ann)
-warn-match (use -default-ann)
-warn-unused (use -default-ann)
o Removed:
-detect-overflow
-exn-history (use -const)
-safe
-show-basis-used
o Added:
-codegen
-const
-default-ann
-disable-ann
-profile-branch
-target-link-opt
* 2004-09-22
- Extended _import to support indirect function calls.
* 2004-09-13
- Made Date.{fromString,scan} accept a space (treated as zero) in
the first character of the day of the month.
* 2004-09-12
- Fixed bug in IntInf that could cause a seg fault.
- Remove MLton.IntInf.size.
* 2004-09-05
- Made -detect-overflow and -safe expert options.
* 2004-08-30
- Added val MLton.share: 'a -> unit, which maximizes sharing in a
heap object.
* 2004-08-27
- Fixed bug in Real.toLargeInt. It would incorrectly raise Option
instead of Overflow in the case when the real was not an INF, but
rounding produced an INF.
- Fixed bugs in Date.{fmt,fromString,scan,toString}. They
incorrectly allowed a space for the first character in the day of
the month.
* 2004-08-18
- Changed MLton.{Thread,Signal,World} to distinguish between
implicitly and explicitly paused threads.
* 2004-07-28
- Added support for programming in the large using the ML Basis
system.
* 2004-07-11
- Fixed bugs in ListPair.*Eq functions, which incorrectly raised
the UnequalLengths exception.
* 2004-07-01
- Added val MLton.Exn.addExnMessager: (exn -> string option) -> unit
* 2004-06-23
- Runtime system options that take memory sizes now accept a "g"
suffix indicating gigabytes. They also now take a real instead of
an integer, e.g. fixed-heap 0.5g. They also now accept uppercase,
e.g. 150M.
* 2004-06-12
- Added support for OpenBSD.
* 2004-06-10
- Added support for FreeBSD 5.x.
* 2004-05-28
- Deprecated the -native flag. Instead, use the new flag
-codegen {native|bytecode|C}. This is in anticipation of adding a
bytecode compiler.
* 2004-05-26
- Fixed a front-end bug that could cause cascading error to print a
very large and unreadable internal bug message of the form
"datatype ... realized with scheme Unknown".
* 2004-05-17
- Automatically restart functions in the Basis Library that correspond
directly to interruptable system calls.
* 2004-05-13
- Added -profile count, for dynamic counts of function calls and branches.
- Equate the types Posix.Signal.signal and Unix.signal.
* 2004-05-11
- Fixed a bug with -basis 1997 that would cause type errors due to
differences between types in the MLton structure and types in the
rest of the basis library.
* 2004-05-01
- Fixed a bug with sharing constraints in signatures that would
sometimes mistakenly treat two structures as identical when they
shouldn't have been. This would cause some programs to be
mistakenly rejected.
* 2004-04-30
- Added MLton.Signal.{handled,restart}.
* 2004-04-23
- Added Timer.checkCPUTimes, and updated the Timer structure to
match the latest basis spec. Also fixed totalCPUTimer and
totalRealTimer, which were wrong.
* 2004-04-13
- Added MLton.Signal.Mask.{getBlocked,isMember}.
* 2004-04-12
- Fix bug that mistakenly generalized variable types containing
unknown types when matching against a signature.
- Reasonable front-end error message when unification causes
recursive (circular) type.
* 2004-04-03
- Fixed bug in sharing constraints so that A = B = C means that all
pairs AB, AC, BC are shared, not just AB and BC. This matters in
some situations.
* 2004-03-20
- Fixed Time.now which was treating microseconds as nanoseconds.
* 2004-03-14
- Fixed SSA optimizer bug that could cause the error "<type> has no
tyconInfo property".
* 2004-03-11
- Fixed Time.fromReal to raise Time, not Overflow, on
unrepresentable times.
* 2004-03-04
- Added structures Word2, Word3, ..., Word31.
* 2004-03-03
- Added structures Int2, Int3, ..., Int31.
- Fixed bug in elaboration of "and" with signatures, structures, and
functors so that it now evaluates all right-hand sides before
binding any left-hand sides.
--------------------------------------------------------------------------------
Here are the changes from version 20030716 to 20040227.
Summary:
+ The front end now follows the Definition of SML and produces
readable error messages.
+ Added support for NetBSD.
+ Basis library changes tracking revisions to the specification.
+ Added structures: Int64, Real32, Word64.
+ File positions use Int64.
+ Major improvements to -show-basis, which now displays the basis in
a very readable way with full type information.
+ Command-line switch changes.
o Deprecated: -basis.
o Removed: -lib-search, -link, -may-load-world, -static.
o Added: -link-opt, -runtime, -sequence-unit, -show-def-use,
-stop tc, -warn-match, -warn-unused.
o Changed: -export-header, -show-basis, -show-basis-used.
o Renamed: -host to -target.
+ FFI changes.
o Renamed _ffi as _import.
o Added cdecl and stdcall attributes to _import and _export
expressions.
+ MLton structure changes.
o Added: Pointer.
o Removed: Ptrace.
o Changed: Finalizable, IntInf, Platform, Random, Signal, Word.
* 2004-02-16
- Changed -export-header, -show-basis, -show-basis-used to take a
file name argument, and they no longer force compilation to halt.
- Added -show-def-use and -warn-unused, which deal with def-use
information.
* 2004-02-13
- Added flag -sequence-unit, which imposes the constraint that in
the sequence expression (e1; e2), e1 must be of type unit.
* 2004-02-10
- Lots of changes to MLton.Signal: name changes, removal of
superfluous functions, additional functions.
* 2004-02-09
- Extended -show-basis so that when used with an input program, it
shows the basis defined by the input program.
- Added "stop" runtime argument.
- Made -call-graph {false|true} an option to mlprof that determines
whether or not a call graph file is written.
* 2004-01-20
- Fixed a bug in IEEEReal.{fromString,scan}, which would improperly
return INF instead of ZERO for things like "0.0000e123456789012345".
- Fixed a bug in Real.{fromDecimal,fromString,scan}, which didn't
return an appropriately signed zero for ~0.0.
- Fixed a bug in Real.{toDecimal,fmt}, which didn't correctly handle
~0.0.
- Report a compile-time error on unrepresentable real constants.
* 2004-01-05
- Removed option -may-load-world. You can now use -runtime
no-load-world instead.
- Removed option -static. You can now use -link-opt -static
instead.
- Changed MLton.IntInf.size to return 0 instead of 1 on small ints.
* 2003-12-28
- Fixed horrible bug in MLton.Random.alphaNumString that caused it
to return 0 for all characters beyond position 11.
* 2003-12-17
- Removed -basis as a normal flag. It is still available as an
expert flag, but its use is deprecated. It will almost certainly
disappear after the next release.
* 2003-12-10
- Allow multiple @MLton -- runtime args in sequnce. This makes it
easier for scripts to prefix @MLton args without having to splice
them with other ones.
* 2003-12-04
- Added support for files larger than 2G. This included changing
Position from Int32 to Int64.
* 2003-12-01
- Added structure MLton.Pointer, which includes a type t for
pointers (memory addresses, not SML heap pointers) and operations
for loading from and storing to memory.
* 2003-11-03
- Fixed Timer.checkGCTime so that only the GC user time is included,
not GC system time.
* 2003-10-13
- Added -warn-match to control display nonexhaustive and redundant
match warnings.
- Fixed space leak in StreamIO causing the entire stream to be
retained. Thanks to Jared Showalter for the bug report and fix.
* 2003-10-10
- Added "-stop tc" switch to stop after type checking.
* 2003-09-25
- Fixed Posix.IO.getfl, which had mistakenly called fcntl with
F_GETFD instead of F_GETFL.
- Tracking basis library changes:
o Socket module datagram functions no longer return amount
written, since they always write the entire amount or fail. So,
send{Arr,Vec}To{,'} now return unit instead of int.
o Added nonblocking versions of all the send and recv functions,
as well as accept and connect. So, we now have:
acceptNB, connectNB, recv{Arr,Vec}{,From}NB{,'},
send{Arr,Vec}{,To}NB{,'}
* 2003-09-24
- Tracking basis library changes:
o TextIO.inputLine now returns a string option.
o Slices used in Byte, PRIM_IO, PrimIO, Posix.IO, StreamIO
o Posix.IO.readVec raises Size, not Subscript, with negative
argument.
* 2003-09-22
- Fixed Real.toManExp so that the mantissa is in [0.5, 1),
not [1, 2). The spec says that 1.0 <= man * radix < radix, which
since radix is 2, implies that the mantissa is in [0.5, 1).
- Added Time.{from,to}Nanoseconds.
* 2003-09-11
- Added Real.realRound.
- Added Char{Array,Vector}Slice to Text.
* 2003-09-11
- OS.IO.poll and Socket.select now raise errors on negative
timeouts.
- Time.time is now implemented using IntInf instead of Int, which
means that a much larger range of time values is representable.
* 2003-09-10
- Word64 is now there.
* 2003-09-09
- Replaced Pack32{Big,Little} with PackWord32{Big,Little}.
- Fixed bug in OS.FileSys.fullPath, which mistakenly stopped as soon
as it hit a symbolic link.
* 2003-09-08
- Fixed @MLton max-heap, which was mistakenly ignored. Cleaned up
@MLton fixed-heap. Both fixed-heap and max-heap can use copying
or mark-compact collection.
* 2003-09-06
- Int64 is completely there.
- Fixed OS.FileSys.tmpName so that it creates the file, and doesn't
use tmpnam. This eliminates an annoying linker warning message.
* 2003-09-05
- Added structures {LargeInt,LargeReal,LargeWord,Word}
{Array,Array2,ArraySlice,Vector,VectorSlice}
- Fixed bug in Real.toDecimal, which return class NORMAL for
subnormals.
- Fixed bug in Real.toLargeInt, which didn't return as precise an
integer as possible.
* 2003-09-03
- Lots of fixes to Real functions.
o Real32 is now completely in place, except for Real32.nextAfter
on SunOS.
o Fixed Real.Math.exp on x86 to return the right value when
applied to posInf and negInf.
o Changed Real.Math.{cos,sin,tan} on x86 to always use a call to
the C math library instead of using the x86 instruction. This
eliminates some anomalies between compiling -native false and
-native true.
o Change Real.Math.pow to handle exceptional cases in the SML
code.
o Fixed Real.signBit on Sparcs.
* 2003-08-28
- Fixed PackReal{,64}Little to work correctly on Sparc.
- Added PackReal{,64}Big, PackReal32{Big,Little}.
- Added -runtime switch, which passes arguments to the runtime via
@MLton. These arguments are processed before command line
switches.
- Eliminated MLton switch -may-load-world. Can use -runtime
combined with new runtime switch -no-load-world to disable load
world in an executable.
* 2003-08-26
- Changed -host to -target.
- Split MLton.Platform.{arch,os} into MLton.Platform.{Arch,OS}.t.
* 2003-08-21
- Fixed bug in C codegen that would cause undefined references to
Real_{fetch,move,store} when compiling on Sparcs with -align 4.
* 2003-08-17
- Eliminated -link and -lib-search, which are no longer needed.
Eliminated support for passing -l*, -L*, and *.a on the command
line. Use -link-opt instead.
* 2003-08-16
- Added -link-opt, for passing options to gcc when linking.
* 2003-07-19
- Renamed _ffi as _import. The old _ffi will remain for a while,
but is deprecated and should be replaced with _import.
- Added attributes to _export and _import. For now, the only
attributes are "cdecl" and "stdcall".
--------------------------------------------------------------------------------
Here are the changes from version 20030711 to 20030716.
Summary:
+ Fixed several serious bugs with the 20030711 release.
* 2003-07-15
- Fixed bug that caused a segfault when attempting to create an
array that was too large, e.g
1 + Array.sub (Array.tabulate (valOf Int.maxInt, fn i => i), 0)
- mlton now checks the command line arguments following the file to
compile that are passed to the linker to make sure they are
reasonable.
* 2003-07-14
- Fixed packaging for Cygwin and Sparc to include libgmp.a.
- Eliminated bootstrap target. The Makefile automatically
determines whether to bootstrap or not.
- Fixed XML type checker bug that could cause error: empty tyvars in
PolyVal dec.
* 2003-07-12
- Turned off FORCE_GENERATIONAL in gc. It had been set, which
caused the gc to always use generational collection. This could
seriously slow apps down that don't need it.
--------------------------------------------------------------------------------
Here are the changes from version 20030312 to 20030711.
Summary:
+ Added support for Sparc/SunOS using the C code generator.
+ Completed the basis library implementation. At this point, the
only missing basis library function is "use".
+ Added _export, which allows one to call SML functions from C.
+ Added weak pointers (via MLton.Weak) and finalization (via
MLton.Finalizable).
+ Added new integer modules: Int8, Int16.
+ Better profiling call graphs
+ Fixed conversions between reals and their decimal representations
to be correct using the gdtoa library.
* 2003-07-07
- Profiling improvements
o Eliminated mlton -profile-split. Added mlprof -split. Now the
profiling infrastructure keeps track of the splits and allows
one to decide which splits to make (if any) when mlprof is run,
which is much better than having to decide at compile time.
o Changed mlprof -graph to mlprof -keep, and changed the behavior
so that -keep also controls which functions are displayed in the
table.
o Eliminated mlprof -ignore: it's behavior is now subsumed by
-keep, whose meaning has changed to be more like -ignore on
nodes that are not kept.
- When calling gcc for linking, put -link args in same order as they
appeared on the MLton command line (they used to be reversed).
* 2003-07-03
- Making OS.Process.{atExit,exit} conform to the basis library spec
in that exceptions raised during cleaners are caught and ignored.
Also, calls to exit from cleaners cause the rest of cleaners to
run.
* 2003-07-02
- Fixed bug with negative IntInf constants that could cause compile
time error message:
"x86Translate.translateChunk ... strange Offset: base: ..."
- Changed argument type of MLton.IntInf.Small from word to int.
- Added fix to profiling so that the mlmon.out file is written even
when the program terminates due to running out of memory.
* 2003-06-25
- Added {Int{8,16},Word8}{,Array,ArraySlice,Vector,VectorSlice,Array2}
structures.
* 2003-06-25
- Fixed bug in IntInf.sign, which returned the wrong value for zero.
* 2003-06-24
- Added _export, for calling from C to SML.
* 2003-06-18
- Regularization of options.
-diag --> -diag-pass
-drop-pass takes a regexp
* 2003-06-06
- Fixed bug in OS.IO.poll that caused it to return the input event
types polled for instead of what was actually available.
* 2003-06-04
- Fixed bug in known case SSA optimization that could case incorrect
results in compiled programs.
* 2003-06-03
- Fixed bug in SSA optimizer that could cause the error message
Type error: Type.equals
{from = char vector, to = unit vector}
Type error: analyze raised exception loopStatement: ...
unhandled exception: TypeError
* 2003-06-02
- Fixed Real.rem to work correctly on infs and nans.
- Fixed bug in profiling that caused the function name to be omitted
on functions defined by val rec.
* 2003-05-31
- Fixed Real.{fmt,fromString,scan,toString} to match the basis
library spec.
- Added IEEEReal.{fromString,scan}.
- Added Real.{from,to}Decimal.
* 2003-05-25
- Added Real.nextAfter.
- Added OS.Path.{from,to}UnixPath, which are the identity function
on Unix.
* 2003-05-20
- Added type MLton.pointer, the type of C pointers, for use with the
FFI.
* 2003-05-18
- Fixed two bugs in type inference that could cause the compiler to
raise the TypeError exception, along with a lot of XML IL.
The type-check.sml regression contains simple examples of what
failed.
- Fixed a bug in the simplifier that could cause the message:
shrinker raised Prim.apply raised assertion failure: SmallIntInf.fromWord
* 2003-05-15
- Fixed bug in Real.class introduced on 04-28 that cause many
regression failures with reals when using newer gccs.
- Replaced MLton.Finalize with MLton.Finalizable, which has a more
robust approach to finalization.
* 2003-05-13
- Fixed bug in MLton.FFI on Cygwin that caused Thread_returnToC to
be undefined.
* 2003-05-12
- Added support for finalization with MLton.Finalize.
* 2003-05-09
- Fixed a runtime system bug that could cause a segfault. This bug
would happen after a GC during heap resizing when copying a heap,
if the heap was allocated at a very low (<10M) address. The bug
actually showed up on a Cygwin system.
* 2003-05-08
- Fixed bug in HashType that raised "Vector.forall2" when the
arity of a type constructor is changed by simplifyTypes, but
a newly constructed type has the same hash value.
* 2003-05-02
- Switched over to new layered IO implementation, which completes
the implementation of the BinIO and TextIO modules.
* 2003-04-28
- Fixed bug that caused an assertion failure when generating a jump
table for a case dispatch on a non-word sized index with non-zero
lower bound on the range.
* 2003-04-24
- Added -align {4|8}, which controls alignment of objects. With
-align 8, memory accesses to doubles are guaranteed to be aligned
mod 8, and so don't need special routines to load or store.
* 2003-04-22
- Fixed bug that caused a total failure of time profiling with
-native false. The bug was introduced with the C codegen
improvements that split the C into multiple files. Now, the C
codegen declares all profile labels used in each file so that they
are global symbols.
* 2003-04-18
- Added MLton.Weak, which supports weak pointers.
* 2003-04-10
- Replaced the basis library's MLton.hostType with
MLton.Platform.arch and MLton.Platform.os.
* 2003-04
- Added support for SPARC/SunOS using the C codegen.
* 2003-03-25
- Added MLton.FFI, which allows callbacks to SML from C.
* 2003-03-21
- Fixed mlprof so that the default -graph arg for data from
-profile-stack true is '(thresh-stack x)', not '(thresh x)'.
--------------------------------------------------------------------------------
Here are the changes from version 20020923 to 20030312.
Summary:
+ Added source-level profiling of both time and allocation.
+ Updated basis library to 2002 specification. To obtain the old
library, compile with -basis 1997.
+ Added many modules to basis library:
BinPrimIO, GenericSock, ImperativeIO, INetSock, NetHostDB,
NetProtDB, NetServDB, Socket, StreamIO, TextPrimIO, UnixSock.
+ Completed implementation of IntInf and OS.IO.
* 2003-02-23
- Replaced -profile-combine wih -profile-split.
* 2003-02-11
- Regularization of options.
-l --> -link
-L --> -lib-search
-o --> -output
-v --> -verbose
* 2003-02-10
- Added option to mlton: -profile-combine {false|true}
* 2003-02-09
- Added options to mlprof: -graph-title, -gray, -ignore, -mlmon,
-tolerant.
* 2002-11 - 2003-01
- Added source-level allocation and time profiling. This includes
the new options to mlton: -profile and -profile-stack.
* 2002-12-28
- Added NetHostDB,NetProtDB,NetServDB structures.
- Added Socket,GenericSock,INetSock,UnixSock structures.
* 2002-12-19
- Fixed bug in signal check insertion that could cause some signals
to be missed. The fix was to add a signal check on entry to each
function in addition to at each loop header.
* 2002-12-10
- Fixed bug in runtime that might cause the message
Unable to set cardMapForMutator.
* 2002-11-23
- Added support for the latest Basis Library specification.
- Added option -basis to choose Basis Library version. Currently available
basis libraries are 2002, 2002-strict, 1997, and none.
- Added IntInf.{orb,xorb,andb,notb,<<,~>>} values.
- Added OS.IO.{poll_desc,poll_info} types.
- Added OS.IO.{pollDesc,pollToIODesc,infoToPollDesc,Poll} values.
- Added OS.IO.{pollIn,pollOut,pollPri,poll,isIn,isOut,isPri} values.
- Added BinPrimIO,TextPrimIO structures.
- Added StreamIO,ImperativeIO functors.
* 2002-11-22
- Fixed bug that caused time profiling to fail (with a segfault) when resuming
a saved world.
* 2002-11-07
- Fixed bug in MLton.eq that could arise when using eq on functions.
* 2002-11-05
- Improvements to polymorphic equality. Equality on IntInfs, vectors,
and dataypes all do an eq test first before a more expensive comparison.
* 2002-11-01
- Added allocation profiling. Now, can compile with either -profile alloc
or -profile time. Renamed MLton.Profile as MLton.ProfileTime. Added
MLton.ProfileAlloc. Cleaned up and changed most mlprof option names.
* 2002-10-31
- Eliminated MLton.debug.
- Fixed bug in the optimizer that affected IntInf.fmt. The optimizer
had been always using base 10, instead of the passed in radix.
* 2002-10-22
- Fixed Real.toManExp so that the mantissa is in [1, 2), not [0.5, 1).
- Added Real.fromLargeInt, Real.toLargeInt.
- Fixed Real.split, which would return an incorrect whole part due to
the underlying primitive, Real_modf, being treated as functional instead
of side-effecting.
* 2002-09-30
- Fixed rpath problem with packaging. All executables in packages previously
made had included a setting for RPATH.
--------------------------------------------------------------------------------
Here are the changes from version 20020410 to 20020923.
Summary:
+ MLton now runs on FreeBSD.
+ Major runtime system improvements. The runtime now implements
mark-compact and generational collection, in addition to the copying
collection that was there before. It automatically switches between
the the collection strategies to improve performance and to try to avoid
paging.
+ Performance when compiling "-exn-history true" has been improved.
+ Added IntInf.log2, MLton.GC.pack, MLton.GC.unpack.
+ Fixed bug in load world that could cause "sread failed" on Cygwin.
+ Fixed optimizer bug that could cause "no analyze var value property"
message.
* 2002-09
- Integrated Sam Rushing's changes to port MLton to FreeBSD.
* 2002-08-25
- Changed the implementation of exception history to be completely functional.
Now, the extra field in exceptions (when compiling -exn-history true) is a
string list instead of a string list ref, and raise conses a new exception
with a new element in the list instead of assigning to the list. This
changes the semantics of exception history (for the better) on some
programs. See regression/exnHistory3.sml for an example. It also
significantly improves performance when compiling -exn-history true.
* 2002-07 and 2002-08
- Added generational GC, and code to the runtime that automatically turns it
on and off.
* 2002-08-20
- Fixed SSA optimizer bug that could cause the following error message
x_0 has no analyze var value property
* 2002-07-28
- Added MLton.GC.{pack,unpack}. pack shrinks the heap so that other processes
can use the RAM, and its dual, unpack, resizes the heap to the desired size.
* 2002-06 and 2002-07
- Added mark compact GC.
- Changed array layout so that arrays have three, not two header words.
The new word is a counter word that preceeds the array length and header.
- Changed all header words to be indices into an array of object descriptors.
* 2002-06-27
- Added patches from Michael Neumann to port runtime to FreeBSD 4.5.
* 2002-06-05
- Output file and intermediate file are now saved in the current directory
instead of in the directory containing the input file.
* 2002-05-31
- Fixed bug in overloading of / so that the following now type checks:
fun f (x, y) = x + y / y
* 2002-04-26
- Added back max-heap runtime option.
* 2002-04-25
- Fixed load/save world so that they use binary mode. This should fix the
"sread failed" problem that Byron Hale saw on Cygwin that caused mlton to
fail to start.
- Added IntInf.log2.
- Changed call to linker to use libgmp.a (if it exists) instead of libgmp.so.
This is because the linker adds a dependency to a shared library even if
there are no references to it
* 2002-04-23
- Rewrote heap resizing code. This fixed bug that was triggered with large
heaps and could cause a spurious out of memory error.
- Removed gmp from MLton sources (again :-).
--------------------------------------------------------------------------------
Here are the changes from version 20011006 to version 20020410.
* 2002-03-28
- Added BinIO.
* 2002-03-27
- Regularization of options
-g --> -degug {false|true}
-h n --> -fixed-heap n
-p --> -profile {false|true}
* 2002-03-22
- Set up the stubs so that MLton can be compiled in the standard basis
library, with no MLton structure. Thus it is now easy to compile MLton
with an older (or newer) version of itself that has a different MLton
structure.
* 2002-03-17
- Added MLton.Process.{spawn,spawne,spawnp}, which use primitives when
running on Cygwin and fork/exec when running on Linux.
* 2002-02 - 2002-03
- Added the ability to cross-compile to Cygwin/Windows.
* 2002-02-24
- Added gmp back for use with Cygwin.
* 2002-02-10
- Reworked object header words so that Array.maxLen = valOf Int.maxInt.
Also fixed a long-standing minor bug in MLton, where
Array.array (Array.maxLen, ...) would raise Size instead of attempting
to allocate the array. It was an off-by-one error in the meaning of
Array.maxLen.
* 2002-02-08
- Modifications to runtime to behave better in situations where the amount of
live data is a signifant fraction of the amount of RAM, based on code from
PolySpace. MLton executables by default can now use more than the
available amount of RAM. Executables will still respect the max-heap
runtime arg if it is set.
* 2002-02-04
- Improvements to runtime so that it fails to get space, it attempts to get
less space instead of failing. Based on PolySpace's modifications.
- Added MLton.eq.
* 2002-02-03
- Added MLton.IntInf.gcd.
- Removed gmp from MLton sources. We now link with /usr/lib/gmp.a.
- Added TextIO.getPosOut.
- Renamed type MLton.Itimer.which to MLton.Itimer.t and
MLton.Itimer.whichSignal to MLton.Itimer.signal.
- Added -coalesce flag, for use with the C backend.
* 2002-01-26
- Added -show-basis-used, which prints out the parts of the basis library
that the input program uses.
- Changed several other flags (-print-at-fun-entry, -show-basis, -static)
to follow the {false|true} convention.
* 2002-01-22
- Improved MLton.profile so that multiple profile arrays can exist
simultaneously and so that the current one being used can be set from
the SML side.
* 2002-01-18
- The MACHINE IL has been replaced with an RSSA (representation explicit SSA)
IL and an improved MACHINE IL.
* 2002-01-16
- Added known case SSA optimization
* 2002-01-14
- Added rudimentary profiling control from with a MLton compile program via the
MLton.Profile structure.
* 2002-01-09
- Fixed bug in match compiler that caused case expressions on datatypes
with redundant cases to be compiled incorrectly.
* 2002-01-08
- Added redundant tuple construction elimination to SSA shrinker.
- Improved flatten SSA optimization.
* 2001-12-06
- Changed the interface for MLton.Signal. There is no longer a separate
Handler substructure. This was done so that programs that just use
default and ignore signal handlers don't bring in the entire thread
mechanism.
* 2001-12-05
- Added local ref elimination SSA optimization.
* 2001-11-19
- The CPS IL has been replaced with an SSA (static-single assignment) IL.
All of the optimizations have been ported from CPS to SSA.
* 2001-10-24
- Fixed bug in Thread_atomicEnd -- limit was mistakenly set to base instead of
to 0. This caused assertion failures when for executables compiled -g
because GC_enter didn't reset the limit.
- Fixed bug in register allocation of byte registers.
* 2001-10-23
- Added -D option to cmcat for preprocessor defines. Thanks to Anoq for
sending the code.
- Changed limit check insertion so that limit checks are only coalesced within
a single basic block -- not across blocks. This slows many benchmarks down,
but is needed to fix a bug in the way that limit checks were coalesced across
blocks. Hopefully we will figure out a better fix soon.
* 2001-10-18
- Fixed type inference of flexrecord so that it now follows the Definition.
Many programs containing flexrecords were incorrectly rejected. Added many
new tests to regression/flexrecord.sml.
- Changed the behavior of -keep dot combined with -keep pass for SSA passes.
Dot files are now saved for the program before and after, instead of just
after.
* 2001-10-11
- Fixed a bug in the type inference that caused type variables to be
mistakenly generalized. The bug was exposed in Norman Ramsey's sled.sml.
Added a test to regression/flexrecord.sml to catch the problem.
--------------------------------------------------------------------------------
Here are the changes from version 20010806 to version 20011006.
Summary:
+ Added MLton.Exn.history, which is similar to SMLofNJ.exnHistory.
+ Support for #line directives of the form (*#line line.col "file"*).
+ Performance improvements in native codegenerator.
+ Bug fixes in front-end, optimizer, register allocator,
Real.{maxFinite, minPos, toManExp}, and in heap save and restore.
* 2001-10-5
- Fixed a bug in polymorphic layered patterns, like
val 'a a as b = []
These would always fail due to the variable "a" not being handled correctly.
- Fixed the syntax of "val rec" so that a pattern is allowed on the left-hand
side of the =. Thus, we used to reject, but now accept, the following.
val rec a as b as c = fn _ => ()
val rec a : unit -> unit : unit -> unit = fn () => ()
Thanks again to Andreas Rossberg's test files. This is now tested for in
valrec.sml.
- Fixed dynamic semantics of "val rec" so that if "val rec" is used to
override constructor status, then at run time, the Bind exception is raised
as per rule 126 of the Definition. So, for example, the following program
type checks and compiles, but raises Bind at run time.
val rec NONE = fn () => ()
val _ = NONE ()
Again, this is checked in valrec.sml.
- Added '\r\n' to ml.lex so that Windows style newlines are acceptable in
input files.
* 2001-10-4
- Fixed bug in the implementation of "open" declarations, which in the case of
"open A B" had opened A and then looked up B in the resulting environment.
The correct behaviour (see rule 22 of the Definition) is to lookup each
longstrid in the current environment, and then open them all in sequence.
This is now checked for in the open.sml regression test. Thanks to Andreas
Rossberg for pointing this bug out.
- Fixed bug that caused tyvars of length 1 (i.e. ') to be rejected. This is
now checked in the id.sml regression test. Again, thanks to Andreas
Rossberg for the test.
* 2001-10-2
- Fixed bugs in Real.toManExp (which always returned the wrong result because
the call to frexp was not treated as side-effecting by the optimizer) and
in Real.minPos, which was zero because of a mistake with extra precision
bits.
* 2001-10-1
- Added MLton.Exn.history.
- Fixed register allocation bug with fucom instruction. Was
allowing fucomp when the first source was not removable.
- Changed Real.isFinite to use the C math.h finite function. This fixed the
nontermination bug which occurred in any program that used Real.maxFinite.
* 2001-9-22
- Bug fixes found from Ramsey's lrtl in contify.fun and unused-args.fun, both
of which caused compile-time exceptions to be raised.
* 2001-9-21
- Fixed MLton.World.{load,save} so that the saved world does not store the
max heap size. Instead, the max heap size is computed upon load world in
exactly the same way as at program startup. This fixes a long-standing (but
only recently noticed) problem in which mlton (which uses a saved world)
would attempt to use as much memory as was on the machine used to build
world.mlton.
* 2001-8-29
- Overlow checking is now on by default in the C backend. This is a huge
performance hit, but who cares, since we never use the C backend except for
testing anyways.
* 2001-8-22
- Added support for #line directives of the form
(*#line line.col "file"*)
These directives only affect error messages produced by the parser and
elaborator.
* 2001-8-17
- Fixed bug in removeUnused optimzation that caused the following program to
fail to compile.
fun f l = case l of [] => f l | _ :: l => f l
val _ = f [13]
* 2001-8-14
- New x86-codegen infrastructure.
o support for tracking liveness of stack slots and carrying them
in registers across basic blocks
o more specific Entry and Transfer datatypes to make calling convention
distinctions more explicit
o new heuristic for carrying values in registers across basic blocks
(look Ma, no Overflows!)
o new "predict" model for generating register allocation hints
o additional bug fixes
* 2001-8-7
- MLton.Socket.shutdownWrite flushes the outstream.
--------------------------------------------------------------------------------
Here are the changes from version 20010706 to version 20010806.
Summary:
+ Word.andb (w, 0xFF) now works correctly
+ MLton.Rusage.rusage has a patch to work around a linux kernel bug
+ Programs of the form "exp ; program" are now accepted
+ Added the "MLton.Rlimit" structure
+ Added the "-keep dot" flag, which produces call graphs,
intraprocedural control-flow graphs, and dominator trees
* 2001-8-6
- Added simple common block elimination CPS optimization.
* 2001-8-2
- Took out -keep il.
* 2001-7-31
- Performance improvements to TextIO.{input, output, output1}
* 2001-7-25
- Added redundant-test elimination CPS optimization.
* 2001-7-21
- Added common-subexpression elimination CPS optimization.
* 2001-7-20
- Bug fix to x86 codegen. The commuteBinALMD peephole optimization would
rewrite mov 2,Y; add Y,Y as mov Y,Y; add 2,Y. Now the appropriate
interference checks are made.
- Added intraprocedural unused argument removal.
- Added intraprocedural flattener. This avoids some stupid tuple
allocations in loops. Decent speedup on a few benchmarks
(count-graphs, psdes-random, wc-scanStream) and no noticeable
slowdowns.
- Added -keep dot flag.
* 2001-7-17
- Modified grammar to properly handle val rec. There were several problems.
o MLton had accepted "val rec 'a ..." instead of "val 'a rec ..."
o MLton had not accepted "val x = 13 and rec f = fn () => ()"
o MLton had not accepted "val rec rec f = fn () => ()"
o MLton had not accepted "val rec f = fn () => () and rec g = fn () => ()"
* 2001-7-16
- Workaround for Linux kernel bug that can cause getrusage to return a wrong
system time value (low by one second). See fixedGetrusage in gc.c.
- Bug fix to x86 codegen. The register allocator could get confused when
doing comparisons of floating point numbers and use the wrong operand.
The bug seems to have never been detected because it only happens when both
of the operands are already on the floating point stack, which is rare,
since one is almost always in memory since we don't carry floating point
values in the stack across basic blocks.
- Added production to the grammar on page 58 of the Definition that had been
missing from MLton since day one.
program ::= exp ; <program>
Also updated docs to reflect change.
- Modified grammar to accept the empty program.
- Added -type-check expert flag to turn on type checking in ILs.
* 2001-7-15
- Bug fix to the algebraic simplifier. It had been rewriting
Word32.andb (w, 0wxFF) to w
instead of Word32.andb (w, 0wxFFFFFFFF) to w.
* 2001-7-13
- Improved CPS shrinker so that if-tests where the then and else branch jump
to the same label is turned into a direct jump.
- Improved CPS shrinker (Prim.apply) to handle constructors
A = A --> true
A = B --> false
A x = B y --> false
- Rewrote a lot of loops in the basis library to use inequalities instead of
equality for the loop termination test so that the (forthcoming) overflow
detection elimination will work on the loop index variable.
* 2001-7-11
- Fixed minor bugs in Array2.{array,tabulate}, Substring.{slice} that caused
the Overflow exception to be raised instead of Size or Subscript
- Fixed bug in Pack32Big.update that caused the wrong location to be updated.
- Fixed several bugs in Pack32{Big,Little}.{subArr,subVec,update} that caused
Overflow to be raised instead of Subscript. Also, improved the
implementation so that bounds checking only occurs once per call (instead of
four times, which was sometimes happening.
- Fixed bugs in Time.{toMilliseconds,toMicroseconds} that could cause
a spurious Overflow exception.
- Fixed bugs in Time.{fromMilliseconds,fromMicroseconds} that could cause
a spurious Time exception.
- Improved Pack32.sub* by reordering the orbs.
- Improved {Int,IntInf}.mod to increase chances of constant folding.
- Switched many uses of +, -, * in basis library to the non-overflow checked
versions. Modules changed were: Array, Array2, Byte, Char, Int, IntInf,
List, Pack32{Big,Little}, Util, String, StringCvt, Substring, TextIO, Time,
Vector.
- Added regression tests for Array2, Int (overflow checking), Pack32,
Substring, Time.
- Changed CPS output so that it includes a dot graph for each CPS function.
* 2001-7-9
- Change OS.Process.exit so that it raises an exception if the exit status
is not in [0, 256).
- Added MLton.Rlimit to provide access to getrlimit and setrlimit.
--------------------------------------------------------------------------------
Here are the changes from the 20000906 version to the 20010706 version.
Summary:
+ Native X86 code generator (instead of using gcc)
+ Significantly improved compile times
+ Significantly improved run times for generated executables
+ Many bug fixes
+ Correct raising of the Overflow exception for integer arithmetic
+ New modules in the MLton structure
* 2001-7-6
- GC mods from Henry. Mostly adding inline declarations.
* 2001-7-5
- Fixed several runtime bugs involving threads, critical sections, and
signals.
* 2001-6-29
- Fixed performance bug in cps/two-point-lattice.fun that caused quadratic
behavior. This affects the raise-to-jump and useless analayses. In
particular, the useless analysis was blowing up when compiling fxp.
* 2001-6-27
- Henry improved wordAlign -- this sped up GC by 27% (during a self compile).
* 2001-6-20
- Moved MLton.random to MLton.Random.rand and added other stuff to
MLton.Random
- Added MLton.TextIO.mkstemp.
- Made Int.{div,quot} respect the -detect-overflow switch.
* 2001-6-20
- Added MLton.Syslog.
* 2001-6-7
- Fixed bug in MLton.Socket.accept that was in the runtime implementation
Socket_accept. It did a setsockopt SO_REUSEADDR after the accept. It
should have been after the call to socket in Socket_listen. Thanks to
Doug Bagley for the fix.
* 2001-5-30
- Fixed bug in remove-unused that caused polymorphic equality to return
true sometimes when constructors were never used in a pattern match.
For example, the following (in which A and B are not used as patterns):
datatype t = A | B
datatype u = C of t
val _ = if C A = C B then raise Fail "bug" else ()
* 2001-3-27
- Fixed bug that caused all of the following to fail
{LargeWord,Word,SysWord}.{toLargeInt,toLargeIntX,fromLargeInt}
The problem was the basis library file integer/patch.sml which fixed Word32
but not the other structures that are the same.
* 2001-2-12
- Fixed bug in match compiler that caused it to spend a lot of extra time in
deep patterns. It still could be exponential however. Hopefully this
will get fixed in the release after next.
This bug could cause very slow compile times in some cases.
Anyways, this fix cut the "finish infer" time of a self compile down
from 22 to under 4 seconds. I.E. most of the time used to be spent due
to this bug.
* 2001-2-6
- Fixed bug in frontend that caused the wrong file and line number to be
reported with errors in functor bodys.
* 2001-1-3 - 2000-2-5
- Changes to CoreML, XML, SXML, and CPS ILs to replace lists by vectors in
order to decrease space usage.
* 2001-1-16
- Fixed a bug in constant propagation where the length of vectors was not
propagated properly.
* 2000-12-11 - 2001-1-3
- Major rewrite of elaborator to use a single hash table for each namespace
instead of a hash table for every environment.
* 2000-12-20
- Fixed some bugs in the SML/NJ compatibility library,
src/lib/mlton-subs-in-smlnj.
* 2000-12-8
- More careful removal of tracing code when compiling MLton_debug=0.
This cut down self compile data size by 100k and compile time by a few
seconds.
- Added built in character and word cases propagated throughout all ILs.
* 2000-12-6
- Added max stack size information to gc-summary.
* 2000-12-5
- Added src/benchmark, which contains an SML program that benchmarks all of
the SML compilers I have my hands on. The script has lots of hardwired
paths for now.
* 2000-12-4
- Fixed bug in Posix.ProcEnv.environ, which did not work correctly in a saved
world (the original environ was saved). In fact, it did not work at all
because the ML primitive expected a constant and the C was a nullary
function. This caused a segfault with any program using
Posix.ProcEnv.environ.
- Added MLton.ProcEnv.setenv, since there doesn't seem to be any setenv in
the basis library.
* 2000-11-29
- Changed backend so that it should no longer generate machine programs with
void operands.
- Added -detect-overflow and -safe flags.
* 2000-11-27 - 2000-11-28
- Changes in many places to use List.revMap instead of List.map to cut down
on allocation.
* 2000-11-21
- Added MLton.Word.~ and MLton.Word8.~ to the MLton basis library structure.
* 2000-11-20
- Fixed a bug in the CPS shrinker that could cause a compile-time failure.
It was maintaining occurrence counts incorrectly.
* 2000-11-15
- Fixed a (performance) bug in constant propagation that caused the hashing
to be bad.
- Improved translation to XML so that the match compiler isn't called on
tuple or if expressions. This should speed up the translation and
make the output smaller.
- Fixed a bug in the match compiler that caused it to not generate integer
case statements. This should speed up the mlyacc benchmark and the
MLton front end.
* 2000-11-9
- Added IntInf_equal and IntInf_compare primitives.
- Took out the automatic -keep c when compiling -g.
* 2000-11-8
- Added a whole bunch of algebraic laws to the CPS shrinker, including
some specifically targeted to IntInf primitives.
* 2000-11-3
- Improved implementation of properties so that sets don't allocate.
- Improved implementation of type homomorphism in type inference. What
was there before appears to have been a bug -- it didn't use the property
on types.
* 2000-11-2
- Fixed timers used with -v option to use user + sys time.
* 2000-10-27
- Split the runtime basis library C files into many separate files so that
only the needed code would be included by the linker.
- Fixed several bugs in the front end grammar and elaborator that caused
type specifications to be handled incorrectly. The following three programs
used to be handled incorrectly, but are now handled correctly.
signature S = sig type t and u = int end (* reject *)
signature S = sig type t = int and u = t end (* accept *)
signature S = sig eqtype t and u = int end (* reject *)
* 2000-10-25
- Changes to main.sml to run complete compiles with -native switch.
* 2000-10-24
- Removed defunctorizer.
* 2000-10-20
- Fixed bug in cps-tree.fun PrimExp.maySideEffect. This bug could cause
no operand failures in the backend.
- Fixed bug in the runtime implementation of MLton.size. The size for stack
objects was using the used instead of reserved, and so was too low.
* 2000-10-19
- Replaced automatically generated dependencies in src/runtime/Makefile with
hand generated ones. Took out make depend from src/Makefile. makedepend
was behaving really badly on RHAT 7.0.
- Tweaked compiler to shorten width of C output lines to work around
bug in RHAT 7.0 cpp which silently truncates (very) long lines.
- Fixed bug in grammar that didn't allow "op" to occur in datatype and
exception bindings, causing the following to fail
datatype t = op T
exception op E = op Fail
- Improved error messages in CM processor. Fixed bug in CM Alias handling.
* 2000-10-18
- Fixed two bugs in the gc that did comparisons with (s->limit - s->frontier),
which of course doesn't work if frontier is beyond limit, since these are
unsigned. This could have caused segfaults, except that the mutator
checks the frontier upon return from the GC.
* 2000-10-17
- Fixed bug in backend in the calculation of maxFrameSize. It could be
wrong (low) in some situations.
- Improved CPS inliner's estimate of function sizes. The size of a function
now takes into account other inlined functions that the function calls.
This also changed the meaning of the size argument to the -inline switch.
It now corresponds (roughly) to the product of the size of the function
and the number of calls. In general, it should be larger than before.
* 2000-10-13
- Made some calls to Array.sub unsafe in the implementation of Array2.
- Integrated Matthew's new x86 backend with floating point support.
* 2000-10-9
- Fixed CM file processor so that MLton works if it is run from a different
directory than the main CM file.
* 2000-10-4
- Changed LimitCheck so it loops on the frontier > limit check. This fixed
a potential bug in threads caused when there is enough space available for
a thread, t, before switching to another thread but not enough space when it
resumes. This could have caused a segfault.
* 2000-10-3
- More rewrites of TextIO.StreamIO to improve speed.
- Changed TextIO so that only TextIO.stdErr is unbuffered.
- Changed TextIO so that FIFOs and sockets are buffered.
* 2000-10-2
- Combined remove-unused-constructors, remove-unused-functions, and
remove-unused-globals into a single pass that runs to fixed-point and
produces results at least as good as running the previous three in (any)
sequence.
* 2000-9-29
- Added GC_FIRST_CHECK, which does a gc at each limit check the first time it
reached.
- Reimplemented TextIO.StreamIO (from 2000-9-12) to use lists of strings
instead of lists of characters so that the per char space overhead is small.
* 2000-9-21
- Fixed bug in profiling labels in C code. The label was always the basic
block label instead of the cps function label.
- Added -b switch to mlprof to gather data at the basic block level.
- Improved performance of TextIO.input1 by about 3X.
* 2000-9-15 - 2000-9-19
- Added overflow exceptions to CPS and Machine ILs.
* 2000-9-12
- Fixed TextIO.scanStream. It was very broken.
- Added TextIO.{getInstream,mkInstream,setInstream}
TextIO.StreamIO.{canInput,closeIn,endOfStream,input1,input,inputAll,
inputLine,inputN}
* 2000-9-11
- Fixed Real_qequal in mlton-lib.h. It was missing a paren that caused
code using it to not even compile. It was also semantically incorrect.
- Noted that Real_{equal,lt,le,gt,ge} may not follow basis library spec, since
ANSI does not require IEEE compliance, and hence these could return wrong
results when nans are involved.
--------------------------------------------------------------------------------
Here are the changes from the 20000712 version to the 20000906 version.
Version 20000906 is mostly a bugfix release over 20000712. The other major
changes are that mllex and mlyacc are now included and
that mlton can now process a limited subset of CM files as input.
* 2000-9-6
- Fixed Socket_listen in mlton-lib.c so that it closes the socket if the
bind, listen, or getsockname fails. This could have caused a file
descriptor leak.
* 2000-9-5
- Added -static commandline switch.
- Changed default max heap size to .85 RAM from .95 RAM.
- Added PackRealLittle structure to basis library.
* 2000-8-25
- Added cases on integers to ILs (instead of using sequences of tests) so that
backend can emit more efficient test (jump table, binary tree, ...).
* 2000-8-24
- Fixed bug in gc.c. dfsInitializeStack would smummap a NULL pointer whenver
toSpace was NULL. This could gause MLton.size to segfault.
- Fixed bug in Popt that caused -k to fail with no keeps.
* 2000-8-22 - 2000-8-23
- Ported mllex and mlyacc from SML/NJ
* 2000-8-20 - 2000-8-21
- Added ability to us a .cm file as input to MLton.
* 2000-8-16
- Ported mlprof to SML.
- Fixed bug in library/basic/assert.sml that caused asserts to be run even
when MLton.debug = false.
* 2000-8-15
- Fixed bug in backend -- computation of maxFrameSize was wrong. It didn't
count slots in frames that didn't make nontail calls. This could lead to
the stack being overwritten because a stack limit check didn't guarantee
enough space, and lead to a seg fault.
- Fixed bug in gc.c newThreadOfSize. If the thread allocation caused a gc,
then the stack wasn't forwarded, leading to a seg fault. The solution was
to ensure enough memory all at once, and then fill in both objects.
* 2000-8-14
- Changed limit checks so that checks < 512 bytes are replaced by a check for
0. The runtime also moves the limit down by 512. This is done so that the
common case, a small limit check, has less code and is faster.
- Fixed bug in cps/cps-tree.fun Program.hasPrim returned true for any program
that had *any* primapp, not just programs satisfying the predicate. This
caused cps/once.fun to be overly conservative, since it thought that every
program used continuations.
* 2000-8-10
- Fixed bug in CPS typechecker. It didn't enforce that handlers should be
defined before any reference to them -- including implicit references in
HandlerPops. This caused an evil bug in the liveness analysis where a
variable that was only live in the handler was missed in a continuation
because the liveness for the handler wasn't computed yet.
- Limited the size for moving up limit checks for arrays whose size is known
at compile time to avoid huge limit checks getting moved into loops.
- added -indent, -kp, -show-types switches.
- Put optimization in CPS IL suggested by Neal Glew. It determines for each
toplevel function if it can raise an exception to its caller. Also, it
removes HanderPush and HandlerPop for handlers that are not on top of the
stack for any nontail call.
* 2000-8-8
- Changed register allocator so that continuation formals can be allocated in
pseudo registers -- they aren't necessarily forced to the stack.
* 2000-8-3
- Fixed bug in constant folding.
Word8.>> had been used to implement Word8.~>>.
- Fixed bug in allocate registers that was not forcing the size argument to
Primitive.Array.array to be a stack slot. This could cause problems if
there was a thread switch in the limit check, since upon return the size
pseudo register would have a bogus value.
* 2000-8-1
- Turned back on Xml simplification after monomorphisation.
* 2000-7-31
- Fixed bug in MLton.Itimer.set that caused the time to be doubled.
- Fixed bug in MLton.Thread that made it look like asynchronous exceptions
were allowed by throw'ing an exception raising thunk to an interrupted
thread obtained via a signal handler. Attempting asynchronous exceptions
will now cause process death, with a helpful error message.
* 2000-7-27
- Updated docs to include structure World: MLTON_WORLD in MLton structure.
- Added toplevel signatures MLTON_{CONT, ..., WORLD} to basis library.
- Fixed broken link in docs to CM in cmcat section.
* 2000-7-26
- Eliminated GC_switchToThread and Thread_switchTo1, since the inlined
version Thread_switchTo is all that's needed, and Matt's X86 backend
now handles it.
- Added MLton.Signal.vtalrm, needed for
Itimer.Set{which = Itimer.Virtual, ...}
* 2000-7-25
Added MLton.Socket.shutdownWrite.
* 2000-7-21
Updated mlton-lib.c MLton_bug with new email (MLton@sourcelight.com).
* 2000-7-19
Fixed Posix.Process.kill to check for errors.
* 2000-7-18
Fixed the following Posix.ProcEnv functions to check for errors:
setgid, setpgid, setsid, setuid.
Fixed doc/examples/callcc.sml.
--------------------------------------------------------------------------------
Here are the changes from the 1999-7-12 to the 20000712 version.
* 2000-6-10 - 2000-7-12
Too many changes to count: bug fixes, new basis library modules,
optimizer improvements.
* 2000-6-30
Fixed bug in monomorphiser that caused programs with non-value
carrying exception declarations in polymorphic functions to have a
compile-time error because of a duplicate label. The problem was
that the exception constructor wasn't duplicated.
* 2000-5-22 - 2000-6-10
Finished the changes for the new Cps IL.
* 2000-1-1
Fixed some errors in the basis library.
Real.copySign
Posix.FileSys.fpathconf
Posix.IO.{lseek, getlk, setlk, setlkw}
Posix.ProcEnv.setpgid
Posix.TTY.getattr
System.FileSys.realPath
* 1999-12-22
Fixed bug in src/closure-convert/abstract-value.fun that caused a
compiler failure whenever a program had a vector where the element
type contained an ->.
* 1999-12-10
- Changed dead code elimination in core-ml/dead-code.fun so that
wildcard declarations (val _ = ...) in the basis are kept.
Changed places in the basis library to take advantage of this
- Added setTopLevelHander primitive so that the basis library code
can define the toplevel handler.
- Changed basis-library/misc/suffix.sml to call OS.Process.exit.
Took out Halt transfer from Cps, since the program never should
reach it.
- Cleaned up basis-library/system/{process.sml, unix.sml} to use
the new signal handling stuff.
* 1999-11-28 - 1999-12-20
Added support for threads and cleaned up signal handling.
This involved a number of changes.
- The stack is now allocated as just another kind of heap object.
- Limit checks are inserted at all loop headers, whether or not there
is any allocation. This is to ensure that the signal handler
always has a chance to get called.
- The register allocator puts more variables in stack slots. The new
rule is that a variable goes in a stack slot if it is ever live
across a nontail call, in a handler, or (this is the new part)
across a limit check.
- Arguments are passed on the stack, with the convention determined by
argument types.
- The "locals" array of pointers that was copied to/from for GC is now
gone, because no registers (in particular no pointer valued
registers) can be live at a limit check point.
* 1999-11-21
- Runtime system
o Fixed a bug introduced by the signal code
(presumably on 1999-8-9) that caused a gc to *not* be performed when
doing a save world. This caused the heaps created by save world to
be the same size as the heap -- not the live data. This was quite
bad.
o Cleaned up the Makefile. Add make depend.
o Added max gc pause to gc-summary info.
o Move heap translation variables that had been file statics into
the GC_state.
- Made structure Position available at toplevel.
- Basis Library
o Added MLton.loadWorld
- Added Primitive.usesCallcc
- Added Primitive.safe
- Removed special size functions from cps/save-world -- they are no
longer necessary since size doesn't do a gc.
- Fixed another (sigh) bug in cps/simplify-types.fun that could
cause it to not terminate.
* 1999-11-16
- Cleaned up backend/machine.fun a bit so that it spits out macros
for allocation of objects and bumping of frontier. Added macros
MLTON_object and MLTON_incFrontier to include/mlton-lib.h.
- Fixed a bug in backend/limit-check.fun that caused loops to not be
detected if they were only reached by a case branch. This could
cause there to be loop that allocates with no limit check.
Needless to say, this could cause a segfault if the loop ran for
long enough.
* 1999-10-18
Added basis library function Array2.copy.
* 1999-8-15
Turned off globalization of ref cells
(closure-convert/globalize.fun) because it interacts badly with
serialization.
* 1999-8-13
Fixed bug in mlton-lib.h in MLTON_allocArrayNoPointers that was
triggered when bytesPerElt == 0. The problem was that it wasn't
reserving space for the forwarding pointer. This could cause a seg
fault.
* 1999-8-8 and 1999-8-9
Added support for signal handling.
* 1999-8-7
Fixed bugs in Array.tabulate (and other tabulate variants) caused if
the function argument used callcc.
* 1999-8-1
Added serialization, which was mostly code in src/runtime/gc.c.
GC_serialize converts an object to a Word8Vector.vector.
GC_deserialize undoes the conversion.
(de)Serialization should work for all objects except for functions,
because I haven't yet added the support in the flow analysis.
* 1999-7-31
- Cleaned up the GC. Changed headers, by stealing a bit from the
number of non pointers and making it a mark bit (used in GC_size).
- Rewrote GC_size so that it runs in time proportional to the number
of pointers in the object. It does a depth-first-search now,
using toSpace to hold the stack.
* 1999-7-30
- Fixed bug in SUBSTRING. getc had the wrong type. This bug wasn't
noticed because MLton doesn't do enough type checking.
- Fixed bug (seg fault) caused when a GC immediately followed a throw.
* 1999-7-29
Fixed bug in Date.fmt (basis-library/system/date.sml). It was not
setting Tm.buf, and hence the time was always 0 unless there had
been a previous call to setTmBuf.
* 1999-7-28
- Fixed bugs in Posix.IO.FLock.{getlk,setlk,setlkw}, which would
cause compilation to fail because FLock.toInt was defined as the C
castInt, which no longer exists. Instead, expand FLock.toInt to
MLTON_pointerToInt, which was added to include/mlton-lib.h.
- Changed Posix.Primitive.Flock to Posix.Primitive.FLock.
- Added MLTON_chown, MLTON_ftruncate to include/mlton-posix.h. They were
missing. This would cause compilation of any program using
Posix.FileSys.{chown,ftruncate} to fail. Also made it so all of the
primitives in basis-library/posix/primitive.sml use MLTON_ versions
of functions, even if a wrapper is unnecessary.
* 1999-7-25
Added some other missing signature definitions to toplevel.
* 1999-7-24
Added missing OS_* signature definitions to
basis-library/top-level/top-level.sml.
* 1999-7-19
Fixed bug in basis-library/arrays-and-vectors/mono-array.sml. Used
:> instead of : so that the monomorphic array types are abstract.
--------------------------------------------------------------------------------
Here are the changes from the 1999-3-19 version to the 1999-7-12 version.
* 1999-7-12
Changed src/backend/machine.fun so that the 'pointer locals' array is
only as large as neccessary in order to copy all pointer-valued
locals, not as large as the number of pointer-valued locals.
* 1999-7-11
Rewrote src/backend/allocate-registers.fun so that it does a better
job of sharing "registers" (i.e. C local variables) and stack slots.
This should cut down on the amount of copying that has to happen
before and after a gc. It should also cut down on the size of stack
slots.
* 1999-7-10
Fixed a bug in src/backend/parallel-move.fun that should have been
triggered on most any parallel move. I guess parallel moves almost
never happened due to the old register allocation strategy -- but,
with the new one (see note for 1999-7-12) parallel moves will be
frequent.
* 1999-6-27
Fixed src/main.sml so that when compiling -p, the .c file is compiled
-g and the .o is linked -p.
In bakend/machine.fun, added profiling comments before chunkswitches
and put in an optimization to avoid printing repeated profiling
comments. Also, profiling comments are only output when
compiling -p.
* 1999-6-17
Changed -i to -inline, -f to -flatten, -np to -no-polyvariance,
-u to -unsafe.
Added -i, -I, -l, -L flags for includes and libraries.
Updated documentation for these options and for ffi.
* 1999-6-16
Hardwired version number in src/control/control.sml. As it stood,
the version number was computed when MLton was built after someone
downloaded it, which was clearly wrong.
* 1999-6-16
Fixed undefined variable time in GC_done in src/runtime/gc.c.
* 1999-6-8
in include/mlton-lib.h,
removed #include <huge_val.h>
added #include <math.h>
and deleted all of the function signatures I had copied from math.h
Changed Real.{minNormalPos, minPos, maxFinite} so that they are
computed in real.sml instead of appearing as constants in the C.
* 1999-6-7
IntInf.pow added to basis library.
* 1999-6-4
bin/mlton changed to use .arch-n-opsys if it exists.
* 1999-6-3
src/Makefile changed to use sml-cm instead of sml
* 1999-5-10
Patch to src/atoms/small-int-inf.fun to work around a bug in the SML/NJ
implementation of bignums. This bug was causing some hex bignum
constants to be lexed incorrectly.
* 1999-4-15
Comments emitted in C code for profiling. The comments identify the
Cps function responsible for each C statement.
* 1999-4-15
callcc and throw added.
* 1999-4-15
Bug in src/cps/simplify-types fixed. The bug caused nontermination
whenever there was a circular datatype with a vector on the rhs.
E.g. datatype t = T of t vector
--------------------------------------------------------------------------------
Here are the changes from the 1998-8-26 version to the 1999-3-19 version.
* Compile time and code size have decreased.
* Runtime performance of executables has improved.
* Large programs can now be compiled.
* MLton is self hosting.
* The basis library is mostly complete and many bugs have been fixed.
* The monomorphiser (-m) is no longer available.
* The heap and stack are automatically resized.
* There are now facilities for heap checkpointing (MLton.saveWorld)
and object size computation (MLton.size).
* MLton uses the GNU multiprecision library to provide a fast
implemenation of IntInf.
</PRE>
</div>
<p>
<hr>
Last edited on 2007-08-21 04:50:41 by <span title="c-71-57-91-146.hsd1.il.comcast.net"><a href="MatthewFluet">MatthewFluet</a></span>.
</body></html>
|