LOLGraphics Version 2.2


What is LOLGrapghics:

This isn't the first version of LOLGraphics, but since it's the first devlog, I think it's fitting to explain what it's all about. LOLGraphics is an esoteric programming language loosely based on LOLCODE (a meme programming language based on lolcat). An esoteric programming language is a programming language that wasn't created for practical purposes. Some reasons for creating esoteric languages are to test the the limits of programming langauge design, to prove a concept, or simply as a joke. Both LOLCode and LOLGraphics were created as jokes. LOLGraphics is NOT a copy or an expansion of LOLCode, even though it was inspired by LOLCode and borrows some of its concepts from LOLCode. It is am entirely different programming language with it's own syntax and rules. Some of the concepts in LOLGraphics, like the flag, the segments, and the subprograms were borrowed from assembler (despite the fact that they don't work exactly the same as in assembler). Also LOLGRAPHICS is not case sensitive - all the text will be capitalized before passing to the interpretor.


What new features did I add in this version:

In version 2.2 I added the else command (in LOLGraphics if and else run as commands, not as statements - you type the name of a subprogram after the if or the else and it will run this subprogram). In LOLGraphics, else runs independently from if, you can type both of them in any order you like or you can type just one. In addition, I added the ability to change the value of the flag to true or false without typing a command using PLZ ASK CEILIN CAT 2 NOD, and PLZ ASK CEILIN CAT 2 STOP NODING. While it's still possible to type conditions like 5<7, using those commands will take a lot less processing power. 

In addition, I added loops to LOLGraphics. You can type WHILE CEILIN CAT IZ NODDIN PLZ RUN <subprogram>, and it will run this subprogram in a while loop. Please remember to type a condition at the end of the subprogram. It can be used as a do while loop by changing the value of the flag to true before this command. After adding loops, it became apparent that I have to add a time to control how much time passes in between every command. Currently, it's 0.1 sec or 10 commands every second. I realize that this is quiet slow and in a future version I will add the option to toggle it using a command and also change the default value to whatever you like by typing the number of milliseconds in the first line after HAI <version>.  When the code reads this line to decide what version of LOLGraphics to run, it will also decide how much time should pass in between every 2 commands. However, this is in a future version not in 2.2.

Files

LOLGraphics 2.2.jar 205 kB
Mar 14, 2021

Get LOLGraphics

Leave a comment

Log in with itch.io to leave a comment.