We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
TetoLang
Tetolang is a esolang that is a collab between User:A random guy, User:raiseafloppafan7741, and User:Dragoneater67. This esolang was made to be a rival to MikuLang, despite being different types of programming languages.
Overview
The program uses a grid of cells for memory. On the grid is Kasane Teto herself, who acts as a cell pointer. The program itself is a newline-separated list of commands. She starts out pointing at the nearest baguette. And just like Befunge, she HAS to always move in a direction. And one more thing, she just prints from right to left instead of left to right, JUST to make things confusing.
Program format
- This section is still a work in progress. It may be changed in the future.
A TetoLang program consists of two components: the initial grid layout and the instructions. The instructions are laid out with one instruction per line.
The grid is a grid, just like how the floor is the floor. Hmm, yes interesting.
Commands
| Command | Description |
|---|---|
| Sing | Makes Teto output whatever is in the cell, if there is a character or number, else, it will give you an error telling you that Teto forgot her line. |
| Improvise to (New character) | Replaces a cell with whatever character you want. You can also make it blank by making the new character be “[ ]”. |
| Mesmerize (Amount of times) | A for loop. |
| Demesmerize (Line #) | Ends a selected Mesmerize statement. |
| Perform to (Line # (Has to be a Mesmerize command ONLY.)) | Puts the value of a cell Teto’s on into the next Mesmerize command. This makes the Mesmerize command you select no longer need the number of times to loop beside it. |
| Cheer up (Line), (0/1) | Checks if a value is negative, if so, it activates a line in the program and continues off of that. (0 means it checks for 0 too, 1 mean that it doesn’t) |
| Mischief (Line) (0/1) | Same as Cheer Up but it checks if the value is positive instead. |
| Write | Puts the cell Teto is on into her memory. |
| Sit | Adds cell with whatever is in Teto’s memory. (If it is a number, else she gives a error.) |
| Get off | Subtracts cell with whatever is in Teto’s memory. (If it is a number, else she gives a error.) |
| Chud | Makes Teto stay at the cell she is on in the next line of code, making her not move to the next cell closer to the closest baguette for that line before continuing (unless there is a Chud command after the next one after the current.) |
| Bake | Allows Teto bake a baguette at a cell she’s on, the cell has to be empty or else it gives you a error telling you that Teto unable to legally bake baguettes here. |
| Redo | Go back to the start of the program. |
| Expand Teto Territory | Extend the grid in all 4 directions by 1 cell, the new cells will be initialized to baguettes. |
| Sleep | Halt the program. |
Comments are done with # which extends until the end of the line.
Examples
Hello, world! program
Grid
| ! | d | l | r | o | W | " " | o | l | l | e | H | 🥖 |
Instructions
Sing Sing Sing Sing Sing Sing Sing Sing Sing Sing Sing Sleep
Single Cell Hello, world! Program (More inefficient in the 1D part, more efficient in amount cells used.)
Grid
| ! | 🥖 |
Instructions
Sing Chud Improvise to d Chud Sing Chud Improvise to l Chud Sing Chud Improvise to r Chud Sing Chud Improvise to o Chud Sing Chud Improvise to W Chud Sing Chud Improvise to “ “ Chud Sing Chud Improvise to o Chud Sing Chud Improvise to l Chud Sing Chud Improvise to l Chud Sing Chud Improvise to e Chud Sing Chud Improvise to H Chud Sing Sleep
Hypothetical A+B proposed by PSTF
Grid
|
🎤 | 🎤 | 🥖 |
Where both 🎤’s are numbers.
Instructions:
Write Sit Chud Sing Sleep
One Time Cat
Grid
|
🎤 | 🥖 |
Instructions
Write Chud Sing Sleep
N Time Cat (A bit of a cheat for a Cat Program as it does one character at a time BUT… it works.)
Grid
|
🎤 | 🎤+ | 🥖 |
Instructions
Perform to 3 Chud Mesmerize Chud Sing Demesmerize 3 Sleep
Infinite loop
Grid
|
Instructions
Redo
