Computer Science Canada

Programming in Ebonics!

Author:  Hikaru79 [ Tue Mar 29, 2005 10:51 pm ]
Post subject:  Programming in Ebonics!

Sorry, but when I saw this, it was just too hilarious to pass by Razz It's someone's final project in Compiler Construction class at Drake University. Ladies and Gentlemen, I present to you: Eubonicode!

Here are some sample programs from the site Wink Here's one for displaying the Fibonacci Sequence (NOTE: It seems the word b*itch is being censored Sad Wherever you see *****, the word is actually b*itch (without the missing i, obviously. They're using it as a semicolon Very Happy)
code:
sup
{
  gimme fibo bitch
  a be 1 bitch
  b be 1 bitch
  putou a bitch
  putou b bitch
  fibo be fibo widout 2 bitch
  slongas (fibo bepimpin 0)
    c be a an b bitch
    a be b bitch
    b be c bitch
    putou b bitch
    dissin fibo bitch
  nomo
}


And for prime numbers!
code:
sup
{
  a be 1 bitch
  slongas(a fearin 100)
    b be 2 bitch
    c be 0 bitch
    slongas(b fearin a)
      if (a videdby b time b sameas a)
        propsta c bitch
      fi
      propsta b bitch
    nomo
    if (c sameas 0)
      putou a bitch
    fi
    propsta a bitch
  nomo
}


I wanna write a textbook for this Very Happy

Author:  Naveg [ Wed Mar 30, 2005 12:13 am ]
Post subject: 

you definitely should lol, that is too funny

Author:  md [ Wed Mar 30, 2005 1:35 am ]
Post subject: 

This is hilarious Very Happy


: