20 lines
507 B
Markdown
20 lines
507 B
Markdown
# Brainfuck Interpreter
|
|
This is a project I worked on for Hack Club [Arcade](https://hackclub.com/arcade).
|
|
|
|
## Usage
|
|
|
|
<!-- (On release) The interpreter can be found on [my CDN](https://haroon.hackclub.app/cdn/bf):
|
|
```sh
|
|
$ curl -LO https://haroon.hackclub.app/cdn/bf
|
|
```
|
|
|
|
Once installed, y-->You can run `bun index.ts <file>.bf` to interpret a file. As of right now, there is no binary.
|
|
|
|
## Testing
|
|
```
|
|
$ bun index.ts test.bf
|
|
```
|
|
|
|
The contents of `test.bf` is a brainfuck program that outputs Hello World.
|
|
|