Metadata-Version: 2.4
Name: CMT-IsiZulu
Version: 1.0.3
Summary: IsiZulu programming language — write code in isiZulu, runs as Python
Home-page: https://github.com/mzwandile/CMT-IsiZulu
Author: Mzwandile
License: MIT
Keywords: isizulu,zulu,south africa,programming language,transpiler
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Compilers
Classifier: Intended Audience :: Education
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: requires-python
Dynamic: summary

# CMT-IsiZulu 🇿🇦

**IsiZulu programming language — developed by Mzwandile**

Write code in isiZulu. Runs as Python.

## Install

```bash
pip install CMT-IsiZulu
```

## Use it in Python

```python
import CMT_IsiZulu

# Start the live editor
CMT_IsiZulu.live()
```

## Run a .zulu file

```python
import CMT_IsiZulu

CMT_IsiZulu.run("mzwa.zulu")
```

## Run isiZulu code directly

```python
import CMT_IsiZulu

CMT_IsiZulu.run_code('phrinta("Sawubona Mzansi!")')
```

## Or run from the terminal

```bash
python -m CMT_IsiZulu
```

## Live editor commands

| Command | Meaning |
|---|---|
| `sebenza` | Run your code |
| `sula` | Clear and start fresh |
| `phuma` | Quit |

## Example isiZulu code

```
isigaba Umuntu:
    sebenza _qala_(kulo, igama):
        kulo.igama = igama

    sebenza zikhulume(kulo):
        phrinta("Sawubona, " + kulo.igama + "!")

u = Umuntu("Thandi")
u.zikhulume()
```

## Keyword reference

| IsiZulu | Python |
|---|---|
| `phrinta` | `print` |
| `sebenza` | `def` |
| `isigaba` | `class` |
| `uma` | `if` |
| `okunye` | `else` |
| `ngakhoke` | `for` |
| `kanti` | `while` |
| `buyisa` | `return` |
| `ngenisa` | `import` |
| `igama` | `str` |
| `inombolo` | `int` |
| `iqiniso` | `True` |
| `amanga` | `False` |
| `lutho` | `None` |

---

*Sikhona. We exist.* 🇿🇦
