<html>
<head>
<title>LOL Code Power</title>
</head>
<body>
HAI
MUST HAS STDIO
VISIBLE "<!-- Copyright 2007 Jeff Jones, www.tetraboy.com -->\n"
VISIBLE "HAI WORLD!"
VISIBLE "<h1><a href=\"http://www.tetraboy.com/lolcode/lolcode-0_2.zip\">LOL Code PHP parser ZIP!!</a></h1>"
VISIBLE "<h2><a href=\"index.lols\">index.lol source code!!</a></h2>"
VISIBLE "<h3><a href=\"lol_core.phps\">LOL PHP CODE PARSER</a></h3>"
VISIBLE "<p style=\"font-size:1.1em;background-color:#FFFDD0;\">What's this about? <a href=\"http://www.lolcode.com/\">LOL Code</a>.<br />This page is actually scripted using LOL code and is using a database. You can see the LOL source of this page, and the PHP parser source linked above. Below is a demo of the parser's features. View the LOL code for usage.<br /><b>There is now a .zip you can use to code website in LOL code!!</b></p>"
I HAS COLOR1
I HAS COLOR2 IZ GREEN
COLOR1 IZ RED
VISIBLE "<h2>LOL CODE IS THE COOL</h2><h3>Colors</h3><ul><li>&COLOR1&</li><li>&COLOR2&</li></ul>"
BTW THIS IS A COMMENT
BTW THIS FUNC IS NAMED UPPING
SO IM LIKE UPPING WITH VAR VAR2=0
    VAR UPUP!
    I FOUND MAH VAR
KTHX
VISIBLE "FOUR UP? ITZA ".UPPING(4)
IVAR IZ 1
IVAR UPUP!
IVAR UPUP!
IZ &IVAR& == 1
    BTW IF
    VISIBLE "YEAH RLY"
ORLY &IVAR& == 2
    BTW ELSEIF
    VISIBLE "ORLY"
NOWAI
    BTW ELSE
    VISIBLE "NOWAI"
KTHX
ALWAYZ SKY IZ BLUE
VISIBLE __SKY__
NEWVAR IZ UPPING(3)
VISIBLE "<br />What is 2+2?<br />&NEWVAR&"
ARRAY IZ BUCKET
    0 FISH "zero" !!
    1 FISH "one" !!
    two FISH "two" !!
    three FISH IZ BAG
        !! FISH "three" !!
    BAG
BUCKET
BTW!
array (0=>'zero',1=>'one','two'=>'two','three'=>array('three'))
!BTW
VISIBLE "How many fish in bag three?<br/>"
VISIBLE &ARRAY#three,0&
THEVAR IZ GOLD
VARNAME IZ THEVAR
VISIBLE &&VARNAME&&
CAN HAS SQL?
DBASE IZ GETDB('lolz')
FUNNAHS IZ DBUCKET(&DBASE&,"CAN I PLZ GET joke ALL UP IN funnahs")
IM IN UR FUNNAHS ITZA JOKE
    VISIBLE "<P>".NL2BR(&JOKE#joke&)."</P>"
KTHX
VISIBLE "<h4>Hosted by <a href=\"http://www.an22.com/\">AN22 Hosting</a></h2>"
KTHXBYE
<body>
</html>