- Lolcode Tutorial
- Lolcode - Home
- Introduction & Environment Setup
- Lolcode - Syntax
- Lolcode - Variables
- Lolcode - Types
- Lolcode - Operators
- Lolcode - Input/Output
- Lolcode - Statements & Flow Control
- Lolcode - Loops
- Lolcode - Functions
- Lolcode - Exception Handling
- Lolcode - Some More Examples
- Lolcode Useful Resources
- Lolcode - Quick Guide
- Lolcode - Useful Resources
- Lolcode - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Lolcode - Introduction and Environment Setup
LOLCODE is an esoteric programming language inspired by the funny things on the Internet. It is designed to test the boundaries of programming language design.
This chapter will make you familiar with setting up the local environment for LOLCODE, installing it on Windows, and executing its script online at Tutorialspoint-codingground.
Setting Up the Local Environment
The LOLCODE interpreter is written in C Language. It interprets the code written in LOLCODE language on multiple platforms. The LOLCODE interpreter is known as lci, which stands for LOLCODE Interpreter.
Please note that LOLCODE officially supports direct installation of interpreter for MAC operating Systems only. To install LOLCODE in your operating system, you need to follow the steps given below −
- Press Command+Space, and type Terminal and press enter/return key
- Run in Terminal app
- $ git clone https://github.com/justinmeza/lci.git
- $ cd lci
- $ cmake.
- $ make && make install
Installation on Windows
If you need to install LOLCODE on Windows operating system, please take these steps −
First add MinGW and Python to your environment variables path. To do this, right click on My Computer, choose Properties, then select Advanced system settings. Select Environment Variables. In this box, select the PATH variable and then click Edit.
Now, add ";C:\MinGW\bin;C:\Python32" to the end of that path.
Next, open the Command Prompt and navigate to the project directory using the "cd" command, for example.
Run the script install.py.
Executing Script Online with TutorialsPoint - codingground
To execute your scripts easily and swiftly, use the codingground platform provided by TutorialsPoint. For this, go to the following link to execute your scripts online −https://www.tutorialspoint.com/execute_lolcode_online.php