Skip to content
Notifications You must be signed in to change notification settings

adhyys07/ShoutLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4e8802e · · Jul 17, 2025

History

16 Commits
Jul 17, 2025
Jul 15, 2025
Jul 17, 2025
Jul 15, 2025
Jul 17, 2025

Repository files navigation

ShoutLang

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.

ShoutLang Banner

🚀 Features

  • 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

🖥️ Playground

Try ShoutLang in your browser! The playground supports all language features and provides instant output.

📦 Installation

# 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.txtt

▶️ Usage

Run the Interpreter

python -m shoutlang.cli shoutlang/program.shout

Start the Playground (Flask Web App)

cd playground
python playground.pyy

Then open http://localhost:5000 in your browser.

📝 Language Syntax & Examplesples

Set Variables

SET A = 10
SET NAME = "John"
SET FL  = 1.5
5

Math Operations

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)

Printing & Outputtput

SHOUT("Hello", A)
SHOUT(A)

Comparisons

SHOUT(A < B)      # YESSS or NOOO
SHOUT(A >= B)
SHOUT(A == B)
== B)
)

Type & Inputnput

AMPLIFY(A)
SET NAME = WHATT("WHAT IS YOUR NAME?")

Modes

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

Comments

! This is a comment

MORE THINGS TO COME SO GET EXCITED TILL THEN SHOUTTT !!!!


Made with ❤️ by adhyys07

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published