r/ProgrammingLanguages • u/Francog2709 • Mar 16 '26
Requesting criticism Mathic programming language
Hi everyone!
My name is Franco. This is a post to introduce Mathic to the public. Perhaps it is too early, perhaps not — I wanted to do it anyway.
Mathic is the programming language I always wanted to build. It started as a way of learning and improving my skills with MLIR/LLVM. My goal is to build a language with simplicity as its first-class implementation driver, with native support for symbolic algebra.
Mathic is built with Rust, from which its syntax took some inspiration, and as I mentioned, LLVM/MLIR.
The project is at quite an early stage right now. However, it does support some features like control flow, variables, functions, structs, and types.
I would very much appreciate feedback from anyone. Also, if anyone has experience with MLIR, I'd love any recommendations on things that could have been done better.
View all comments
Show parent comment
2
u/Francog2709 Mar 17 '26
Yes, the whole syntax can be found in those examples. There's also a grammar.txt describing the syntax. For semantics: