Download Mantra v0.2.0 including the mantrac compiler, mantra_web, mantra_rest, and enhanced mantra_sql_orm
and mantra MDK. Runs on the Mantra VM or compiles to native binaries via Clang.
Universal โ Apple Silicon (M1/M2/M3) & Intel x86_64
Download .dmg v0.2.0 (1.4 MB)Ubuntu 22.04+, Debian, Fedora, Arch โ x86_64 & ARM64
Download .tar.gz (2.4 MB) Self-Extracting .sh (2.4 MB)Windows 10 / 11 64-bit (MSVC & MinGW runtimes)
Download .zip Bundle (2.4 MB)
Select your preferred release version. Each package includes pre-compiled binaries (mantra, mantrac),
the Mantra standard library, and installation scripts.
SQLiteAdapter alongside MySQL & PostgreSQL, QueryBuilder, and database migrations.-O2 optimization support and enhanced type diagnostics.| Platform / OS | Package File | Type | Size | Action |
|---|---|---|---|---|
| macOS (Apple Silicon & Intel) | Mantra-0.2.0-macOS.dmg |
Apple Disk Image (.dmg) | 1.4 MB | โฌ Download .dmg |
| Linux (Ubuntu, Debian, Fedora, Arch) | mantra-0.2.0-linux.tar.gz |
Compressed Tarball (.tar.gz) | 2.4 MB | โฌ Download .tar.gz |
| Linux (Self-Extracting) | mantra-installer-linux.sh |
Shell Bundle (.sh) | 2.4 MB | โฌ Download .sh |
| Windows (10 / 11 64-bit) | mantra-0.2.0-windows.zip |
Portable ZIP Archive | 2.4 MB | โฌ Download .zip |
mantrac --run execution.mantra new), code formatting (mantra fmt), and doc generation (mantra doc).mantra.lang, mantra.io, mantra.util.collections, mantra.net.http, and mantra.mdk.| Platform / OS | Package File | Type | Size | Action |
|---|---|---|---|---|
| macOS (Apple Silicon & Intel) | Mantra-0.1.0-macOS.dmg |
Apple Disk Image (.dmg) | 1.4 MB | โฌ Download .dmg |
| Linux (Ubuntu, Debian, Fedora, Arch) | mantra-0.1.0-linux.tar.gz |
Compressed Tarball (.tar.gz) | 2.4 MB | โฌ Download .tar.gz |
| Windows (10 / 11 64-bit) | mantra-0.1.0-windows.zip |
Portable ZIP Archive | 2.4 MB | โฌ Download .zip |
Run these commands once the installation completes:
The MDK scaffolds a complete project with a mantra.toml manifest:
Released alongside the v0.2.0 standard library โ major new packages and ORM improvements.
mantra.web โ Server, Router, Request, Response, Middleware, Templatemantra.rest โ RestController, JsonSerializer, RouteHandler, ApiResponsemantra.sql.orm โ QueryBuilder, SQLiteAdapter, Migration, SchemaBuildermantra_sql_orm, mantra_web, mantra_restThe Mantra toolchain is an 11-crate Rust workspace. You need Rust 1.80+ and Clang for native compilation.
Tokeniser: converts raw .mantra source text into a flat token stream.
Abstract Syntax Tree nodes: classes, interfaces, functions, expressions.
Recursive-descent parser that builds the AST from the token stream.
Type checker: resolves names, verifies interface contracts and override correctness.
Bytecode interpreter โ runs .mantra programs without native compilation.
C emitter that generates portable C99, then invokes Clang to produce a native binary.
The compiler driver CLI โ orchestrates lexer โ parser โ checker โ codegen.
The Mantra Development Kit: mantra new, mantra fmt, mantra doc.
Model, QueryBuilder, MySQLAdapter, PostgreSQLAdapter, SQLiteAdapter, Migration & SchemaBuilder.
HTTP Server, Router, Request/Response, Middleware pipeline, and Template engine.
RestController, JsonSerializer, RouteHandler, RouteRegistry, ApiResponse, Pagination.