What is the "best" Open Source lolcode interpreter?

4k Views Asked by At

I'm interested in studying how an interpreter works, and LOLCODE makes me laugh, so: What's the best OpenSource LOLCODE interpeter? Bonus points for providing a decent REPL.

5

There are 5 best solutions below

1
On BEST ANSWER

Depends on your favorite/"best-to-understand" language - for example, here's a Java and a Perl open source interpreter.

0
On

My favorite implementation is LOLPython

So, great plus if you're a python fan. :)

And if you wanted to make changes to what's already defined, it's pretty simple. :D

0
On

Certainly without a definition of "best", there's little way to answer this question with any certainty. I'm writing an LOLCODE interpreter (http://pgfoundry.org/projects/pllolcode/) to support LOLCODE as a language for writing stored procedures in the PostgreSQL database. (Why, you ask? Because I wanted to learn how.) This interpreter is written in C, and uses Bison and Flex for parsing. These seem to be "best" choices in this case because that's what PostgreSQL itself uses. If you're more familiar with, say, Perl, the Perl-based interpreter is probably better.

1
On

While maybe not the "best" one, I think it's pretty cool that someone from DLR team actually created a LOLCode interpreter based on the DLR, with full access to the .NET Framework.

Added Link from Wayback Machine

0
On

I know it's not an interpreter, but I've used the Lolcode.net implementation, and it worked rather well for me. It follows the specifications relatively well, except for a few things (like arrays).

Also, I got it to run in Linux using Mono, if Linux compatibility is important to you.