Omgrofl

Omgrofl is an esoteric programming language with keywords resembling internet slang. The language was created by Juraj Borza in 2006.

Commands

Code

Comment

lol iz 4

CREATES a variable lol with a value of 4.

wtf

Conditional statement.

iz uber

Checks an expression for being greater than another one.

iz liek

Checks an expression for being equal to another one.

nope

Negation.

rtfm

Begins a loop. All statements following and before the matching brb are repeated indefinitely.

brb

Ends a loop.

tldr

Breaks a loop.

stfw lol

Reads a value into variable lol.

rofl lol

Prints out value of lol as byte character.

noob lol

Pushes lol onto the stack.

l33t lol

POPS a value from the stack and stores it into lol.

haxor lol

Dequeues a value.

stfu

Terminates program execution.

afk x

Pauses program execution for x milliseconds.

w00t

Everything after w00t until the end of the line is treated as a comment.

lmao lol

Increments lol by one.

roflmao lol

Decrements lol by one.

Variables

Variables are required to be a variation of the word LOL, such as lol, lool, loool etc.

Implementations

An interpreter with nearly complete support for omgrofls commands exists.