A simpler way to use sys.argvs
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.1.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.1.0.tar.gz.
File metadata
- Download URL: minilang-1.1.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 |
3fc6b6e168a22aa96905f430445a88e6a8c1110eedac6ca3a05dd1dd56e805f3
|
|
| MD5 |
25f92f0b209dae8a4bc4820cd25b71fc
|
|
| BLAKE2b-256 |
7a4fccb76dcea52048b42d2f6c5b4ba240f918d22d35b9b3a293b5fbb03c89e2
|
File details
Details for the file minilang-1.1.0-py3-none-any.whl.
File metadata
- Download URL: minilang-1.1.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 |
69e9c9edf0545cfb01f2d20f04d8553fddd930502fbdc2010d02dab6ba2b005f
|
|
| MD5 |
293084e2724c13b54a07c1a155417123
|
|
| BLAKE2b-256 |
5a0215b7954ffdcf2fe0f802c33c850787982bde7400c15301a76e482ea87017
|