lci - a LOLCODE interpreter written in C

About lci

lci is a LOLCODE interpreter written in C and is designed to be correct, portable, fast, and precisely documented:

  • correct: lci has been tested to conform to the LOLCODE Specification 1.2 (and the Updated LOLCODE Specification 1.3 Proposal in the latest development release). Comprehensive unit tests come packaged with the lci source code.
  • portable: lci complies with the widely-ported ANSI C specification, allowing it to compile on a broad range of systems.
  • fast: Much effort has gone into producing efficient code whenever possible to the extent that the above points are not compromised.
  • precisely documented: lci uses Doxygen to generate literate code documentation, browsable on this site.

The latest development release supports BUKKITs (i.e., arrays) which allows for some fun new programs, such as this BF interpreter written entirely in LOLCODE.

Download lci

The latest stable lci release is
v0.9.2
zip Download
zip
The latest developement lci release is
v0.10.1
zip Download
zip

Quick Example

Simple Program

BTW hai.lol
CAN HAS STDIO?
HAI 1.2
    VISIBLE "HAI, WORLD!!!1!~"
KTHXBYE

Install and Interpret

$ tar -xf justinmeza-lci.tar.gz
(extracts files)
$ cd justinmeza-lci
$ cmake .
$ make && make test && make install
(if no errors, we're good to go)
$ lci hai.lol
HAI, WORLD!!!1!~


Get Involved!

Mailing List

Let us know what you think of lci on the mailing list. (Developers: check out lci-devel.)

Forum / Chat

Talk about the language on the forum or IRC channel: #lolcode on freenode.

Bugs

Before filing a bug, post your problem on the mailing list—you may get a faster fix. Else, feel free to file a bug report on the project page.


Want to learn the language? Check out the LOLCODE homepage!