We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Bfk&&

From Esolang
Jump to navigation Jump to search

bfk&& is brainfuck but I removed many commands, but in order not to copy similar languages, I also added commands from myself.

Commands

Command Description
. Outputs the ASCII code equal to the number in the cell (But since the cell number cannot be changed, this instruction always outputs the NUL symbol, 0x00)
& Hello, world!
a Output english alphabet lowercase
A Output english alphabet in CAPITAL
0 Zero the cell

Interpreter

Python

for c in input():
	if c==".":print(chr(0))
	if c=="&":print("Hello, World!")
	if c=="a":print("abcdefghijklmnopqrstuvwxyz")
	if c=="A":print("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
	if c=="0":n=0

Python (2)

d={".":chr(0),"&":"Hello, World!","a":"abcdefghijklmnopqrstuvwxyz","A":"ABCDEFGHIJKLMNOPQRSTUVWXYZ"}
for c in input():
 c=="0"and(n:=0)
 c in d and print(d[c])

examples

Hello, world

&

See Also