DEV Community

Toby Inkster
Toby Inkster

Posted on • Originally published at toby.ink on

ZuzuScript 0.4.x released

New releases for Perl, Rust, JS, and Android

New releases of ZuzuScript are available, mostly aimed at fixing bugs. In addition to implementation-specific bug fixes for each runtime, they all update the languagetests component to version 20260612 (which includes improved tests for the method-call dot operator) and update stdlib to version 20260612.

Major new features include:

  • std/string/encode module for dealing with text encodings. UTF-8, UTF-16, UTF-32, and Latin-1 encodings are supported across all runtimes. The Perl runtime additionally supports all encodings supported by the Encode Perl module including EBCDIC, Shift-JIS, etc.
  • Major updates to the std/net/url module to fully support RFC 6570 URI Templates.
  • Major bug fixes to std/time on the Rust and JS runtimes adding missing functionality that previously only worked in the Perl runtime.
  • Major bug fixes to std/math/bignum on the Rust and JS runtimes.
  • Allow alternative ways to write numeric literals such as 1E3 (E-notation), 0xDEADBEEF (hexadecimal), 0b11001100 (binary), and 0o377 (octal).
  • Bit shift numeric/binarystring operators » and «.
  • Divides and does-not-divide numeric operators and .
  • The for loop is now able to iterate over strings character by character, or binarystrings byte by byte.
  • Rust runtime: correct stringifications for true and false when printing them via say.
  • Perl runtime: now comes with a README.md.

zuzu.pl

Zuzu-0.004000

zuzu-rust

0.4.0 amd64 debcargo crate

zuzu-js

zuzu-js@0.4.0 node packagebrowser bundle

Top comments (0)