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.5.tar.gz
(7.5 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.5.tar.gz.
File metadata
- Download URL: cmt_isizulu-1.0.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
522382a763c88bca898e41cce31f3e2fdfa1924089b784216e11f4eab6272963
|
|
| MD5 |
7cc63ba09fcdd1ba4423ea235a95da2c
|
|
| BLAKE2b-256 |
0279872bfd309c2e25a12574f3b29ea1dcbdfd118d410ccd6f97ad27f299b42c
|
File details
Details for the file cmt_isizulu-1.0.5-py3-none-any.whl.
File metadata
- Download URL: cmt_isizulu-1.0.5-py3-none-any.whl
- Upload date:
- Size: 8.9 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 |
cf7e59b5e69c81c53a0c92c811673d3c7cd7a5853cde3e752a54cbf8757839d6
|
|
| MD5 |
bf4a1a477c8a29f5db08df3357eb417d
|
|
| BLAKE2b-256 |
1b056a355d520b6d1ac184c87eb6b9009b1325f445bfd446c9dc2b6166f832f2
|