docs.rs failed to build brainfuck_macros-0.1.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
A simple procedural macro that turns a Brainfuck program into native code.
Example:
extern crate brainfuck_macros;
use io;
See tests/
and examples/
for some basic examples and the
bf_bf_interpreter
subpackage for
brainfuck interpreter written in brainfuck.
This is Cargo enabled, and so can be used
by adding a [dependencies.brainfuck_macros]
section pointing to this
git repository to your Cargo.toml. If you wish to also use
bf_bf_interpreter
, simply add [dependencies.bf_bf_interpreter]
section also pointing to this repository.
Specs
Normal brainfuck, with:
- a tape length of 30000,
- cells storing unsigned bytes (with wrapping),
- EOF indicated by returning -1, and
- out-of-bounds index steps ignored (i.e.
<
when pointing at the first cell is just ignored, and similarly for>
at the last).