Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/novara754/bf-rs

Brainfuck interpreter & compiler in Rust.
https://github.com/novara754/bf-rs

Last synced: 30 days ago
JSON representation

Brainfuck interpreter & compiler in Rust.

Awesome Lists containing this project

README

        

# bf

Brainfuck interpreter & compiler written in Rust.

## Usage

Using cargo:
```
$ cargo run -- sample.bf
```

Using the executable:
```
$ bf sample.bf
```

You can also add the `-c` flag to generate a native binary:
```
$ bf -c sample.bf
```

**Note:** Generating a native binary currently relies on a Rust compiler, namely `rustc`, to be in
the system path.

## Todo

* Better error handling.

## License

Licensed under the [MIT License](LICENSE.md).