Skip to main content

Aug 2025 (v0.10.74)

Released on Tue Aug 26 11:00:15 2025 +0700.

Mochi v0.10.74 broadens algorithm coverage with SPOJ problem solutions and upgrades multi-language transpilers.

SPOJ Solutions

  • Adds TEST solutions in C, C++, C#, COBOL, Dart, Elixir, Erlang, Fortran, Go, Haskell, Java, Kotlin, Lua, OCaml, Pascal, PHP, Prolog, Python, Racket, Ruby, Rust, Scala, Scheme, Smalltalk, Swift, TypeScript, Zig and more.
  • Introduces solutions for BULK, CMEXPR, CMPLS, PALIN, ONP, SBSTR1, ARITH and PRIME1.
  • Provides a scraper and downloader to fetch SPOJ problem data.

Transpilers

  • C transpiler supports nested list returns, struct typedef maps and string→float map literals.
  • C++, Zig and others enhance float precision and constant list handling.
  • Java, C#, F# and Go refine big-integer casts, dynamic indexes and CSV/list string marshaling.
  • Erlang, PHP, Pascal and Scheme improve string representations, record dependencies and equality helpers.
  • Regenerates algorithm fixtures and benchmarks across languages.