Skip to content

0.3.5

Compare
Choose a tag to compare
@darrylabbate darrylabbate released this 23 Sep 06:05
· 64 commits to master since this release
0.3.5
f7018c1

New Features

  • Support for interpolation of expressions in string literals. This includes basic variable expansion, but also supports the full expression grammar of Riff.
  • Keywords and, or and not have been added to the language as aliases for &&, || and !, respectively.

Changes

  • Numbers without digits following the . are now lexed as floats. This matches the behavior of languages like C, Python, Lua, etc. Previously, this threw a "member access" syntax error.
  • printf() now defers to write() when the first argument is not a string.
  • \ will now escape any character by default inside a string literal.

Fixes

  • Fixed a bug introduced in 0.3.4 where local variables would not have their stack slot reserved, potentially causing memory corruption or segmentation faults.

Full Changelog: 0.3.4...0.3.5