Learn EyeFuck Syntax

EyeFuck is a Brainfuck-like esoteric programming language. Here are the main commands and how to use them.

Memory Movement

> : Move the pointer to the right
< : Move the pointer to the left
  

Memory Modification

^ : Increment the value at the current cell
v : Decrement the value at the current cell
  

Input and Output

. : Print the character of the current cell
, : Read a character from user input and store it in the current cell
  

Loops

[ : Start a loop. If current cell is 0, jump to the command after the matching ]
] : End a loop. If current cell is not 0, jump back to the matching [
  

Comments

# This is a comment
# Comments are ignored by the interpreter
  

Example Program

# This program prints "Hello"
set 01001000 # H
.
set 01100101 # e
.
set 01101100 # l
.
set 01101100 # l
.
set 01101111 # o
.
  

Additional Notes

Practice writing EyeFuck code in the Playground.