17 releases
Uses old Rust 2015
0.4.8 | May 30, 2018 |
---|---|
0.4.7 | May 22, 2018 |
0.4.5 | Jun 3, 2017 |
0.4.2 | May 30, 2017 |
0.2.6 | May 27, 2017 |
#994 in Programming languages
155KB
3.5K
SLoC
bf-rs: Brainfuck in Rust
bf-rs
is a optimizing Brainfuck interpreter and JIT compiler
inspired by Eli Bendersky’s series on JIT compilation.
It includes a library crate bf
that exports most of the functionality,
and an executable bfi
that provides a command-line interface for executing
Brainfuck programs.
This crate supports Rust version 1.20 and later. However, by default,
installing bf
does not enable the JIT compiler, because
that requires nightly Rust. To build and install from crates.io with the JIT
enabled:
$ cargo +nightly install --features=jit bf
If you’re interested in how it works, see the documentation.
Dependencies
~1.4–2.1MB
~29K SLoC