The LOLCODE Grammar

There is no formal LOLCODE grammar specified on the LOLCODE website. All current implementations of the language use a grammar created by the author of the implementation, and therefore they may vary wildly in their structure.

This is an attempt to create an LALR(1) grammar LL(1) grammar, however, there may exist some ambiguities due to human interpretation of the LOLCODE specifications.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License