← All projects
Project record1 mention
Originally shared on Hacker News

Mochi

This programming language includes a VM and transpiler that were originally implemented by hand and later polished with Codex. It ships with roughly 150–300 algorithms implemented directly in Mochi, which are transpiled to more than 25 programming languages such as C, Haskell, Java, Go, and Scala. The author plans to return to the project after finishing other books to add better use cases.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Mochi

    This programming language includes a VM and transpiler that were originally implemented by hand and later polished with Codex. It ships with roughly 150–300 algorithms implemented directly in Mochi, which are transpiled to more than 25 programming languages such as C, Haskell, Java, Go, and Scala. The author plans to return to the project after finishing other books to add better use cases.

    Posted by @tamnd · Original source ↗

    Source text · @tamnd · · Source ↗

    I actually used The Algorithms as a reference when working on my own programming language, Mochi, which includes around 150–300 algorithms (I don't remember exactly) implemented directly in Mochi. These are then transpiled to over 25 programming languages such as C, Haskell, Java, Go, Scala, and more: https://github.com/mochilang/mochi/tree/main/tests/algorithms/x