Skip to content

v0.4

Choose a tag to compare

@github-actions github-actions released this 07 Nov 00:50
· 403 commits to main since this release
v0.4
d3348ce

Added

  • make test-differential runs each primitive over generated values, however it is compiled and through C, and
    make differential-scheme lists what differs from Shen/Scheme.

Changed

  • Moved to the Shen kernel 43.4, from 43.2.
  • Moved to Shen/Scheme 0.54, from 0.53, as the other host that can build a checkout, and what make bench compares
    against.
  • Compiled code keeps more values in registers between instructions, which speeds up small interpreters and other code
    that works on values it has just taken apart.
  • Compiling a long literal list takes far less, and with constant elements the list uses one frame slot instead of one
    per element.
    Contributed by @pyrex41 in #10 and
    #11.

Fixed

  • define no longer fails on a cond with no true clause. The definition compiles, and raises an error when no
    clause applies.
  • absvector too large for SHEN_JIT_MAX_HEAP gave a handler [], on which error-to-string failed, instead of
    an "out of memory" error.
  • absvector with a length of 2^56 or more crashed. It now raises an error from 2^48 up, as shen-jit.bytes does.
  • shen-jit.pvar and shen-jit.pvar-offset raised past a trap-error in the same function whose handler ignores
    the error.
  • write-byte and close raise an error when the write fails, as on a full disk, instead of losing the data silently.