Cactusi

From Esolang
Jump to navigation Jump to search

Cactusi is an esoteric programming language created by Areallycoolusername. Instead of code being made of text or numbers, you code in this language is made by underscores (_), vertical bars (||), and equal signs.

Explanation

These symbols don't add up to codes either. Instead you use them to make drawings similar to the no-internet game on chrome. A sample program looks like:


     ||    ||  
   ==||   =||=
_____||____||____

However, this program doesn't do anything. All code has to to start with four underscores, and all code has to end with four underscores. An underscore that doesn't start or end the code is used to print something. Since underscores are used throughout the program, you can presumably create a quine. Here's a chart with commands.

Command Function
Underscore(_) Print
Equal(=) 1
Vertical bar 0

As you can see, the code is binary, vertical bars are 0 and equal signs are 1. The "cacti" in the program can only be 3 characters high. They can't be more than 3 characters long either. You would think that at maximum the cacti are in a 9 character block, but they aren't. They can only reach a 7 character block, since the cacti have to start with one (||) sign. No other symbols other than an underscore are allowed horizontally next to the starting (||) sign. The starting vertical bars don'the count towards the binary pattern you're encoding. Which means:

      ||    ||  < Only this line
    ==||   =||= < and this line are read.
______||____||____
     ^     ^
   This  & this are also read during execution.

Mechanics

Code is read from the bottom up. Code is also read from left to right.