catLang: Custom transpiller from catLang code into Python code.
Project description
E is a solo programming language made for Python. It transpiles E to Python and can run code via .exec (string) or .exec_file (file path).
import catLang
# Execute CatLang code from a string
catLang.exc("""
for(i in 1 ... 50):
if(i%5==0):
println(i)
end;
end;
""")
# Execute a .cat source file
catLang.exec_file(r"Path\To\File.cat")
for(i in 1 ... 5):
if(i%5==0):
println(i)
end;
end; // example code
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
catlang-0.0.8.tar.gz
(2.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 catlang-0.0.8.tar.gz.
File metadata
- Download URL: catlang-0.0.8.tar.gz
- Upload date:
- Size: 2.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 |
52d536fd0d1a121d738caecf76cb0560c68223e226ec5ab8979497711da8722d
|
|
| MD5 |
611891bf2cdf92ca22c36bbe15ae0ca8
|
|
| BLAKE2b-256 |
0b3932253db981266104dc9533db563eb9a3d292b2001f280a460477c0e10187
|
File details
Details for the file catlang-0.0.8-py3-none-any.whl.
File metadata
- Download URL: catlang-0.0.8-py3-none-any.whl
- Upload date:
- Size: 2.7 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 |
b82b313679771744ed96e7de8871277a3ce4edaeacfe86f128c227e7e16507e5
|
|
| MD5 |
5fd6eac23dcf250fb7bc7e2b6d7a37f4
|
|
| BLAKE2b-256 |
fcd90bf5388d154dd9437037aebf3a2cc0178386567faf6de0c8e775620341eb
|