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.

Fear

From Esolang
Jump to navigation Jump to search

Fear is an esoteric programming language that gives you esolangaphobia. It has six instructions: i, o, +, -, j and r.

Instructions

It has one variable. i takes input from the user and sets the variable to the first character of what they have written. If they haven't written anything then the variable is set to ' ' (a space). o prints the variable. + shifts the variable forwards to the next ASCII value. For example 'a' becomes 'b' and 'z' becomes '{'. - does the opposite. j jumps to the beginning of the program. r resets the variable to ' '.

Examples

Cat program

ioj

Caesar shift by 4

i++++oj

Shortest infinite loop

j

Hello world

++++++++++++++++++++++++++++++++++++++++o---o+++++++oo+++o

Spam console with #s

+++orj

Implementations