The MilkShake Programming Language.
Project description
The MilkShake Programming Language
Dedicated to the biggest MilkShake lover Igor ❤️
Installation
pip install milkshakelang
Usage
MilkShakeLang commands:
- give [owner] [size] milkshake
- drink [owner] milkshake [ounces]
- refill [owner] milkshake [ounces]
Available MilkShake sizes:
- demi - 3 ounces
- short - 8 ounces
- tall - 12 ounces
- grande - 16 ounces
- venti - 24 ounces
- trenta - 30 ounces
Write MilkShakeLang script:
give Igor venti milkshake
# Igor got Venti MilkShake (24 ounces)
give Dani grande milkshake
# Dani got Grande MilkShake (16 ounces)
drink Igor milkshake 16
# Igor:
# - Drank 16 ounces - so delicious!
drink Igor milkshake 16
# Igor:
# - Drank 8 ounces and finished my milkshake...
# - I want more!
drink Igor milkshake 16
# Igor:
# - There is nothing to drink...
# - Need more milkshake!
drink Dani milkshake 16
# Dani:
# - Drank 16 ounces and finished my milkshake...
# - I want more!
refill Dani milkshake 16
# Dani:
# - Incredible, full cup of milkshake!
refill Igor milkshake 16
# Igor:
# - Wow, 16 ounces of new milkshake!
refill Igor milkshake 16
# MilkShakeOverflowError: Milkshake was spilled on the floor!
Run the script:
milkshakelang script.milkshake
Requirements
Python >= 3.7
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
milkshakelang-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file milkshakelang-0.1.0.tar.gz
.
File metadata
- Download URL: milkshakelang-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e727133df4d2bfeecbe01c9c272b5560a20bf8a4fc5efdbf37fb7839a0c1b45 |
|
MD5 | 2bd929f71977927e4411bc586fbe52a9 |
|
BLAKE2b-256 | c7da399423b12181eb63787d41b575f2427459e83a77e753e2daffbd3250f099 |
File details
Details for the file milkshakelang-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: milkshakelang-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517da56f7679f29fdd47e1f60c244b68eb162ff89a2a58a656322ad777951d39 |
|
MD5 | 3d6bf2084c65145ba233d2877081f877 |
|
BLAKE2b-256 | f7575b6e258e524135a1ae8b0dd0fb3f3f50e57ca508f1550b0380eaf666940b |