̶b̶r̶a̶i̶n̶f̶uck

From Esolang
Jump to navigation Jump to search

̶b̶r̶a̶i̶n̶f̶uck AKA You can uck without a brainf is a bad esolang, but you can use it without a brainf.

Inspired by:
Brain without fuck
Fuck without brain


Examples

In UckNoBrainf:

012

Output:

Uck
No
Brainf

Interpreters

Python
raw = open("UckNoBrainf")
content = raw.read()
for i in content:
 if i == "0":
   print("Uck")
 elif i == "1":
   print("No")
 elif i == "2":
   print("Brainf")
Javascript
const fs = require("fs");
var content = fs.readFileSync("UckNoBrainf", "utf-8");
for(let i = 0; i < content.length; i++) {
  if(content[i] == "0") {
    console.log("Uck")
  } else if(content[i] == "1") {
    console.log("No")
  } else if(content[i] == "2") {
    console.log("Brainf")
  }
}