Skip to main content

Jun 2025 (v0.8.4)

Mochi v0.8.4 expands example coverage and refines many experimental compilers. Two Sum tests now run across most backends and several languages gain new features or fixes.

Compilers

  • Prolog supports early return via catch/throw and adds if-else handling
  • Pascal adds boolean literals and reserved keyword tests
  • Scheme supports multi-argument print
  • Racket handles else clauses
  • F# compiler accepts function expressions
  • Swift uses let for immutable parameters
  • Zig backend auto-installs when missing
  • Go count builtin improved
  • Smalltalk and Elixir compilers receive bug fixes
  • Erlang variable naming corrected

Tests

  • Two Sum example enabled for C, C++, C#, Dart, Kotlin, Scala, Ruby and more
  • Comprehensive golden tests updated for Go, PHP, TypeScript, Scala, Rust and others
  • Fortran compiler tests refreshed

Documentation

  • Build instructions added for COBOL, PHP and Fortran
  • Java and Erlang test directories clarified