Friday, December 12, 2008

LOLExec: A Dynamic LOLCODE Interpreter

Well, today I released version 1.0 of LOLExec. LOLExec is an interpreter for the esoteric programming language LOLCODE. For example, here's the Hello World program:

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE


I've put it up for download here:
http://www.microngamestudios.com/lolexec.html

In the binary executable package, I've included a few sample applications along with the interpreter: for example a prime number finder and a few solutions to Project Euler problems implemented in LOLCODE. Also available is a large suite of unit tests that I wrote during the course of development. Feel free to use them as you wish.

3 comments:

Unknown said...

gimme moar code you fascist

Sc4Freak said...

Source code is now available in the 1.1 release.

Anonymous said...

I HAS COMMENT ITZ BUGREPORT (LOLZ):

Try this:

HAI 1.2

CAN HAS STDIO?

I HAS A TEST
VISIBLE "GIMMEH A NUMBR in the range 1 to 12 ::"!, GIMMEH TEST
SMALLR OF BIGGR OF 1 AN TEST AN 12
VISIBLE ":{IT} equals :{TEST}? :: " BOTH SAEM TEST AN IT

KTHXBYE

BOTH SAEM fails always in the above code.