Mech is a language for developing data-driven, reactive systems like animations, games, and robots. It makes composing, transforming, and distributing data easy, allowing you to focus on the essential complexity of your problem.
You can try Mech online at try.mech-lang.org.
A toolchain for compiling textual syntax into Mech blocks.
- lexer - defines a
Token, which represents a character class.
- parser - converts text into a parse tree, with tokens as leaves.
- compiler - converts a parse tree to a syntax tree. Also handles converting a syntax tree to block constraints.
- formatter - converts a parse tree into formatted text.
This branch also contains various editor modes that enable syntax highlighting in popular IDEs. Modes are available for:
- VS Code
Mech is currently in the alpha stage of development. This means that while some features work and are tested, programs are still likely to crash and produce incorrect results. We've implemented some language features, but many are not yet implemented.
Feel free to use the language for your own satisfaction, but please don't use it for anything important.