Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 753 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 753 Bytes

deno-brainfuck

A Brainfuck interpreter written in TypeScript and Deno.

Usage

./brainfuck <BRAINFUCK_FILE>

Build from source

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