Skip to content
/ poopy Public

πŸ’© Poopy Lang πŸ’©( Take a Big Stinky Dump here )

License

Notifications You must be signed in to change notification settings

zszazi/poopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

poopy

πŸ’© Poopy Lang πŸ’©( Take a Big Stinky Dump here ) My own Fun Programming language to Poop.

To Poop

python poopy/poopy.py

or

python poopy/poopy.py --file name.poop 
python poopy/poopy.py --file name.πŸ’©

Few Examples

@This is a comment

POOP_OUT("Poopy")
POOP_OUT("Poopy1")
POOP_OUT("Poopy2")
POOP_OUT("Poopy3")
BUCKET aa = 12
BUCKET bb = 13
BUCKET cc = aa + bb
POOP_OUT(cc)

PROC greet(name) : "Hello " + name

POOP_OUT(greet("Poopy"))

POOP_OUT_RET("sasas")

LOOP a = 4 TILL 10 STEP 2 DO POOP_OUT("Happy Birthday")

POOP_OUT("Enter a NUMBER")
BUCKET userIp = POOP_IN_INT()
POOP_OUT("Square root of number is ")
POOP_OUT(MATH_SQRT(userIp))

BUCKET myList = {1,2,3,4}
BUCKET myListUpdated = myList + 99
POOP_OUT("Below is a list")
POOP_OUT(myListUpdated)

POOP_OUT("Enter first number")
BUCKET num1 = POOP_IN_INT()

POOP_OUT("Enter second number")
BUCKET num2 = POOP_IN_INT()

PROC add(a1, a2) : a1 + a2

POOP_OUT("Addition of both numbers is")
POOP_OUT(add(num1, num2))


PROC area_of_circle(rad) : 3.14*(rad^rad)

POOP_OUT("Enter Radius of Circle")
BUCKET user_radius = POOP_IN_INT()
POOP_OUT("Area of circle is ")
POOP_OUT(area_of_circle(user_radius))
POOP_OUT("ThAnK yOu for pOOping")

About

πŸ’© Poopy Lang πŸ’©( Take a Big Stinky Dump here )

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages