Skip to main content

What is Mathsys?

Mathsys is a hybrid language that combines the clarity of mathematical notation with the power of computation. While LaTeX excels at typesetting mathematics, it cannot be reliably parsed or executed. Mathsys bridges this gap by providing a language that outputs beautiful LaTeX typesetting while remaining fully runnable and computable.

Try Mathsys Online

The easiest way to get started with Mathsys is through our live playground: Visit the Mathsys Playground → This interactive environment lets you write and run Mathsys code directly in your browser without any installation.

File Extensions

Mathsys uses version-specific file extensions:
  • .ms1 - Mathsys v1
  • .ms2 - Mathsys v2
  • .ms3 - Mathsys v3
  • .msd - Mathsys dev version (latest deployment)
  • And so on for future versions…
When creating new Mathsys files, use .msd for the latest development version or the appropriate version-specific extension. The development version isn’t always stable and is changing all the time, for more stability, choose a numbered file extension. The following Learn Mathsys guide is especifically designed for Mathsys v3.12.1.

Syntax

Mathsys syntax is designed to be expressive, high-density and intuitive. Here are some examples.
In this guide you’ll learn the syntax with it’s caveats and quirks.

LaTeX Output

All Mathsys code is directly transpilable to LaTeX, producing beautiful mathematical typesetting. For example:
Is rendered as: 2x2+3x+12x^{2}+3x+1

Why Mathsys?

Mathsys is designed for teaching mathematics digitally in a way that feels natural, intuitive, and directly computable. Students can write mathematics just as they think about it, while teachers get an environment where mathematical expressions are immediately runnable.

Formal reference

Mathsys formal syntax, as of this version, is the following:
This is public and intended so that users can understand better how to write Mathsys files.