Mech Programming Language Documentation
Getting Started
Language Reference
Data Model
Data Structures
Enum - defines a set of named constant values
Map - stores key-value pairs for fast lookups.
Matrix - 2D array of homogenous values arranged in rows and columns.
Record - groups related fields, usually for representing structured data.
Set - unordered collection of unique values
Table - collection of heterogeneous data organized into rows and columns.
Tuple - fixed-size, ordered grouping of heterogeneous values.
Operators and Expressions
Operators
Indexing
Programming Model
Coming v0.3Functions
State Machines
Machines
Mech Programs
System Model
Coming v0.4Capabilities
Distributed Computation
Concurrency and Parallelism
Mechdown Reference
Standard Library
Assign
Access
Combinatorics
Compare
Convert
Io
Logic
Matrix
Range
Stats
Guides
Tutorials
Language Design Documents
Language Design Principles
Syntax Design Notes
Examples
Fizz Buzz - a classic programming exercise that demonstrates the use of Mech's data model and operators.
N-Body Simulation - a simulation of gravitational interactions between multiple bodies.
Extended Kalman Filter - an implementation of the Extended Kalman Filter algorithm for state estimation.