Repository navigation
v0.20.3
This version adds support to index into an integer number, treating it as a bit-field.
Version 0.20.3 released to crates.io.
Bug fixes
- Fixed incorrect optimization regarding chain-indexing with non-numeric index.
- Variable values are checked for over-sized violations after assignments and setters.
Breaking changes
- To keep the API consistent, strings are no longer iterable by default. Use the
charsmethod to iterate through the characters in a string. Dynamic::take_stringandDynamic::take_immutable_stringare renamed toDynamic::as_stringandDynamic::as_immutable_stringrespectively.
New features
- New syntax for
forstatement to include counter variable. - An integer value can now be indexed to get/set a single bit.
- The
bitsmethod of an integer can be used to iterate through its bits. - New
$bool$,$int$,$float$and$string$expression types for custom syntax. - New methods
to_hex,to_octalandto_binaryfor integer numbers. - New methods
to_upper,to_lower,make_upper,make_lowerfor strings/characters.