Tuesday, February 15, 2011

Klingon programming language

 Ever read code so bad that it might as well be written in Klingon? 
Well, somebody went and made a programming language in it.
I shit you not. It is documented here.

0 lI'moH A cher (* store the first two numbers as A and B *)
1 lI'moH B cher  
 
A cha' B cha' (* print the first two numbers *)
 
18 {         (* repeat 18 times *)
  A B boq      (* push the sum of A and B *)
  latlh        (* duplicate the result *)
  cha'         (* print the new number *)
  B "A" cher   (* store B in A *)
  "B" cher     (* store the new number in B *)
} vangqa'    (* end repeat *)
Don't look at me, I'm not debugging this crap.
 
  

62 comments:

  1. Oh my god LOL!
    Who needs C++ when you've got this??

    ReplyDelete
  2. Stuff people do when they have too much time!

    ReplyDelete
  3. haha that forehead of the guy in the picture

    ReplyDelete
  4. my uncle is going to LOVE this!
    can't wait to show him your blog!

    ReplyDelete
  5. Sorry, but ALL programming kind of looks like an alien language! I have such a small grasp of what it all means!

    Garage Zoku

    ReplyDelete
  6. Is there a Klingon word for loneliness? Ah yes...gardaaaak!

    ReplyDelete
  7. That's insane. It's so geeky, I love it.

    ReplyDelete
  8. If you listen to the language closely, it sounds like a bunch of coughs and spits.

    ReplyDelete
  9. You'd need a bat'leth to cut through that shit! Yes, I'm a nerd.

    ReplyDelete
  10. Haha, that is awesome! People are weird, though :D

    ReplyDelete
  11. hope to learn something about programming on university,now they all seem like Klingon to me :)
    http://fanofprimes.blogspot.com/

    ReplyDelete
  12. I wonder... could you actually make anything decent in it?

    ReplyDelete
  13. You shit me not indeeed, musta took a lot of effort

    ReplyDelete
  14. much better then java or c++ xD

    ReplyDelete
  15. some people have to much time on their hand

    ReplyDelete
  16. that is insanely brilliant and quite possibly the geekiest thing I have ever seen bravo

    ReplyDelete
  17. my brain is exploding from the nerd overload. Following

    ReplyDelete
  18. NOOOOOOOOOOOOOOOOOooo... they should teach a klingon course at all universities

    ReplyDelete
  19. is it based on pascal, looks very similar to pascal only with clingon instead of english

    ReplyDelete
  20. What is the point of this...I just don't understand. Sounds like a colossal waste of time.

    ReplyDelete
  21. wow that's incredible. how nerdy do you have to be for that lollol

    ReplyDelete
  22. Haha! I can't wait to read the rest of this while drinking my blood wine!

    ReplyDelete
  23. LOLcode. Next they will just have cats walk across the keyboard to code.

    Ima stick with python.

    ReplyDelete
  24. lol, thats just torture... we have a hell of a time debugging shit in english XD

    ReplyDelete
  25. Haa, nice and easy, can't wait for this to take off. Or not!

    ReplyDelete
  26. why should clingons need to programm? seems to me as if jesus would send post cart to his father to communicate

    ReplyDelete
  27. How is a programming language created? I never understood that.

    ReplyDelete
  28. Kind of reminds me of the Klingon Dictionary I still have around here somewhere... in my nerdier moments I need to dig that up and start learning the language again :D

    ReplyDelete
  29. You make languages with a parser generator such as Bison. I made one myself.

    ReplyDelete
  30. This is... well, it just makes me mad!

    ReplyDelete
  31. This reminds me of brainfuck which was made to purposefully be convulted. I don't really see the point to these as it takes a fair amount of time to come up with a language no one will ever use because it's not practical but hey it's unique for sure!

    ReplyDelete
  32. ahahaha, this is great.

    ReplyDelete
  33. great stuff following with interest ;)

    ReplyDelete
  34. i loved this, and i can't speak klingon nor i'm a programmer.

    i'll follow your blog

    ReplyDelete
  35. talking in code is just pure awesome

    ReplyDelete
  36. my mind has officially been blown. You know though... if you write in this for your company they can never fire you.

    ReplyDelete
  37. I wish I could get my head around all this techy stuff.

    ReplyDelete
  38. hahaha who the hell could use this xD

    ReplyDelete