mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
437 lines
26 KiB
HTML
437 lines
26 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>Cyclone Scheme: Changelog</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Cyclone Scheme
|
|
 <span id="projectnumber">0.9</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Changelog </div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><h2>0.9.2 - TBD</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>During CPS optimization allow inlining of operations on global variables that are mutated in other top-level functions.</li>
|
|
<li>Improved loop detection during CPS optimization phase.</li>
|
|
<li>Allow optimizing-out of basic <code>if</code> expressions of the form <code>(if (pred? ...) #t #f)</code> into <code>(pred? ...)</code>.</li>
|
|
<li>Perform slightly faster type checking for string, vector, and bytevector access functions.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<h2>0.9.1 - August 9, 2018</h2>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Fixed a nasty bug where, while a mutator is blocked after calling <code>set_thread_blocked</code>, the collector may copy an object the mutator is using from the stack to the heap. In this case we need to ensure the object is not corrupted when it is copied and that we sync the object's fields back up once the mutator is unblocked. Currently this only affects port objects in the runtime. Generally <code>read</code> was affected more than other I/O functions.</li>
|
|
<li>Fixed a handful of small garbage collection bugs from the previous round of development.</li>
|
|
</ul>
|
|
<h2>0.9 - July 31, 2018</h2>
|
|
<p>This release significantly improves garbage collection performance by using lazy sweeping.</p>
|
|
<h2>0.8.1 - July 2, 2018</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Improved garbage collector performance for large heaps.</li>
|
|
<li>Generate faster compiled code for:<ul>
|
|
<li><code>car</code>, <code>cdr</code>, and most built-in predicates.</li>
|
|
<li>Calls to <code>list</code> that contain less than five arguments.</li>
|
|
<li>Calls to <code>map</code> and <code>for-each</code> that only pass a single list.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Allow optimization of some simple self-recursive functions.</li>
|
|
<li>Allow the optimizer to beta expand a wider range of function calls.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Fixed a bug where <code>current-jiffy</code> was returning total clock time of the process. Such an approach cannot be used to measure time accurately when more than one thread is executing concurrently.</li>
|
|
<li>Prevent the possibility of an infinite loop by not beta expanding recursive function calls.</li>
|
|
</ul>
|
|
<h2>0.8 - May 30, 2018</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Added support for complex numbers.</li>
|
|
<li>When printing intermediate forms during debugging via <code>-t</code> Cyclone will now emit less verbose S-expressions for code in CPS form. To support this effort and make debugging easier, added helper functions <code>ast:ast->sexp</code>, <code>ast:sexp->ast</code>, and <code>ast:ast->pp-sexp</code> to <code>(scheme cyclone ast)</code>.</li>
|
|
<li>Avoid inlining function calls into named let loops to improve performance of compiled code.</li>
|
|
</ul>
|
|
<h2>0.7.3 - May 7, 2018</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Made several performance improvements to SRFI 69 hash tables, including:<ul>
|
|
<li>Massively improved lookup performance for symbols.</li>
|
|
<li>Increased the max bound of hash tables to <code>(2 ^ 30) - 1</code>.</li>
|
|
<li>Changed <code>hash-by-identity</code> to a high-performance builtin.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Added a <code>repl</code> function to <code>(scheme repl)</code> to make it easy to use a REPL from your own code.</li>
|
|
<li>Added basic support for square and curly brackets in place of parentheses.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Fixed an off-by-one error in <code>read-line</code> where the function erroneously reported an extra character was read from <code>stdin</code>. Thanks to wasamasa for the bug report.</li>
|
|
<li>Fixed a CPS optimization issue where multiple copies of the same lambda are introduced during beta expansion, which causes the optimizer to potentially pick up the wrong value when optimizing-out function calls later on. Thanks to on Github for providing the report and a test program demonstrating the issue.</li>
|
|
<li>Updated the parser to recognize mnemonic escapes (EG: <code>\n</code>, <code>\a</code>, etc) and inline hex escapes as part of a symbol.</li>
|
|
</ul>
|
|
<h2>0.7.2 - February 15, 2018</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Added a <code>(scheme cyclone match)</code> library based on Alex Shinn's <code>match.scm</code> portable hygienic pattern matcher.</li>
|
|
<li>The compiler now emits a faster version of <code>apply</code> in cases where only two arguments are received.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Made several improvements to macro hygiene by renaming local variable bindings during expansion. Added a unit test module covering many test cases.</li>
|
|
<li>Fixed many functions including <code>utf8->string</code>, <code>string->utf8</code>, <code>bytevector-copy</code>, <code>list->vector</code>, and <code>list->string</code> to heap allocate objects that exceed the maximum size for objects on the stack.</li>
|
|
<li>Prevent a compiler error when there is only one argument to <code>+</code> or <code>*</code>.</li>
|
|
</ul>
|
|
<h2>0.7.1 - December 21, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Added support for <code>let-syntax</code> and <code>letrec-syntax</code>.</li>
|
|
<li>Added the <code>(scheme repl)</code> library and <code>interaction-environment</code> function from R7RS.</li>
|
|
<li>Allow <code>eval</code> to recognize <code>syntax-rules</code> macros.</li>
|
|
<li>Added single-byte oriented I/O functions <code>read-u8</code>, <code>peek-u8</code>, and <code>write-u8</code> from R7RS.</li>
|
|
</ul>
|
|
<p>Internal Changes</p>
|
|
<ul>
|
|
<li>Relocated all macro expansion code to the <code>(scheme eval)</code> module. Cyclone's <code>(scheme cyclone macros)</code> library is now obsolete.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Added the <code>full-unicode</code> feature since Unicode is supported as of the 0.7 release.</li>
|
|
</ul>
|
|
<h2>0.7 - November 17, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Finally added Unicode support using UTF-8!</li>
|
|
<li>Allow a program to have macros expand into a top-level <code>import</code> expression.</li>
|
|
<li>Added continuous integration support thanks to Alex Arslan.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Incorporated a patch from <a href="https://github.com/0-8-15">0-8-15</a> to pass seconds to <code>thread-sleep!</code> instead of milliseconds. Fractional seconds are accepted as well for high-resolution timers.</li>
|
|
</ul>
|
|
<h2>0.6.3 - September 16, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Allow the compiler to optimize calls to <code>+</code>, <code>-</code>, <code>*</code>, and <code>/</code> that accept more than 2 arguments.</li>
|
|
<li>Added support for bignums to <code>bitwise-if</code> from SRFI 60.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Fix <code>read-line</code> to remove trailing carriage return and/or newline characters. Thanks to wasamasa for the bug report!</li>
|
|
<li>String ports created by <code>open-input-string</code> returned an extra garbage byte. This has been fixed by a patch from wasamasa.</li>
|
|
<li>Prevent segfaults when allocating large strings using <code>make-string</code>.</li>
|
|
<li>Added a fix from wasamasa to escape double quotation marks in strings when output via <code>write</code>.</li>
|
|
<li>wasamasa patched <code>read-string</code> to return EOF when no characters can be read.</li>
|
|
</ul>
|
|
<h2>0.6.2 - August 25, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Made additional speed increases to <code>read</code>.</li>
|
|
<li>Streamlined type checking to make the <code>remainder</code> function faster.</li>
|
|
<li>Relocated <code>string-join</code> to <code>(scheme cyclone util)</code> and added a corresponding <code>string-split</code> function.</li>
|
|
<li>Allow optimization of <code>define-c</code> functions marked as <code>inline</code> even if an alternative non-CPS version of the function is not defined.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Prevent the possibility of segmentation faults when working with large vectors. When a vector is large enough it is allocated directly on the heap, but prior to this fix it was possible that any vector elements on the stack were not moved to the heap during minor GC. This then opens up the possibility of memory corruption when any of those elements are modified, including marking by the runtime's GC.</li>
|
|
</ul>
|
|
<h2>0.6.1 - August 22, 2017</h2>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Fixed regression: there was the possibility of crashing when calling <code>close-port</code>.</li>
|
|
</ul>
|
|
<h2>0.6 - August 21, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Added a faster version of <code>read</code>.</li>
|
|
<li>Added SRFI 143 - Fixnums.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Prevent <code>remainder</code> from crashing the runtime due to divide by zero.</li>
|
|
<li>Avoid printing an unnecessary colon after certain error messages.</li>
|
|
</ul>
|
|
<h2>0.5.4 - August 3, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Allow the <code>-A</code> and <code>-I</code> options to <code>icyc</code> for specifying additional library import directories.</li>
|
|
<li>Perform constant folding as part of the CPS optimization phase.</li>
|
|
<li>Statically allocate closures that do not contain any free variables, to avoid unnecessary heap allocations.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Updated <code>string->number</code> to return <code>#f</code> for all bases when the conversion fails. Previously bases other than ten would return <code>0</code> instead.</li>
|
|
</ul>
|
|
<h2>0.5.3 - June 29, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>On Arthur Maciel's suggestion, modified Cyclone to always check its system folder for a library if an import is not found. In conjunction with this, the <code>CYCLONE_LIBRARY_PATH</code> environment variable may be set to force Cyclone to look in a specific place other than the system folder for libraries.</li>
|
|
<li>Decrease minor GC time by only tracing globals when one of them has changed.</li>
|
|
<li>Added the <code>thread-join!</code> function to <code>(srfi 18)</code>.</li>
|
|
</ul>
|
|
<h2>0.5.2 - June 5, 2017</h2>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Fixed a bug in <code>for-each</code> that was causing <code>length</code> to be executed during each iteration.</li>
|
|
</ul>
|
|
<h2>0.5.1 - May 24, 2017</h2>
|
|
<p>The main focus of <code>0.5.1</code> is performance but this is also the first release to provide installation instructions for both Windows and Mac.</p>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Thanks to Kashyap for adding build instructions for Windows (MSYS) and Mac!</li>
|
|
<li>Allow <code>define-c</code> function definitions to optionally provide an additional non-CPS form of the function. This form is more efficient and will be used by compiled code whenever possible.</li>
|
|
<li>Improved the compiler's CPS optimization phase to eliminate more unnecessary function calls.</li>
|
|
<li>Modified the GC to allow a given number of "huge" allocations to trigger GC. Previously GC was only triggered when smaller heap regions were below a certain percentage of free memory.</li>
|
|
<li>Compiled code now directly accesses boxed mutable variables instead of using a wrapper function.</li>
|
|
<li>Added command line options to <code>icyc</code> for evaluating an S-expression from the command line and for running as a script without the Cyclone banner text.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Prevent potential memory corruption when working with large vectors that cannot be allocated on the stack.</li>
|
|
</ul>
|
|
<h2>0.5 - April 14, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Cyclone now has support in the interpreter for loading libraries via <code>import</code>. This is probably the most important change in this release and allows <code>icyc</code> to be used to its full potential.</li>
|
|
<li><p class="startli">Store parameter objects in such a way that changes to a parameter object do not affect other threads that use the same parameter object.</p>
|
|
<p class="startli">The specific requirement from R<sup>7</sup>RS is:</p>
|
|
<p class="startli">> <code>parameterize</code> must not change the associated values of any parameters in any thread other than the current thread and threads created inside the <code>parameterize</code> body.</p>
|
|
</li>
|
|
<li>Added bignum support to SRFI 60 - integers as bits.</li>
|
|
<li>Normalize the result of <code>string->number</code> such that bignums are only returned if the result truly is a bignum.</li>
|
|
<li>Allow Cyclone to find <code>(cyclone)</code> prefixed libraries installed in Cyclone's system folder.</li>
|
|
<li>Allow a library to export identifiers that are exported by another library. Previously a library could only export identifiers that it defined directly.</li>
|
|
<li>Raise an error if an unknown identifier is found in a library's <code>export</code> list.</li>
|
|
<li>Aric Belsito removed a hardcoded call to <code>cyclone</code> from the Makefile when building <code>generate-c</code>. Thanks!</li>
|
|
<li>Allow <code>cyclone</code> to inline character comparison functions (<code>char=?</code>, etc) when only two arguments are present, for a significant speed improvement.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Prevent exception handlers from being accidentally collected when the collector cooperates on behalf of a mutator.</li>
|
|
<li>Fixed a regression where <code>string->number</code> returns <code>0</code> on bad input instead of <code>#f</code>.</li>
|
|
</ul>
|
|
<h2>0.4 - March 9, 2017</h2>
|
|
<ul>
|
|
<li>Added a new bignum type to support exact integers of practically unlimited size.</li>
|
|
<li>As part of the bignum changes, modified the code for exact integer arithmetic to detect overflow.</li>
|
|
<li>Added documentation for the <a href="http://justinethier.github.io/cyclone/c-api/modules.html">C API</a>.</li>
|
|
</ul>
|
|
<h2>0.3.4 - February 10, 2017</h2>
|
|
<p>Features</p>
|
|
<ul>
|
|
<li>Koz Ross added implementations of the following SRFI's:<ul>
|
|
<li>SRFI 28 - Basic format strings</li>
|
|
<li>SRFI 60 - Integers as bits</li>
|
|
<li>SRFI 121 - Generators</li>
|
|
</ul>
|
|
</li>
|
|
<li>Allow a program to have more than one <code>import</code> declaration. A program can now also use <code>cond-expand</code> to selectively expand <code>import</code> declarations.</li>
|
|
<li>Added the <code>-A</code> and <code>-I</code> compiler options from SRFI 138 to <code>cyclone</code>:</li>
|
|
</ul>
|
|
<blockquote class="doxtable">
|
|
<p><code>-A directory</code></p>
|
|
<p>Append directory to the list of directories that are searched in order to locate imported libraries.</p>
|
|
<p><code>-I directory</code></p>
|
|
<p>Prepend directory to the list of directories that are searched in order to locate imported libraries. </p>
|
|
</blockquote>
|
|
<ul>
|
|
<li>Added the <code>-CP</code>, <code>-CE</code>, and <code>-CL</code> compiler options to allow passing arbitrary flags to the C compiler:</li>
|
|
</ul>
|
|
<blockquote class="doxtable">
|
|
<p><code>-CP cc-commands</code></p>
|
|
<p>Specify a custom command line for the C compiler to compile a program module. See Makefile.config for an example of how to construct such a command line.</p>
|
|
<p><code>-CE cc-commands</code></p>
|
|
<p>Specify a custom command line for the C compiler to compile an executable.</p>
|
|
<p><code>-CL cc-commands</code></p>
|
|
<p>Specify a custom command line for the C compiler to compile a library module. </p>
|
|
</blockquote>
|
|
<ul>
|
|
<li>Updated the garbage collector to enhance performance for programs with a high allocation rate, and to scale better to multiple concurrent threads.</li>
|
|
<li>Improved error handling by <code>display</code> and <code>write</code>.</li>
|
|
<li>Removed the <code>make_int</code> C macro which was deprecated and could cause problems when used in FFI functions.</li>
|
|
<li>Added a <code>with-handler</code> exception handler form based on the syntax from Bigloo.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Thanks to Koz Ross, <code>equal?</code> has been updated to check bytevectors for deep equality.</li>
|
|
<li>Prevent crashes when allocating large bytevectors.</li>
|
|
<li>Display characters such as <code>#\space</code> correctly when output via <code>write</code>.</li>
|
|
<li>Thanks to Seth Alves, removed unnecessary include of <code>ck_string.h</code> which is not provided in older versions of <code>libck</code>.</li>
|
|
</ul>
|
|
<h2>0.3.3 - December 19, 2016</h2>
|
|
<p>Features:</p>
|
|
<ul>
|
|
<li>Added SRFI 113 - sets and bags.</li>
|
|
<li>Improved performance by more aggressively inlining primitives that work with immutable objects, such as the numeric arithmetic and comparison functions.</li>
|
|
<li>Allow the reader to recognize <code>#true</code> and <code>#false</code>.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Prevent C compilation errors when compiling strings with special characters in them such as <code>#\tab</code>, <code>#\alarm</code>, and <code>#\return</code>.</li>
|
|
<li>Do not generate invalid C code when compiling <code>+</code> or <code>*</code> without any arguments.</li>
|
|
<li>Handle compilation of variable-argument anonymous lambdas. For example: <code>((lambda x x) 3 5)</code>.</li>
|
|
</ul>
|
|
<h2>0.3.2 - November 22, 2016</h2>
|
|
<p>Features:</p>
|
|
<ul>
|
|
<li>Recognize escaped vertical line and hex scalar value characters when reading a string.</li>
|
|
<li>Added <code>current-thread</code> to SRFI 18.</li>
|
|
<li>Added the <code>include</code> and <code>include-ci</code> macros.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Fixed a crash when running <code>cyclone</code> on 32-bit platforms.</li>
|
|
</ul>
|
|
<h2>0.3.1 - November 20, 2016</h2>
|
|
<p>Features:</p>
|
|
<ul>
|
|
<li>Thanks to ecraven, added R7RS function <code>exact-integer-sqrt</code> to <code>(scheme base)</code>.</li>
|
|
<li>Allow the reader to recognize <code>+inf.0</code>, <code>-inf.0</code>, <code>+nan.0</code>, and <code>-nan.0</code>.</li>
|
|
<li>Allow <code>cond-expand</code> to test for whether a library exists using the form <code>(library {library name})</code>.</li>
|
|
<li>Added command line option <code>-O</code> to set the optimization level. For now there is <code>-O0</code> to disable optimizations and the default setting to enable them. Going forward there will be more fine-grained control.</li>
|
|
<li>Reduce size of compiled code by inlining constant values. This reduced the code size of various cyclone libraries by approximately 33%. Added other inlining as well to slightly improve performance.</li>
|
|
<li>Increased allocation speed when objects are moved to the heap during a major GC.</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Only throw a divide by zero error for integer division. Floating point divide by zero is allowed and evaluates to <code>nan</code>.</li>
|
|
<li>Modified SRFI 106 to be smarter about compiling <code>AI_V4MAPPED</code> and <code>AI_ALL</code>, which are not defined on OpenBSD.</li>
|
|
<li>Fixed the <code>member</code> functions to always return the list when a value is found, instead of <code>#t</code>.</li>
|
|
<li>Fixed <code>string->number</code> to return <code>#f</code> if the string cannot be converted.</li>
|
|
<li>Fixed a bug where the optimizer would sometimes generate incorrect code when a mutating primitive (EG: <code>set-car!</code>) was passed an expression rather than an identifier as the variable argument.</li>
|
|
<li>Prevent the runtime from crashing when a non-numeric value type is passed to a numeric function.</li>
|
|
</ul>
|
|
<h2>0.3 - October 22, 2016</h2>
|
|
<p>Features:</p>
|
|
<ul>
|
|
<li>Improve performance by inlining numeric arithmetic and comparison operations.</li>
|
|
<li>Reverted <code>assq</code>, <code>assv</code>, <code>memq</code>, and <code>memv</code> back to primitives for improved performance. In addition the compiler was modified to allow for more efficient compilation of <code>assoc</code> and <code>member</code>.</li>
|
|
<li>Improved library support to recognize all of the import set forms: <code>only</code>, <code>except</code>, <code>prefix</code>, and <code>rename</code>.</li>
|
|
<li>Allow explicit renaming macros to be declared interactively. This is the first limited support for calling <code>define-syntax</code> from <code>eval</code>.</li>
|
|
<li>Added the <code>get-environment-variables</code> function from R7RS.</li>
|
|
<li>Added support for the following SRFI's:<ul>
|
|
<li>SRFI 106: A basic socket interface</li>
|
|
<li>SRFI 128: Comparators</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p>Bug Fixes</p>
|
|
<ul>
|
|
<li>Improved macro hygiene support to properly rename temporary variables in the <code>let-values</code> macro.</li>
|
|
<li>Improve output of <code>error</code> by using <code>write</code> to output objects as they are represented in memory.</li>
|
|
<li>Check for duplicate lambda parameters during compilation.</li>
|
|
<li>Fixed an error that was being raised when calling <code>(random-source-randomize! default-random-source)</code> when using SRFI 27.</li>
|
|
<li>Raise an error if <code>list->string</code> encounters a list element that is not a character.</li>
|
|
</ul>
|
|
<h2>0.2 - September 7, 2016</h2>
|
|
<p>Features:</p>
|
|
<ul>
|
|
<li>Added the following libraries from R7RS-large red edition (data structures):<ul>
|
|
<li>SRFI 1 list library</li>
|
|
<li>SRFI 133 vector library</li>
|
|
<li>SRFI 111 boxes</li>
|
|
<li>SRFI 117 mutable queues</li>
|
|
<li>SRFI 132 sorting library</li>
|
|
</ul>
|
|
</li>
|
|
<li>Added SRFI 2, <code>and-let*</code></li>
|
|
<li>Added <code>parameterize</code> from section 4.2.6 of R7RS to the <code>(scheme base)</code> library.</li>
|
|
<li>Added <code>let-values</code> and <code>let*-values</code> to <code>(scheme base)</code>.</li>
|
|
<li>Added <code>infinite?</code>, <code>finite?</code>, and <code>nan?</code> to <code>(scheme inexact)</code>.</li>
|
|
<li>Added string ports to <code>(scheme base)</code> - <code>open-input-string</code>, <code>open-output-string</code>, and <code>get-output-string</code>.</li>
|
|
<li>Added bytevector ports to <code>(scheme base)</code> - <code>get-output-bytevector</code>, <code>open-input-bytevector</code>, and <code>open-output-bytevector</code>.</li>
|
|
<li>Modified <code>cyclone</code> to also search the current working directory for built-in headers and libraries.</li>
|
|
</ul>
|
|
<p>Bug Fixes:</p>
|
|
<ul>
|
|
<li>Thanks to Mark Meyer, identified and fixed several segfaults in <code>write</code> and <code>display</code>.</li>
|
|
<li>Updated <code>write</code> to display escaped character sequences (EG: <code>\t</code>) instead of literal characters.</li>
|
|
<li>Prevent C compilation errors when building a program that only contains basic primitives or a constant at the top level.</li>
|
|
<li>Fixed the compiler to allow application of a function that can take any number of arguments. For example: <pre class="fragment"> ((lambda test (write test)) 1 2 3 4)
|
|
</pre></li>
|
|
<li>Updated <code>eval</code> to handle functions that take an optional number of arguments.</li>
|
|
<li>Updated <code>number->string</code> to omit leading zeros for binary conversions.</li>
|
|
<li>Fixed <code>apply</code> to use the proper semantics when receiving more than one data argument.</li>
|
|
<li>Changed the <code>assoc</code> and <code>member</code> functions to accept an optional comparison function, and modified both families of functions to be native Scheme functions instead of C primitives.</li>
|
|
<li>Allow libraries to contain multiple <code>import</code>, <code>begin</code>, and <code>export</code> sections. </li>
|
|
</ul>
|
|
</div></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|