Skip to main content

Aug 2025 (v0.10.73)

Released on Mon Aug 25 08:22:15 2025 +0700.

Mochi v0.10.73 enhances multi-language transpilers and refreshes algorithm benchmarks.

Transpilers

  • C transpiler adds map element assignment inside lists, pointer field access and pointer args for structs.
  • Rust transpiler supports function fields and empty list globals.
  • Zig transpiler supports field function calls, preserves parameter names and tracks mutable references.
  • Scheme iterates lists without map keys and allows unordered variant fields.
  • Pascal transpiler supports calling function fields and array field assignment.
  • Python avoids builtin name collisions; PHP handles struct field slices and unordered fields.
  • Dart adds a ceil builtin; Swift enables stack algorithms; Kotlin adds containsKey for maps; C++ supports nested struct literals and index assignment.

Algorithms

  • Regenerates algorithm outputs across TypeScript, Scala, Go, Rust, Swift, Scheme, PHP, Python, Pascal, Kotlin, Java and more.
  • Adds a non-recursive segment tree example and new benchmark coverage including heap and circular linked list cases.