Fear
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
- An implementation in R7RS Scheme by User:OrichalcumCosmonaut: via HTTPS or via Gemini.