Jump to content

lol code

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
zeroradius

zeroradius

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,406 posts
They are still working on making the language but they do have some things working on it. They have a python inturpreterfor it and are working on a .net one. I would never program in this for anything inportant but maybe every now and then just to amuse myself. Heres some examples from the site (http://www.lolcode.com) If you go to the page that hold these examples you will find a much better explanation. I am only posting here so you can see them all at once.

Note: The language is structured after lol cat pictures.

Infinate Loop:


ON CATURDAY

	IM IN YR BED

		I IZ SLEEPIN!!10

		VISIBLE "Z!"

	KTHX

KTHXBYE


Loop that incroments by one until var is 10.


HAI

CAN HAS STDIO?

I HAS A VAR

IM IN YR LOOP

	UP VAR!!1

	VISIBLE VAR

	IZ VAR BIGGER THAN 10? KTHXBYE

IM OUTTA YR LOOP

KTHXBYE


plz is the equivalent of a try statement

HAI

CAN HAS STDIO?

PLZ OPEN FILE "LOLCATS.TXT"?

	AWSUM THX

		VISIBLE FILE

	O NOES

		INVISIBLE "ERROR!"

KTHXBYE



GIMMEH excepts user input. The letter N concantinates .........

HAI

CAN HAS STDIO?

I HAS A VAR

GIMMEH VAR

VISIBLE "You said " N VAR N " !!"

KTHXBYE





classic hello world in lol code

HAI

CAN HAS STDIO?

VISIBLE "HAI WORLD!"

KTHXBYE


BTW is a coment line

HAI

CAN HAS STDIO?

I HAS A VAR

GIMMEH VAR

IZ VAR BIGGER THAN 10?

	YARLY

		BTW this is true

		VISIBLE "BIG NUMBER!"

	NOWAI

		BTW this is false

		VISIBLE "LITTLE NUMBER!"

	KTHX

KTHXBYE


Posted Image

#2
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
I really like this code but dont see any good uses for it.

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
It is funny. I can haz cheeseburger?

#4
zeroradius

zeroradius

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,406 posts

BlaineSch said:

I really like this code but dont see any good uses for it.

It is getting stronger and stronger. They wrote a media player with it. Still I would not code in it, no hope of gettinga job with lol code.
Posted Image

#5
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
Hahaha, I like it :P The programming world needs some humour (bad or not)!
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#6
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I'm curious what person thought this up and then actively pursued it.

#7
Brandon W

Brandon W

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,828 posts
LOL! This is just funny, yeah it might be advanced but come on haha!
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation

Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!


#8
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
This **** is funny!