Skip to content

eboatwright/bfrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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