Skip to main content

Jun 2025 (v0.7.4)

Mochi v0.7.4 finishes the LeetCode example suite and improves runtime and compiler support.

Example Library

  • Added solutions for LeetCode problems 241–400
  • Python and TypeScript outputs generated for problems 1–400
  • Compiled Go versions for problems 361–400

Runtime

  • Numeric comparisons work across integers and floats
  • Slices support concatenation

Compilers

  • Go compiler handles arithmetic with any and empty literal assignments
  • TypeScript compiler supports nested functions and global variables
  • Fixed float formatting in the Python compiler

Examples

  • Fixed Random Pick Index and LeetCode 321 solutions