Share your Programming Language Jam submissions here!

← Back to all posts
M
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.

E.g.

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: https://repl.it/@mcoders.
Our project: https://repl.it/@mcoders/M#README%20new.md
Our team members:
Isaac Holt https://repl.it/@isaacholt100
Joseph Rance https://repl.it/@josephran

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.

Commentshotnewtop
TheDrone7 (1422)

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 👍