ifeuille / brainfuck

Brainfuck is an esoteric programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brainfuck

Brainfuck is an esoteric programming language created in 1993 by Urban Müller, and notable for its extreme minimalism. The language consists of only eight simple commands and an instruction pointer. While it is fully Turing complete, it is not intended for practical use, but to challenge and amuse programmers. Brainfuck simply requires one to break commands into microscopic steps.

The language's name is a reference to the slang term brainfuck, which refers to things so complicated or unusual that they exceed the limits of one's understanding.

This project provides three ways to execute BF code:

  • Raw interpreter without any trick
  • Optimized IR
  • JIT(x64 only)

Raw interpreter without any trick

$ cargo run --release --bin brainfuck_interpreter ./res/mandelbrot.bf

img

Optimized IR

$ cargo run --release --bin brainfuck_ir ./res/mandelbrot.bf

img

JIT

$ cargo run --release --bin brainfuck_jit ./res/mandelbrot.bf

img

Licences

MIT

About

Brainfuck is an esoteric programming language.

License:MIT License


Languages

Language:Brainfuck 56.1%Language:Rust 43.9%