GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - madanimkhitar22-beep/madilang: 🧠 Sovereign intent-driven programming language. Describe what you want, MadiLang generates secure, ethical, production-ready backends with cryptographic proof of origin. Mobile-first • Ethics-by-Default • Zero Boilerplate.

BranchesTags
Open more actions menu

Latest commit

 

History

192 Commits
192 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
madilang
madilang
 
 
scripts
scripts
 
 
tests
tests
 
 
tools/vscode-madilang
tools/vscode-madilang
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CITATION.cff
CITATION.cff
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
ROADMAP.md
ROADMAP.md
 
 
SECURITY.md
SECURITY.md
 
 
SPEC.md
SPEC.md
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

🧠 MadiLang v0.6.0

✨ Code is no longer written. It is described. ✨

MadiLang transforms human-readable intent into production-ready, secure, and sovereign backend systems. Describe what you want — MadiLang generates the rest with cryptographic proof of origin and deterministic reproducibility.

MadiLang CI Python Versions License Release Mobile-First Multi-Target Sovereign Signature Ethics by Default Discussions


šŸš€ Quick Links

✨ Get Started • šŸ“– Wiki • 🩺 madi doctor • 🧬 Philosophy • šŸ¤ Contribute • šŸ’¬ Discussions


🌟 The Sovereign Difference

In a world of boilerplate, complexity, and hidden logic, MadiLang restores clarity, sovereignty, and trust.

Dimension Traditional Development MadiLang
🧠 Abstraction Write implementation details Describe intent
šŸ” Provenance Manual audit trails Cryptographic signature in every artifact
šŸ›”ļø Security Add as afterthought Security & ethics by default
šŸ“± Accessibility Requires full IDE/PC Mobile-first — develop on Termux/phone
⚔ Boilerplate Repetitive setup code Zero boilerplate — generated automatically
šŸ”— Extensibility Modify core or fork Plugin system — extend without touching core
🌐 Targets Single language per project Multi-target — Node.js + Python (FastAPI)
🩺 Diagnostics Manual debugging madi doctor — instant environment health check
šŸ”„ Reproducibility Environment-dependent builds Deterministic — byte-for-byte identical outputs

šŸ’Ž MadiLang is not just a tool. It's a declaration: Human intent is the sovereign layer.


šŸ”„ Live Example: From Intent to Production API

šŸ“ Describe Your Intent (auth.madi)

entity: User
fields:
  - name: string
  - email: string (unique)
  - password: string (secure)
  - createdAt: datetime (auto)

intent: register_user
route: "/api/signup"
method: POST
inputs: (name, email, password)

steps:
  find User by email as existing_user

  if existing_user:
    show error "Email already exists"
    stop process

  create User
  generate token
  return success with token

šŸš€ Generate & Run

madi run auth.madi --target nodejs    # Node.js + Express
madi run auth.madi --target python    # Python + FastAPI

šŸ“¤ Output: Sovereign Backend

🟢 Node.js / Express Output
// ════════════════════════════════════════════════════════════════════
// šŸ” MadiLang Sovereign Intent Signature
// ════════════════════════════════════════════════════════════════════
const __MADI_SIGNATURE__ = {
  "developer": { "id": "madani004" },
  "intent": { "hash": "a3f8c2...", "fingerprint": "7d9e1b..." },
  "timestamp": { "iso": "2026-11-04T00:00:00Z" },
  "ethics": { "score": 0.95, "passed": true },
  "signature": { "algorithm": "SHA256-HMAC", "value": "..." }
};
// ════════════════════════════════════════════════════════════════════

app.post('/api/signup', validateInputs(['name','email','password']), async (req, res) => {
  const existing_user = await prisma.user.findUnique({ where: { email: req.body.email } });
  if (existing_user) return res.status(400).json({ error: "Email already exists" });

  const result = await prisma.user.create({
    data: { name: req.body.name, email: req.body.email, password: await bcrypt.hash(req.body.password, 10) }
  });

  const token = jwt.sign({ id: result.id }, process.env.JWT_SECRET, { expiresIn: '7d' });
  return res.status(200).json({ success: true, token });
});
šŸ Python / FastAPI Output
# ════════════════════════════════════════════════════════════════════
# šŸ” MadiLang Sovereign Intent Signature
# ════════════════════════════════════════════════════════════════════
__MADI_SIGNATURE__ = {
    "developer": {"id": "madani004"},
    "intent": {"hash": "a3f8c2...", "fingerprint": "7d9e1b..."},
    "timestamp": {"iso": "2026-11-04T00:00:00Z"},
    "ethics": {"score": 0.95, "passed": True},
    "signature": {"algorithm": "SHA256-HMAC", "value": "..."}
}
# ════════════════════════════════════════════════════════════════════

from fastapi import FastAPI, HTTPException
from pydantic import BaseModel

app = FastAPI(title="MadiLang Sovereign Backend")

class RegisterUserInput(BaseModel):
    name: str
    email: str
    password: str

@app.post("/api/signup")
async def register_user(data: RegisterUserInput):
    existing = await db.user.find(email=data.email)
    if existing:
        raise HTTPException(status_code=400, detail="Email already exists")

    result = await db.user.create(name=data.name, email=data.email, password=hash_password(data.password))
    token = generate_token(result["id"])
    return {"success": True, "token": token}

āœ… Secure by default: Password hashing, input validation, error handling, JWT generation. šŸ” Sovereign by design: Every file carries a verifiable signature binding it to the original intent.


šŸ†• What's New in v0.6.0

šŸ—ļø madi build Command

Compile .madi source files to target code without execution. This is the foundational step for CI/CD pipelines and reproducible builds.

madi build src/main.madi --target python --output dist/

šŸ”„ Deterministic & Reproducible Builds

Added .gitattributes to enforce LF line endings globally, guaranteeing byte-for-byte hash consistency across Windows, macOS, and Linux. Preparation for the upcoming --reproducible flag.

šŸ“œ Authoritative Specifications

  • SPEC.md v1.0: Elevated from draft to authoritative specification, including explicit "Sovereign Guarantees" for cryptographic identity and escape hatches.
  • ROADMAP.md v1.0: Restructured for professional clarity with strict exit criteria for each phase.

šŸ“± Mobile-First Sovereignty

MadiLang is designed to run anywhere Python runs — including your smartphone. No heavy IDE. No powerful PC. Just intent and sovereignty.

šŸ¤– Termux Setup (Android)

# 1. Install dependencies
pkg update && pkg install python nodejs git

# 2. Clone repository
git clone https://github.com/madanimkhitar22-beep/madilang.git
cd madilang

# 3. Install in editable mode
pip install -e .

# 4. Verify installation
madi --version
# 🧠 MadiLang v0.6.0 — Sovereign Intent Compiler

# 5. Diagnose environment
madi doctor

# 6. Initialize and build
madi init my-backend
cd my-backend
madi build src/main.madi --target python --output dist/

šŸ’” Democratizing development: Build sovereign backends from anywhere, even a smartphone.


šŸ—ļø Architecture v0.6.0

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│                    🧠 MadiLang Sovereign Compiler Pipeline                      │
ā”œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¤
│                                                                                 │
│  šŸ“ Source (.madi)                                                              │
│       ↓                                                                         │
│  šŸ” Parser (Recursive Descent) → AST                                            │
│       ↓                                                                         │
│  šŸ“‹ Analyzer (Semantic Validation + Ethics Enrichment)                          │
│       ↓                                                                         │
│  šŸ” IntentSignature (Cryptographic Binding + Provenance)                        │
│       ↓                                                                         │
│  āš™ļø StepCompiler → IR (Language-Agnostic Intermediate Representation)           │
│       ↓                                                                         │
│  🧩 Plugin Hooks (Ethics, Security, Custom Transformers)                        │
│       ↓                                                                         │
│  šŸ—ļø CodeGenerator → Target Code                                                 │
│       ā”œā”€ā”€ 🟢 Node.js / Express / Prisma                                         │
│       ā”œā”€ā”€ šŸ Python / FastAPI / Pydantic                                        │
│       └── šŸ¦€ Go / Fiber (planned)                                               │
│       ↓                                                                         │
│  šŸ“¤ Output + Embedded Signature + Hybrid Adapter + Runtime Verification         │
│                                                                                 │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

šŸ” Sovereign Intent Signature

Every artifact generated by MadiLang carries a cryptographic signature that proves:

  • šŸ‘¤ Who authored the original intent
  • šŸ“ What the intent was (source hash)
  • šŸ“… When it was generated
  • šŸ›”ļø Whether it passed ethical review
  • āœ… Integrity — any modification breaks verification

šŸ” Verify Signature

madi verify dist/output.py
# āœ… Signature structure valid
# šŸ‘¤ Developer: madani004
# šŸ“… Generated: 2026-11-04T00:00:00Z
# šŸ”– Intent Hash: a3f8c2...
# šŸ›”ļø Ethics Score: 0.95

šŸ›”ļø Ethics & Security by Default

Check Description
šŸ”’ Secure Fields Fields marked (secure) are automatically hashed with bcrypt
šŸ” Auth Coverage Sensitive routes require authentication protection
šŸ‘¤ Role Guards Admin operations enforce role-based access control
🚫 Injection Prevention Input validation generated for all inputs
āš ļø Error Safety Generic error messages prevent data leakage
🧠 Ethics Scoring Privacy, consent, transparency, accountability, fairness
madi check auth.madi
# āœ… Analysis passed
#    Entities: 1
#    Intents: 2

šŸš€ CLI Commands

# Initialize new project
madi init my-project

# Compile and run (Node.js or Python)
madi run src/main.madi --target nodejs
madi run src/main.madi --target python

# Build without running (NEW in v0.6.0)
madi build src/main.madi --target python --output dist/

# Verify sovereign signature
madi verify dist/output.py

# Analyze and validate source
madi check src/main.madi

# Diagnose environment
madi doctor

# Show version
madi --version

šŸ“¦ Installation

šŸ From PyPI (Recommended)

pip install madilang
madi doctor  # Verify your environment

šŸ”§ From Source

git clone https://github.com/madanimkhitar22-beep/madilang.git
cd madilang
pip install -e .
madi doctor

šŸ“‹ Requirements

  • Python 3.8+ (3.13 supported āœ…)
  • Node.js 18+ (for Node.js target)
  • npm (for auto-dependency installation)

🧬 Philosophy

MadiLang is built on the Mkhitarian Ontology:

Human intent is the sovereign layer. Code is merely the execution of will. Ethics and security are not features — they are foundations.

šŸ”— Related Projects

  • Mkhitarian Philosophy — The philosophical foundation
  • Sovereign-DevKit — Security scanning toolkit

šŸ¤ Join the Sovereign Movement

šŸ’¬ Discussions

šŸ‘‰ Join the Discussions

šŸ“‹ Development Setup

git clone https://github.com/madanimkhitar22-beep/madilang.git
cd madilang
pip install -e ".[dev]"
pytest tests/ -v
ruff check .

šŸ“œ Governance

  • Code of Conduct
  • Security Policy
  • License — MIT

šŸ“œ Changelog

See CHANGELOG.md for detailed release notes.


šŸ”® Roadmap

v0.7.0 (Next)

  • šŸ”„ Reproducibility Flag: madi build --reproducible producing byte-identical outputs with .sig sidecar files.
  • šŸ” Cryptographic Maturity: Transition from HMAC-SHA256 to Ed25519 for non-repudiable signatures.
  • šŸ›”ļø Security Hook: Wire security_hook with deep data-flow analysis (beyond keyword matching).
  • šŸ“š Auto-Documentation: OpenAPI/Swagger generation directly from .madi intents.

v1.0.0 (Vision)

  • šŸ¦€ Go/Fiber Generator: Multi-language parity.
  • šŸŽØ Full LSP Support: VSCode extension with real-time diagnostics and autocomplete.
  • šŸŒ Ecosystem: Community plugin registry and decentralized deployment integrations.
  • āœ… Definition of Done: Two stable targets, 100% reproducible builds, verified cryptographic chain, and a working escape hatch.

šŸ“„ Citation

cff-version: 1.2.0
title: "MadiLang"
authors:
  - family-names: "El Mkhitar"
    given-names: "El Madani"
    email: "[email protected]"
version: "0.6.0"
date-released: 2026-11-04
license: "MIT"
repository-code: "https://github.com/madanimkhitar22-beep/madilang"

šŸ‘¤ Author

El Madani El Mkhitar šŸ“§ [email protected] 🌐 GitHub Profile

"Building sovereign tools for a decentralized future, one intent at a time."


🌟 If MadiLang resonates with your vision, please star the repository!

Star on GitHub


🧠 Code is no longer written. It is described. šŸ” Sovereignty is no longer optional. It is embedded. šŸŒ The future of development is sovereign, ethical, and accessible to all.

About

🧠 Sovereign intent-driven programming language. Describe what you want, MadiLang generates secure, ethical, production-ready backends with cryptographic proof of origin. Mobile-first • Ethics-by-Default • Zero Boilerplate.

Topics

aicode-generationcompilerethicsintent-drivenlow-codemobile-firstnodejsprismaprogramming-languagepythonsecuritysovereigntyweb3

Resources

Readme
MIT license

Code of conduct

Code of conduct

Security policy

Security policy
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.