TypeOver
An absolutely nightmarish superset of
Rollover
What is Rollover?
Rollover is an esoteric programming language created by
Scratch_Fakemon. It works by having an array of 256 cells represented with the values 0-255.
Each cell can go between 0-255 too, and once you increment it above 255, it rolls over to 0, giving Rollover its name.
Rollover uses the following commands in its syntax:
- n - moves to the next cell
- i - increments the current cell's value
- c[] - loops the code inside the brackets until the value of the cell equals the cell's index
- p - prints the current cell's value as a number
- a - prints the current cell's value as an ASCII character
- u - prints the current cell's value as a UTF-8 character
(yes I yoinked this stuff from the Rollover page but I tried to mix it up)
What does TypeOver add?
TypeOver adds the following new features:
- When incrementing a cell's value, if the value is considered unlucky in Chinese culture, the interpreter throws an error.
- The interpreter now throws random errors for absolutely no reason, just to annoy you :)
- The interpreter now has an attitude
- Errors are shown after the program finishes running
- There is now an arbitrary 0.1 second pause between the execution of each individual instruction
- It's written in Python because I don't know JS
Try it out!