M Lang - The Arithmetic Language: M is an open-source language that is meant to help people learn about Tokenizers, Parsers, and interpreters. It supports variables, logging, built-in functions and expressions.
M is an open-source language that is meant to help people learn about Tokenizers, Parsers, and interpreters. It supports variables, logging, and expressions.
Project Status
Version: v1.8.7
If a { block } is expected but a { isn't seen, it will allow a single expression to pass (which also means there is support for else if)
Package manager
There is a package manager under development by justamirror that you can see here.
There isn't any official package manager as of now, if any others pop up they will be mentioned here.
Known Bugs
PENDING: print with multiple arguments prints an array instead of formatting all args
PENDING: Can't return a variable
UPDATED: printf and format functions now also include the position of an error (in the case one occurs)
FIXED: Error positioning was sometimes negative because of strings
To-Do (in order from Most Important to Least Important)
Add 'import ... as ...'
Objects [NOT EXPECTED]
Scrapped Ideas (maybe in the future?)
Nothing scrapped...
Done
Add options to modify a value in an array [HIGH PRIORITY]