eboatwright / bfrs

Brainf*ck Interpreter in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Brainf*ck Interpreter in Rust


Languages

Language:Rust 100.0%