IsiZulu programming language — write code in isiZulu, runs as Python
Project description
CMT-IsiZulu 🇿🇦
IsiZulu programming language — developed by Mzwandile
Write code in isiZulu. Runs as Python.
Install
pip install CMT-IsiZulu
Use it in Python
import CMT_IsiZulu
# Start the live editor
CMT_IsiZulu.live()
Run a .zulu file
import CMT_IsiZulu
CMT_IsiZulu.run("mzwa.zulu")
Run isiZulu code directly
import CMT_IsiZulu
CMT_IsiZulu.run_code('phrinta("Sawubona Mzansi!")')
Or run from the terminal
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. 🇿🇦
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmt_isizulu-1.0.3.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmt_isizulu-1.0.3.tar.gz.
File metadata
- Download URL: cmt_isizulu-1.0.3.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85c9cb03a4f6e026eb32cddf995c77c6985370a76888747f2ee4186bda5a33fe
|
|
| MD5 |
9f98fbb981ddd42ea4dfb589e873086a
|
|
| BLAKE2b-256 |
2e8af69dc8c0ee51dab124aafb0e20dd2cfaa78995c114a21d3e8e88c2fc7a3f
|
File details
Details for the file cmt_isizulu-1.0.3-py3-none-any.whl.
File metadata
- Download URL: cmt_isizulu-1.0.3-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d979c92fa381f218a05b31ecf2b56129d363cf2512fe1436e0563f6c04320dfe
|
|
| MD5 |
10df24590ca392787ba6df457b462c12
|
|
| BLAKE2b-256 |
aed6f5c59ed4b91c16c0ca55523a646e4b98eeb937dadb743d4db1b07415c36c
|