Documentation

MJX Specification Docs

Architecture specifications for all 5 compilation targets. Each doc includes a split-screen view with English input on the left and the generated code on the right — with interactive example switches.

Core Targets — 5 Engines
🍎 English → UI
Swift / SwiftUI

Compile plain English UI descriptions into declarative, production-ready SwiftUI code for Apple platforms.

Text("Welcome!") .font(.largeTitle) .fontWeight(.bold)
Welcome ScreenProfile CardLogin FormSettings Form
🤖 English → Chatbot
Rust / WebAssembly

Compile conversational flow descriptions into a high-performance, sandboxed Rust/WASM finite state machine.

match self.state { ChatState::Welcome => { if lower.contains("billing") { self.state = ChatState::Billing;
Welcome BotLead CaptureOrder Status
English → API
Go

Compile API endpoint and data model descriptions into a high-performance, statically-compiled Go backend service.

func GetUsers(w http.ResponseWriter, r *http.Request) { json.NewEncoder(w).Encode(users) }
User CRUDProduct + PostgreSQLAuth-Protected API
🦀 English → Web
Rust / WASM

Compile web application descriptions into a complete, high-performance Rust/WASM SPA using the Yew framework.

let count = use_state(|| 0i32); html! { <h1>{ *count }</h1> <button onclick={on_increment}>
Counter AppTo-Do ListTwo-Page Router
🚀 English → Backend
Swift / Vapor

Compile API descriptions into complete Vapor server-side Swift applications with Fluent ORM database integration.

func list(req: Request) async throws -> [Todo] { try await Todo.query(on: req.db).all() }
Todo APIBlog API + AuthProduct + Migration
Reference
📋
100 Compilation Targets
Reference List
A comprehensive reference list of 100 potential compilation targets across 10 categories, from SwiftUI to Solidity smart contracts.