shaiggon / brainfuck-interpreter

Simple Brainfuck interpreter implemented with Rust just by using the Wikipedia description of the language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Simple Brainfuck Interpreter in Rust

This is a toy project implementing an interpreter for the Brainfuck language in Rust. The implementation is done only by using the Wikipedia description of the language as reference.

Usage

Build the interpreter with

cargo build --release

Then use the executable to run any brainfuck program on the command line. The path to the program source is provided as the first argument to the interpreter.

target/release/brainfuck-rust brainfuck-examples/hello_world.bf

Any input read with , is read from stdin.

About

Simple Brainfuck interpreter implemented with Rust just by using the Wikipedia description of the language


Languages

Language:Rust 69.3%Language:Brainfuck 30.7%