A simple way to create a mini programing language
Project description
minilang
minilang is a lightweight Python library that lets you make a simple programing language.
📦 Installation
pip install minilang
or:
pip3 install minilang
## usage
from minilang import MiniLang
lang = MiniLang()
lang.add_function("greet", lambda: print("Hello from MiniLang!"))
lang.run("""
x = 3 * 4;
print x;
greet;
""")
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
minilang-1.2.0.tar.gz
(3.0 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 minilang-1.2.0.tar.gz.
File metadata
- Download URL: minilang-1.2.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bde58792aed01144b0dd0d6457728227225618909148f86d51a94849b14732f
|
|
| MD5 |
569992192ae150cc9f144e4e7fe21038
|
|
| BLAKE2b-256 |
977055a0bb3cc08b11e5ba63bca2df6d9ceafde4f1c1bfe72959ebf9f4888e49
|
File details
Details for the file minilang-1.2.0-py3-none-any.whl.
File metadata
- Download URL: minilang-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3249acddce3656f84505175e1b6ba39429af6addf669ef23f942fc4ed36c6380
|
|
| MD5 |
b0e1fbb0b55f134ef6663e630b201235
|
|
| BLAKE2b-256 |
904484cf9e64b97eb85554e043762111d599e54c80fdb0043b49dd7294ebc375
|