Logo Lanfrica

siyacoderza/Zululang

Domain:

natural language processingeducation

Record type:

software
Creator:
siy
Host:
Zululang 🐍🇿🇦 Zululang is a Zulu‑inspired programming language designed to make learning to code more accessible, human, and culturally relevant for isiZulu speakers and beginners. # Zululang 🐍🇿🇦 **Zululang** is a Zulu-inspired programming language designed to make learning to code more accessible, human, and culturally relevant for isiZulu speakers and beginners. Zululang is not meant to replace existing languages like Python or JavaScript. Instead, it acts as a **bridge language** — helping learners understand programming concepts in familiar language, then smoothly transition to mainstream technologies. --- ## 🌍 Why Zululang? Many people struggle to learn programming because: - Keywords are in unfamiliar languages - Error messages are intimidating - Learning feels disconnected from their culture Zululang addresses this by: - Using **Zulu-style keywords** - Keeping syntax simple and readable - Providing a friendly learning experience Programming should feel like thinking — not translating. --- ## ✨ Current features supported by the ## Zululang translator. - Zulu-inspired keywords (`bonisa`, `uma`, `ngenkathi`, `umsebenzi`) - Simple, Python-like syntax - Custom file extension: `.zul` - Beginner-friendly structure - Runs by translating Zululang code into Python ## Zululang functions and their meaning - Command Meaning - bonisa print output - kuba variable assignment - uma if statement - kungenjalo else statement - ngenkathi while loop - phinda for loop - umsebenzi function definition - buyisa return value - phela end block - cela user input - iphutha throw error - uhlu array --- ## 📁 File Extension ## All Zululang programs use the **`.zul`** file extension. Example: ## 🚀 Getting Started ### 1️⃣ Requirements - Python 3.8 or higher ### 2️⃣ Clone the Repository ```bash git clone github.com cd zululang ## Run the Zululang program python zululang_translator.py examples/hello.zul ## Zululang basics bonisa "Sawubona, Zululang!" ## Variables x kuba 5 y kuba 10 bonisa x + y ## If/Else uma x > 5 khona bonisa "x likhulu" kungenjalo bonisa "x lincane" ## While loops x kuba 0 ngenkathi x < 3 boni …