guh

From Esolang
Jump to navigation Jump to search
Not to be confused with duh.

guh was a joke esoteric programing language inspierd by a screenshot made in the Progresscord Development discord server

the screenshot in question

and chicken

Commands

Number of guh's Meaning
0 Start executing the next command
1 Pushes a character (or a character array) into a stack.
2 Outputs the highest value on the stack.
3 Input.
4 Makes a variable
5 Makes a loop of a code, works like this:
guhguhguhguhguh
*command, use square brackets if you need to combine more commands*
*amount of repeats*
6 Condition command, works like this:
guhguhguhguhguhguh
*variable name*
*something to check if equal*
7 Creates or edits a variable, works like this:
guhguhguhguhguhguhguh *name*|*value*
8 or higher Marked as comments

Other variants

tab

tab is a variant of guh which uses a character table. To edit it, you just do this

hi!

simple really, the character table doesn't change if you put the "execute the next command" instruction.

Also instead of pushing characters to the stack, you instead push character table indexes in "tab"

Examples

Hello World

guh

the space is represented as "_"

guh d l r o W _ o l l e H

guhguhguhguhguh
guhguh
11

tab

Helo Wrd
guh 7 2 6 3 5 4 3 2 2 1 0

guhguhguhguhguh
guhguh
11