From Esolang
Jump to navigation Jump to search

F² is an esoteric programming language made by User:AmNow. F² resembles Rubik’s cube notation.

Commands

The data is stored on a cube net.

   L##
   ###
   ###
F##U##B##D##
####*#######
############
   R##
   ###
   ###

#: Data *: Data pointer starting point

U,D,L,R will move the data pointer on a side, looping around.

U2,D2,L2,R2 will move the data pointer around the sides.

U’,D’,L’,R’ will increment by 17, decrement by 2, double, or divide by 2 respectively.

F,B,F2,B2 will input as a character, output as a character, input as a number and output as a number respectively.

F’ and B’ act as BF’s [ and ] respectively.

Programs

Spam #s

U’ U’ D’ D’ D’ D’ D’ D’ U’ D’ D’ F’ B B’
Spam #s 2x2 scramble

Computational Class

Due to the fact that F² has only 54 cells of memory, F² is not Turing Complete and is rather a Bounded-storage machine (BSM).