π© 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")