main.gang
1
Terminal Output
π GangLang Command Guide
axaa ok { ... }
Starts the program. Must begin with this line and end with the closing bracket.
// comment
Write comments that GangLang ignores.
woh boli x = value
Declare a variable.
x = value
Reassign a variable.
woh puchi x=?
Asks user for input through the terminal.
puppy bol "text", x
Print text or variables. Supports multiple values.
puppy bol " "
Prints a blank line.
maada soch <condition> { }
If condition block.
warna { }
Else block for failed condition.
gangu ghoom N { }
Loop N times.
maada ruk
Break out of loop early.
maada lafda "msg"
Throw custom error & stop program.