pocketbrain

Crates.iopocketbrain
lib.rspocketbrain
version0.1.1
created_at2025-02-16 10:27:58.229128+00
updated_at2025-02-16 10:31:12.387252+00
descriptionA fast Brainfuck interpreter
homepage
repository
max_upload_size
id1557537
size21,386
Mahad Kalam (SkyfallWasTaken)

documentation

README

PocketBrain

A fast, reliable Brainfuck interpreter written in Rust.

Installation

cargo install pocketbrain

Usage

Run a Brainfuck file:

pocketbrain path/to/your/file.bf

Examples

Here's a simple "Hello, World!" program in Brainfuck:

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.

Save this to a file and run it with PocketBrain to see the output.

Development

To build from source:

git clone https://github.com/SkyfallWasTaken/pocketbrain.git
cd pocketbrain
cargo build

Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests

License

MIT License - feel free to use this project however you'd like.

Commit count: 0

cargo fmt