top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: LOLCODE programming language
thermite
Posts: 1344
Location: Brisbane, Queensland
The first LOLCODE implemenation was a PHP parser written by Jeff Jones. The parser's website was also the first website using LOL Code as an actual web scripting language. Being open source with a BSD style license, it has been forked and used by multiple websites to implement LOLCODE scripting. The winning Pecha Kucha presentation at PHP Works 2008 was about this parser.
There is a .NET compiler for LOLCODE written by Nick Johnson, and featured in Microsoft developer training seminars, TechEd 2007 Conference (Australia).
PL/LOLCODE, a project headed by Josh Tolley, makes LOLCODE available as a server-side programming language inside PostgreSQL.
Microsoft Dynamic Language Runtime has an implementation of LOLCODE for testing purposes.
A JavaScript interpreter is also available.
You can use Google Code Search for searching for lolcode.
There is also a LOLCODE compiler included with the Parrot virtual machine as one of the languages demonstrating the use of Parrot's compiler tools.



HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE





HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
IZ VAR BIGGER THAN 10? KTHX
VISIBLE VAR
IM OUTTA YR LOOP
KTHXBYE




Full specs and interpreter: http://lolcode.com/
system
--
parabol
Posts: 5266
Location: Brisbane, Queensland
Haha.

I like Brainf*** though.
The brainf*** programming language is an esoteric programming language noted for its extreme minimalism. It is a Turing tarpit, designed to challenge and amuse programmers, and is not suitable for practical use.

,>++++++[<-------->-],[<+>-]<.

This program adds two single-digit numbers and displays the result correctly if the result also has only one digit


Thundercracker
Posts: 1976
Location: Brisbane, Queensland
almost as bad as perl
Raven
Posts: 3593
Location: Melbourne, Victoria
No. Perl looks like an explosion in an ascii factory.
Pinky
Posts: 1428
Location: Melbourne, Victoria

Haha, I like the final sentence in the Brainf*** description. Classic.

I have an argument with a bloke at work who likes to use ridiculous recurring routines and bit operations for non-standard things all the time. Why do it? It just means others can't work on your code because it's impossible to follow.
thermite
Posts: 1345
Location: Brisbane, Queensland
That's why you do it, so the company depends on you to maintain your awkward code. Their fault if they let it through like that.
nF
Forum Hero
Posts: 15892
Location: Wynnum, Queensland
the only good thing perl ever did was <=>

and i'd never ever use it
3dee
Posts: 3419
Location: Brisbane, Queensland
I just worked this out here and didn't test it but this should multiply [0] by [1] into [4] using [2] and [3] as temporary values.

+++++>+++<[>[>+>+<<-]>[>>+<<-]>[<<+>>-]<<<-]

First put 5 in [0] then 3 into [1] then while [0] is not zero, copy [1] into [2] and [3], while [2] is not zero, increment [4], while [3] is not zero, increment [1], go to [0] and decrement and start the loop again.

[2] is used to increment the final result and [3] is used to copy back to the original operand in [1]

f*** my brain hurts

last edited by 3dee at 23:09:12 01/May/09
Spook
Posts: 24893
Location: Brisbane, Queensland
perl is awesome you faghats

also, some of that mindf*** code is actually easier to read than some of the code i have to support
Fish
Posts: 2705
Location: Brisbane, Queensland
Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook. Ook? Ook! Ook! Ook? Ook! Ook. Ook! Ook! Ook? Ook? Ook.
Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.

http://www.dangermouse.net/esoteric/ook.html
Midda
Posts: 3516
Location: Brisbane, Queensland
Haha, this made me laugh:


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
Thundercracker
Posts: 1977
Location: Brisbane, Queensland
also, some of that mindf*** code is actually easier to read than some of the code i have to support


i feel your pain
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.