UToober

From Esolang
Jump to navigation Jump to search

UToober is a Brainfrain-like programming language created by CodyNinja1. It was designed to be like UToob tutorials (we can't use the real name for copyright issues).

Usage and Commands

List of commands
Command Brainfrain or description
LOOKATTHECARDINTHEUPPERRIGHTCORNER >
LOOKATTHECARDINTHEUPPERLEFTCORNER <
GOTOTHEDESCRIPTION .
GOTOTHEDESCRIPTIONN Outputs number as-is.
THX4WATCHING Ends the program, when not used the program will repeat indefinitely.
COMMENTDOWNBELOW ,
COMMENTDOWNBELOWN Receives input as an integer.
ADDTHISVIDEOTOYOURPLAYLIST [n] Like the + in brainfrain but adds n to the current cell and stores it in the current cell
REMOVETHISVIDEOFROMYOURPLAYLIST [n] Like the - in brainfrain but subtracts n from the current cell and stores it in the current cell
ADDLIKEALOT [n] Multiplies n by the current cell and stores it in the current cell
SUBTRACTLIKEALOT [n] Divides n by the current cell and stores it in the current cell
JUMPTOIFYOUGOT>0 [n] Jumps to line n in the code if the current cell is > 0, n begins with 1
JUMPTOIFYOUGOT<=0 [n] Jumps to line n in the code if the current cell is <= 0
JUMPTOIFYOUWANTTO [n] Jumps to line n in the code
EDITORNOTE [...] Adds a comment

Programs

The Truth-machine program
COMMENTDOWNBELOWN
JUMPTOIFYOUGOT>0 6
GOTOTHEDESCRIPTIONN
THX4WATCHING       
GOTOTHEDESCRIPTIONN
JUMPTOIFYOUWANTTO 5
EDITORNOTE This is a truth-machine program created by CodyNinja1 in 17-06-2021
Hello, World!

Created using The string to UToober tool in the github page

ADDTHISVIDEOTOYOURPLAYLIST 72
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 101
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 108
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 108
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 111
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 44
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 32
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 87
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 111
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 114
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 108
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 100
GOTOTHEDESCRIPTION
LOOKATTHECARDINTHEUPPERRIGHTCORNER
ADDTHISVIDEOTOYOURPLAYLIST 33
GOTOTHEDESCRIPTION
THX4WATCHING
EDITORNOTE This program was created using the StrToYPPL.py tool

This is a shorter version:

ADDTHISVIDEOTOYOURPLAYLIST 72
GOTOTHEDESCRIPTION
ADDTHISVIDEOTOYOURPLAYLIST 29
GOTOTHEDESCRIPTION
ADDTHISVIDEOTOYOURPLAYLIST 7
GOTOTHEDESCRIPTION
GOTOTHEDESCRIPTION
ADDTHISVIDEOTOYOURPLAYLIST 3
GOTOTHEDESCRIPTION
REMOVETHISVIDEOFROMYOURPLAYLIST 67
GOTOTHEDESCRIPTION
REMOVETHISVIDEOFROMYOURPLAYLIST 12
GOTOTHEDESCRIPTION
ADDTHISVIDEOTOYOURPLAYLIST 55
GOTOTHEDESCRIPTION
ADDTHISVIDEOTOYOURPLAYLIST 24
GOTOTHEDESCRIPTION
ADDTHISVIDEOTOYOURPLAYLIST 3
GOTOTHEDESCRIPTION
REMOVETHISVIDEOFROMYOURPLAYLIST 6
GOTOTHEDESCRIPTION
REMOVETHISVIDEOFROMYOURPLAYLIST 8
GOTOTHEDESCRIPTION
REMOVETHISVIDEOFROMYOURPLAYLIST 67
GOTOTHEDESCRIPTION
THX4WATCHING
EDITORNOTE This is the shortest possible Hello, World! program in UToober
Infinite Loop

This is the shortest possible loop in UToober:


Additional Resources

Source Code for interpreter

https://github.com/CodyNinja1/UTooberProgram/blob/main/interpretYPPL.py

VSCode extension for syntax highlighting

https://github.com/CodyNinja1/vscode-yppl-syntax