F,u,c,k.

From Esolang
Jump to navigation Jump to search

F,u,c,k. isn't brainfuck, it is esolang, using f, u, c, and k as commands, inspired by Love

overview

F,u,c,k, uses f, u, c, k as commands. They are using for:

f output "Hello, world!" if accumulator==0. If accumulator!=0 it outputs "FUCK"
u Increment the accumulator
c Decrement the accumulator
k Output the accumulator as number if it 255, 127, 0-9, 11-31, 128-159, or output as ASCII character if other

Interpreter

This section is still a work in progress. It may be changed in the future.

plzz someone, make an interpreter for our esolang

Here is my one-liner interpreter in Python. RikoMamaBala (talk)

x={'f':"if a==0:print('Hello, World!')\nelse:print('FUCK')",'u':"a+=1",'c':"a-=1",'k':"print(a if a in[255,127]+list(range(10))+list(range(11,31))+list(range(128,159))else chr(a))"};a=0;exec('\n'.join(x[i]for i in input()))

Examples

Hello, World!

f

XKCD Random Number

uuuuk

all commands in order

fuck