Share your repls and programming experiences

← Back to all posts
isaacholt100 (0)

M is a functional programming language designed to feel like maths.

M stores numbers as simplified expressions which are evaluated when needed, which means there is never any loss of precision. The numerical evaluations can also be computed to arbitrary precision.

It also displays working when evaluating and simplifying expressions, making it very easy to understand.

M supports complex numbers and quaternions as well as real numbers, as well as vectors, matrices, sets and tuples.

As M's syntax adheres as closely as possible to mathematical notation, it will b easy for mathematicians to pick it up.


let a = 6 + 2i
let v = (3, 4, 5 + 2i, -6)
let S = { x: x < 3 }
f(x) = x^2 - sqrt(x) + 4

Our team link:
Our project:
Our team members:
Isaac Holt
Joseph Rance

Our focus on M had so far been implementing the core functionality rather than making an interface for it, so feel free to read the README which gives an idea of what it will look like. To see some of the functionality you can check out the source code e.g. the data types are in the ts/classes folder.

TheDrone7 (1777)

Hello there! The jam required you to work as a team of at least 2 members in the jam. I see you worked as a team but forgot to mention your team member in the post. Could you edit the description and add them please?

Thank you

isaacholt100 (0)

@TheDrone7 sorry about that, I've edited it 👍