Mech Programming Language Documentation
Getting Started
Language Reference
Data Model
Data Structures
Enum - defines a set of named constant values
todoMap - stores key-value pairs for fast lookups.
todoMatrix - 2D array of homogenous values arranged in rows and columns.
Record - groups related fields, usually for representing structured data.
todoSet - unordered collection of unique values
todoTable - collection of heterogeneous data organized into rows and columns.
Tuple - fixed-size, ordered grouping of heterogeneous values.
todoStatements and Expressions
Kind Conversion
todoFormulas
todoIndexing
todoError Handling
todoMemory Management
todoProgramming Model
Coming v0.3Functions
State Machines
SynthAssign
Modules
Programs
System Model
Coming v0.4Capabilities
Distributed Computation
Concurrency and Parallelism
Mechdown Reference
todo
Standard Library
Guides
Tutorials
todo
Language Design Documents
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.