Introduction and Environment Setup


Advertisements


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 −

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

Advertisements
E-Books Store