MIND Language Documentation

Welcome to the MIND documentation. MIND is a tensor-native, Rust-inspired language and compiler that unifies modeling, compilation, and deployment of intelligent systems.

Core Concepts

Tensor-native types

Tensors are first-class citizens with shapes and dtypes encoded in the type system, enabling powerful compile-time guarantees.

Static shape checking

Shape mismatches are caught at compile time, not runtime, preventing a whole class of common deep learning errors.

Built-in autodiff

Automatic differentiation is a first-class language feature, not an add-on library, allowing for efficient gradient computation.

MLIR + LLVM

The compiler leverages MLIR for high-level tensor optimizations and LLVM for highly efficient machine code generation.

The source tree also includes a pure-MIND cryptography and protocol primitive library — AES-128-GCM, SHA-256, HKDF, X25519, SHA-3/SHAKE, RSA-PSS, ECDSA-P256, ML-KEM-768 (FIPS 203), X.509 parsing and verification, TLS 1.3 key-schedule/record/handshake primitives, HPACK, and HTTP/2 framing — each verified against RFC and NIST known-answer tests. These are verified primitives, not a ready-to-use TLS client or server.

Full-Stack AI (Roadmap)

MIND is evolving into a complete platform for building, deploying, and scaling AI systems. The capabilities below describe where the platform is headed — they are roadmap items, not features of the open-source compiler today.

Language Specification

The formal language specification is the authoritative source for MIND syntax and semantics. It is automatically synced from the mind-spec repository.

Browse Specification

Getting Help