FJ

From Esolang
Jump to navigation Jump to search

FJ is a brainfuck equivalent by User:None1. Its aim is to have programs very easy to type in using a QWERTY keyboard.

Commands

Just like its name, FJ has only 2 valid symbols: f and j, it is case sensitive.

When typing a program in you computer, you just have to directly tap on the keys under your index finger, so it is easy to type.

Here is the brainfuck to FJ conversion table.

Brainfuck FJ Description
+ fff Increment the memory cell under the pointer
- ffj Decrement the memory cell under the pointer
, fjf Input a character and store it in the cell at the pointer
. fjj Output the character signified by the cell at the pointer
< jff Move the pointer to the left
> jfj Move the pointer to the right
[ jjf Jump past the matching jjj if the cell under the pointer is 0
] jjj Jump back to the matching jjf

Example Programs

Cat Program

fffjjffjffjjjjj

Hello World

ffffffffffffffffffffffffjjfjfjffffffffffffjjfjfjffffffjfjfffffffffjfjfffffffffjfjfffjffjffjffjffffjjjjjfjfffjfjfffjfjffjjfjjfjfffjjfjffjjjjffffjjjjjfjjfjfjjjfjffjffjffjfjjffffffffffffffffffffffjjfjjffffffffffjjjfjjfjfjjjffffjfjjjfffjjffffffffffjjffjffjffjffjffjffjfjjffjffjffjffjffjffjffjffjfjjjfjjfjffffjjjfjfffffffjj

Turing completeness

Since brainfuck is Turing complete, FJ is.

See also

  • Binaryfuck, a similar idea, but uses zeros and ones.
  • Lazyfuck, also made for ease to type, it also inspired me to create this language.