15 releases
new 0.2.25 | Dec 17, 2024 |
---|---|
0.2.21 | Nov 25, 2024 |
0.2.4 | Jul 29, 2024 |
0.1.0 |
|
0.0.1 |
|
#278 in Robotics
1,008 downloads per month
Used in 5 crates
140KB
3K
SLoC
Mech is a language for developing data-driven, reactive systems like robots, games, and animations. It makes composing, transforming, and distributing data easy, allowing you to focus on the essential complexity of your project.
You can try Mech online at https://mech-lang.org/try.
Usage and installation instructions can be found in the documentation or the main Mech repository.
Be sure to follow our blog(RSS)!
Syntax
A toolchain for compiling textual Mech source code.
Contents
- parser - converts text into a parse tree.
- ast - converts parse tree into abstract syntax tree.
- compiler - converts abstract syntax tree into blocks.
- formatter - converts a parse tree into text.
This branch also contains various editor modes that implement the language server protocol. Modes are available for:
- VS Code
- EMACS (Coming soon...)
- VIM (Coming soon...)
Project Status
Mech is currently in the beta stage of development. This means that the language is at a suitable stage for a wider audience. While most language feature implementations are started, none are finished, and some new features may, while others could be removed. Backwards and forwards compatibility of Mech programs is not guaranteed at this time.
License
Apache 2.0
Dependencies
~11–19MB
~280K SLoC