Dragoteryx / brainfuck

A Brainfuck interpreter written in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brainfuck

A Brainfuck interpreter written in Rust.
I originally made this to learn the language, but am now trying to add as many features as possible.

USAGE:
    brainfuck.exe [FLAGS] [OPTIONS] <file>

ARGS:
    <file>    The Brainfuck file to run

FLAGS:
    -d, --debug           Printing the current cell prints debug information
    -h, --help            Prints help information
    -n, --no-overflows    Exit on cell overflows
    -t, --timed           Prints how long the program took to execute
    -u, --unoptimised     Disables all optimisations
    -V, --version         Prints version information
    -w, --wrap-around     Wrap around when reaching the leftmost or rightmost cell

OPTIONS:
    -c, --cell-size <cell-size>        Set the size of cells in bits [default: 8] [possible values: 8, 16, 32]
    -m, --memory-size <memory-size>    Set the number of cells in memory [default: 30000]

Installation

cargo install --git https://github.com/Dragoteryx/brainfuck

About

A Brainfuck interpreter written in Rust.


Languages

Language:Rust 100.0%