/brainheck

Rust brainfuck interpreter / optimizer (just a lil bit)

Primary LanguageRust

Introduction

A brainfuck interpreter made to practice programming lol It's a little bit optimized, combines trailing +'s and -'s as well as .

What is brainfuck?

Brainfuck is an esoteric programming language with only 8 instructions.

Example program:

+[-[<<[+[--->]-[<<<]]]>>>-]>-.---.>..>.<<<<-.<+.>>>>>.>.<<.<-.

Output:

hello world

Source

Usage

cargo run <file> --release

--release for the big speed™