Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Programming in Ebonics!
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Hikaru79




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Naveg




PostPosted: Wed Mar 30, 2005 12:13 am   Post subject: (No subject)

you definitely should lol, that is too funny
md




PostPosted: Wed Mar 30, 2005 1:35 am   Post subject: (No subject)

This is hilarious Very Happy
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: