bf_playground 1.0.0

A interpreter and Rust libary for brainf**k
Documentation
  • Coverage
  • 0%
    0 out of 16 items documented0 out of 15 items with examples
  • Size
  • Source code size: 23.23 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.46 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • theMZet/BF-Playground
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ZiomekMinecraft

Features

  • Interpret Brainf**k code
  • Use Brainf**k to print better ;)
  • Interpret BF files

Getting Started

Prerequisites

  • Rust (latest stable version recommended)

Installation

Clone the repository:

git clone https://github.com/ZiomekMinecraft/bf_playground.git
cd bf_playground

Build the project:

cargo build

Usage

To use the library in your project, add the following to your Cargo.toml:

[dependencies]
bf_playground = "1.0.0"

Then, you can use it in your code as follows:

extern crate bf_playground;

use std::io::{stdin, stdout};
use bf_playground::BFPlayground;

fn main() {
    let code = "++[>++<-]";
    let mut playground = BFPlayground::new();
    playground.execute(code, stdin(), stdout());
}

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.