A Brainfuck interpreter written in TypeScript and Deno.
./brainfuck <BRAINFUCK_FILE>
You need Deno to run or compile TypeScript into an executable. If you don't have it, install it.
Then clone this repo and execute the following:
git clone https://github.com/babiabeo/deno-brainfuck
cd deno-brainfuck
deno task compile
You should see an executable brainfuck
in the current directory. To test it,
run:
./brainfuck examples/hello_world.bf
# Hello World!
Note
If you don't want to compile it, just run:
deno run --allow-read main.ts examples/hello_world.bf