A fun, expressive, and beginner-friendly programming language inspired by shouting(rage !!) This project includes a custom interpreter and a web playground for experimenting with ShoutLang code.
- Simple variable assignment and arithmetic
- Print/output with
SHOUT() - Type checking with
AMPLIFY() - User input with
WHATT - Math operations:
ADD,SUB,MUL,DIV,DIVF,MOD - Comparison operations with YESSS/NOOO output
- Modes: ANGRY, CALM, CHAOS, NORMAL
- Comments with
! - Web playground for instant feedback
Try ShoutLang in your browser! The playground supports all language features and provides instant output.
# Clone the repo
https://github.com/adhyys07/ShoutLang.git
cd ShoutLang
# (Optional) Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r playground/requirements.txttpython -m shoutlang.cli shoutlang/program.shoutcd playground
python playground.pyyThen open http://localhost:5000 in your browser.
SET A = 10
SET NAME = "John"
SET FL = 1.5
5
ADD A 3 ! A becomes 13
SUB B 2 ! B becomes 3
MUL A B ! A becomes 39 (13*3)
DIV B 2 ! B becomes 1.5
SET C = ADD A 7 ! C is 46 (39+7)
SET D = MUL A B ! D is 58.5 (39*1.5)
1.5)
SHOUT("Hello", A)
SHOUT(A)
SHOUT(A < B) # YESSS or NOOO
SHOUT(A >= B)
SHOUT(A == B)
== B)
)
AMPLIFY(A)
SET NAME = WHATT("WHAT IS YOUR NAME?")
MODE ANGRY # Only uppercase code is accepted
MODE CALM # Only lowercase code is accepted
MODE CHAOS # All math operations have double effect
MODE NORMAL # Regular behavior
or
! This is a comment
Made with ❤️ by adhyys07