Jun 2025 (v0.8.5)
Mochi v0.8.5 focuses on running the first three LeetCode examples across all experimental compilers. Many backends gain new language features and assorted fixes to support these tests.
Compilers
- Variable assignment, while loops and break/continue added in several languages
- String indexing and list concatenation supported in Rust, Scheme and Java
- Vector and list operations expanded for C++ and PHP
- Option to build all targets at once and better .NET installation
- Numerous fixes for Fortran, Pascal, Prolog and C# compilers
Tests
- LeetCode example suites enabled for C, C++, C#, COBOL, Dart, Erlang, Fortran, Haskell, Java, Kotlin, Lua, Pascal, PHP, Prolog, Racket, Ruby, Rust, Scala, Scheme, Swift and Zig