Skip to main content

Command Palette

Search for a command to run...

MufiZ v0.10.0 Echo is Released!!!

Updated
2 min read
MufiZ v0.10.0 Echo is Released!!!

The Echo Release is probably the biggest release so far, and has been in the works for 7 months and in those months a lot of different things were added, tried and didn’t work, but here we are at the end of 2025 with a new MufiZ release with a bunch of improvements and stability in the language.

New Features

  • Foreach loop support foreach(v in vector)

  • Added complex number parsing var c = 2 + 3i

  • Added multiline string (`hello`;) and comment (/# #/) support.

  • Added end keyword for indexing arrays last element (like Matlab)

  • Added const support for immutable variables

  • Added format() and f() functions for formatting strings like format("Hello, {}!", "World") and f("Hello, {}!", "World").

  • Added hashtable syntax using #{key: value} such as var table = #{"key": 4}; and indexing using table["key"].

  • Added switch statement support switch(expression) { case value: {expression; break;}, ... }

  • Added experimental range support (..= and ..)

  • Added pair type key => value

  • Added Matrix type support ([[1, 2, 3], [4, 5, 6]]) and added indexing support using mat[row][col] syntax.

    • For iterating on foreach, you will need to run foreach(a in flatten(mat))

Other Changes

  • Upgraded Zig toolchain to v0.15.2

  • Changed Float Vector to be dynamic

  • Improved Hash Table to use Standard Library

  • Reworked memory management to use Zig’s Allocator type and prioritize safety checks and memory leak detection. We choose to use Zig’s General Purpose Allocator and for lifetime objects we use arena allocation.

  • Reworked REPL editor that allows for multi-line statements

  • Better error messaging in the language and token column reporting is implemented

  • Dynamic String hashing depending on length of string to provide optimal performance.

# To install on Unix Systems!
$ curl -fsSL https://raw.githubusercontent.com/Mufi-Lang/installer/main/installer.sh | sudo sh -s install
# To use after, run the mufizup command 
$ mufizup update # updates to latest version

With this release, I will no longer be continuing to use apt/dnf repo, and instead for Unix systems I will be improving the mufizup shell script that can be used to install mufiz for different toolchains and handle updating, and selecting versions. For MacOS and x86-64 Linux systems brew will also continued to be supported and we also have our Github release https://github.com/Mufi-Lang/MufiZ/releases/tag/v0.10.0

12 views