#brainfuck #interpreter #compiler #esolang

boolfuck

A simple unoptimized boolfuck interpreter which can convert brainfuck code

1 stable release

Uses old Rust 2015

1.0.1 Aug 15, 2017
0.1.0 Aug 15, 2017

#428 in Programming languages

33 downloads per month

MIT/Apache

16KB
318 lines

boolfuck

A simple boolfuck interpreter made in rust

Examples

  • "Hello, World!"
extern crate boolfuck;
use boolfuck::Boolfuck;

fn main() {
  let program = Boolfuck::new(";;;+;+;;+;+;
                              +;+;+;+;;+;;+;
                              ;;+;;+;+;;+;
                              ;;+;;+;+;;+;
                              +;;;;+;+;;+;
                              ;;+;;+;+;+;;
                              ;;;;;+;+;;
                              +;;;+;+;;;+;
                              +;;;;+;+;;+;
                              ;+;+;;+;;;+;
                              ;;+;;+;+;;+;
                              ;;+;+;;+;;+;
                              +;+;;;;+;+;;
                              ;+;+;+;");
                              
  program.run(false);
}

For a general explanation of boolfuck visit the offical website.

No runtime deps