Ger

From Esolang
(Redirected from GER)
Jump to navigation Jump to search

Ger is a stack-based esolang.

Strings in Ger start with a semicolon and a space.

Instructions

Ger has 8 instructions:

ger: Outputs the next line of code

GER: Gets input and pushes it to the stack

Ger: Outputs and pops the top value from the stack

ge_r: Branches amount of lines forward if the 2 top values of the stack are the same then pops those values

g_er: Same as g_er but goes backwards

G_er: Duplicates top of the stack

gEr: Pushes to stack what you typed on the next line of code

geR: Delay for the number of seconds typed on the next line of code

Examples

Hello World:

ger
; Hello, World!
ger
; insert_newline

Cat:

GER
Ger

Implementations