0.3.5
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
andnot
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 towrite()
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