Repository
Current version released
4 years ago
FuckBrain
Another BrainFuck interpreter written in JavaScript for Deno.
Usage
import { Interpreter } from "https://deno.land/x/fuckbrain/mod.ts";
const code = `++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.`;
const debug = false;
const onInput = () => "R";
const interpreter = new Interpreter(onInput, debug);
await interpreter.execute(code);
console.log(interpreter.outputs.join("")); //Hello World!I also added CLI file (index.ts), you could check the usage with deno run https://deno.land/x/fuckbrain/index.ts.
BrainFuck Example
License
Author
Discord: Sx | Stupid#9524 GitHub: NekoMaru76