Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minilang-1.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for minilang-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3fc6b6e168a22aa96905f430445a88e6a8c1110eedac6ca3a05dd1dd56e805f3
MD5 25f92f0b209dae8a4bc4820cd25b71fc
BLAKE2b-256 7a4fccb76dcea52048b42d2f6c5b4ba240f918d22d35b9b3a293b5fbb03c89e2

See more details on using hashes here.

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

Hashes for minilang-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69e9c9edf0545cfb01f2d20f04d8553fddd930502fbdc2010d02dab6ba2b005f
MD5 293084e2724c13b54a07c1a155417123
BLAKE2b-256 5a0215b7954ffdcf2fe0f802c33c850787982bde7400c15301a76e482ea87017

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page