MADOLA
A domain-specific language that lets you write mathematical notation as literate, executable source code, compiling it to C++ or WebAssembly while auto-generating LaTeX-style documentation.
MADOLA (Math Domain Language) unifies mathematical notation, computation, documentation, and code generation in a single source file, aiming to fill a gap the project says no existing tool covers on its own: LaTeX and Typst give readable math but no execution, Python, Julia, and MATLAB give computation but require translating away from standard math notation, and tools like Mathcad or Mathematica are proprietary and closed. Code is written using mathematical syntax close to how it would appear on paper, and MADOLA generates HTML documentation with LaTeX-style formatting and equations directly from that source.
It compiles to C++ or WebAssembly, with WASM execution reported as 5 to 25 times faster than standard AST evaluation, supports functions, matrices, complex numbers, and units, can import external WASM modules, works as plain text so it is Git-friendly, and has tree-sitter integration for syntax highlighting and IDE support in VS Code, Vim, and Emacs. It runs on Windows, Linux, and macOS, and the project describes AI-assisted authoring of MADOLA code as a feature still under development. It is early-stage and under active development.