Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 804 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 804 Bytes

BF.rs

Brainf*ck Interpreter in Rust
Inspired by Lucrecious' interpreter in Crystal

If you use this code verbatim or as a reference, please credit me!

The Official Brainf*ck Website

Usage

Print out the current version:

./bfrs --version


Run a file:

./bfrs your_file_here.bf


BF.rs also has 2 custom instructions useful for debugging:

: Prints out the raw value at the current memory index
# Prints out all memory to the terminal

To enable them, just add --ci to the end of your run command

Helpful Sources

Brainf*ck Wiki Page | Basics of Brainf*ck