| Crates.io | bf_playground |
| lib.rs | bf_playground |
| version | 1.0.0 |
| created_at | 2025-03-01 00:45:21.442843+00 |
| updated_at | 2025-03-01 00:45:21.442843+00 |
| description | A interpreter and Rust libary for brainf**k |
| homepage | |
| repository | https://github.com/ZiomekMinecraft/BF-Playground |
| max_upload_size | |
| id | 1573365 |
| size | 23,723 |
Clone the repository:
git clone https://github.com/ZiomekMinecraft/bf_playground.git
cd bf_playground
Build the project:
cargo build
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());
}
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.