Interpreter for the Shrug Programming Language
Project description
ShrugProgrammingLanguage
WORK IN PROGRESS
Interpreter for the Shrug Programming Language
Shrug is a imperative, dynamically-typed, very very high-level, general-purpose programming language
Usage
Requires Python 3.6+
Install
pip install shrug-lang
Start interpreter
shruglang
Language spec
n
assignment
n 1
math operators start with ¯\_(ツ)_/¯
addition
¯\_(ツ)_/¯ n 3
subtraction
¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ 3
multiplication
¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ 4
division
¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ 4
modulus
¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ 4
comparators start with ¯\_(ツ)_/¯ ¯\_(ツ)_/¯
equality
¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n m
inequality
¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ m
greater than
¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m
greater than or equal
¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m
less than
¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m
less than or equal
¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m
conditional statements start with ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯
¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ condition
statement
Statement is indented by one more than conditional line No alternate conditions (elif/else)
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
Built Distribution
Hashes for shrug_lang-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef72fcacd91e5d592f237dcac24fbb75ef1d96e0b2298f01b7a016c59b7ada90 |
|
MD5 | 07734efd75a8f5292a0e343ce476fc9d |
|
BLAKE2b-256 | ddffe4105668a69d126128558f2694d0612d376764b201ddbc4f6be3d15981d6 |