Release v0.2.0
Preview roadmap for Mantra v0.2.0 featuring native Cranelift JIT execution, WebAssembly targets,
async/await coroutine networking, and an expanded standard library ecosystem including
mantra.web, mantra.rest, and enhanced mantra.sql.orm.
📁 Explore Standard Packages (v0.2.0)
Click any package below or navigate through the sidebar to inspect its interfaces and classes.
| Package | Description | Key Classes & Interfaces |
|---|---|---|
| mantra.lang | Core language foundation, primitive object wrappers, memory vtables, and standard exceptions. | Object, String, List, Equatable, BaseException |
| mantra.io | Filesystem access, environment variables, standard console streaming, and binary buffers. | File, Console, Environment |
| mantra.sql.orm | Pluggable database drivers, query builders, migrations, and active-record persistence layers. | Model, QueryBuilder, DatabaseAdapter, SQLiteAdapter, Migration |
| mantra.web | Native web framework runtime — HTTP server, router, middleware pipelines, and templates. | Server, Router, Request, Response, Middleware, Template |
| mantra.rest | Native REST framework runtime — controllers, JSON serialization, and API routing. | RestController, CrudController, JsonSerializer, RouteHandler, ApiResponse |
| mantra.net.http | HTTP client and asynchronous server abstraction with non-blocking socket loops. | HttpServer, HttpRequest, HttpResponse |
| mantra.util.collections | High-performance dynamic collections, stacks, queues, and associative hash maps. | Stack, Queue, HashMap |
| mantra.compiler | Compiler frontend and backends: lexer, recursive parser, type checker, VM, and C99 codegen. | Lexer, Parser, TypeChecker, Interpreter, CEmitter, NativeCompiler |
| mantra.mdk | Developer Kit CLI tools: project scaffolding, manifest parser, test runner, and code formatter. | ProjectScaffolder, PackageManifest, Formatter, DocGenerator |
⚡ Quick Verification
bash — verify toolchain
$ mantra --version
Mantra Development Kit (MDK) v0.2.0
Compiler: mantrac v0.2.0
Host Target: aarch64-apple-darwin
$ mantrac --help
Mantra Compiler (mantrac) v0.2.0
Usage: mantrac <input.mantra> [options]