#brainfuck #brainfuck-compiler #implemented #awib #bfcore

bin+lib bfcomp

A compiler for BrainF*ck implemented with AWIB and bfcore

3 releases

0.1.2 Nov 23, 2019
0.1.1 Aug 14, 2019
0.1.0 Aug 14, 2019

#984 in Programming languages

GPL-3.0 license

43KB
676 lines

bfcomp

A compiler for BrainF*ck implemented with AWIB and bfcore

Installation

Install Rust

curl https://sh.rustup.rs -sSf | sh

Install bfcomp

cargo install -f bfcomp

All done!

Usage

$ bfcomp --help

bfcomp x.x.x
Adam McDaniel <adam.mcdanie17@gmail.com>
Compiles brainfuck by interpreting the AWIB brainfuck compiler with BFCORE

USAGE:
    bfcomp [OPTIONS] <INPUT_FILE> --target <TARGET>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -o, --out <OUTPUT_FILE>    Path of output file
    -t, --target <TARGET>      The target language to output source code for (c, ruby, go, tcl, java) [possible values:
                               C, Ruby, Go, Tcl, Java]

ARGS:
    <INPUT_FILE>    Path to brainfuck file to compile

Dependencies

~440KB