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 and chicken

the screenshot in question

Commands

Number of guh's Meaning
0 Start executing the next command
1 Pushes a character, a character array or a charecter code into a stack (charecter codes are allowed also).
2 Output the TOS and pop it.
3 Input.
4 Makes a variable
5 Makes a loop if the stack isn't empty, works like this:
guhguhguhguhguh
command or list of commands
6 Condition command, works like this:
guhguhguhguhguhguh
reg
value to compare
7 Edits a regestry, works like this:
guhguhguhguhguhguhguh reg number|value
8 Starts/Ends a comment block

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 32 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