Logo Lanfrica

katlego22-maker/mmata-language

Domain:

natural language processing

Record type:

software
Creator:
kat
Host:
African-first, multi-language human-to-machine language interface. Created by Katlego Mankga. # 🧠 Mmata Language (.ml) **Mmata Language** is a groundbreaking, African-rooted programming language created by Katlego Mankga. It lets you write code in local languages — Tswana, Sotho, Zulu, Afrikaans, slang, and more — and **have computers understand it**. > “African-first. Human-first. Let the language speak.” --- ## 🔥 Why Mmata? Most programming languages use English syntax, creating a barrier for millions. **Mmata breaks that barrier** by: - Using **natural African languages** and **street slang** - Letting developers mix language + logic - Teaching computers to understand us — not the other way around --- ## 🧠 Features - ✅ Write logic in **Tswana, Sotho, Zulu, Afrikaans**, or mix them - ✅ Define variables, print output, write conditions like `ge` (if), `gape` (else) - ✅ Add your own language or slang — just edit the dictionary JSON - ✅ Open-source, extendable, and rooted in African culture --- ## 📁 Files in This Repo | File | Description | |------|-------------| | `mmata.py` | Refactored interpreter (core logic) | | `program.ml` | Example Mmata script | | `languages/setswana.json` | Keyword dictionary for Setswana/slang | | `test_runner.py` | Automated test runner | | `tests/` | Test `.ml` files and expected outputs | | `README.md` | This file | | `LICENSE` | Apache 2.0 license | --- ## 💻 How to Run a `.ml` File ### 1. Make sure Python 3 is installed ```bash python --version