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.1.tar.gz
(5.2 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.1.tar.gz.
File metadata
- Download URL: cmt_isizulu-1.0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4729e26d14c20ddee373cfd224f8482ef153ffbdb1b47c2d215e81e45af3b70f
|
|
| MD5 |
bcba7381a3472909a4492b132fc6d6a5
|
|
| BLAKE2b-256 |
45f8a36adc063bd961a69ed8712f77bed3859e2723e18f3d427f7ab2dcaa2f1e
|
File details
Details for the file cmt_isizulu-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cmt_isizulu-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.3 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 |
20ff687dd39c97d86811da61754f19a5be3cfe08bb1ddb449698cfa62748035c
|
|
| MD5 |
5c4d3a5fe38e8a647f48003925cdde45
|
|
| BLAKE2b-256 |
276f6f25ca768bd20072c183b6c0d2996e91fb3418000978c452b23521cc8b4e
|