rustfuck
Currently, a Brainfuck
to C
translator written in Rust
. In the future, a Brainfuck
interpreter written
in Rust
.
Usage
Translate from Brainfuck
to C
, and compile (on Linux, using GCC
):
$ cargo run --release -- --output hello.c examples/hello.bf
$ gcc -O3 -o hello hello.c
$ ./hello
Hello World!
Run cargo run --release -- --help
for more information on parameters.
Acknowledgements & Sources
Idea and first implementation taken from Asmoaesl:
Java implementation by Daniel Harper:
License
rustfuck
is licensed under either of
- Apache License, Version 2.0, (
LICENSE-APACHE
or http://www.apache.org/licenses/LICENSE-2.0) - MIT license (
LICENSE-MIT
or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.