Crates.io | bfcomp |
lib.rs | bfcomp |
version | 0.1.2 |
source | src |
created_at | 2019-08-14 02:04:28.58689 |
updated_at | 2019-11-23 02:11:45.430294 |
description | A compiler for BrainF*ck implemented with AWIB and bfcore |
homepage | https://github.com/adam-mcdaniel/bfcomp |
repository | https://github.com/adam-mcdaniel/bfcomp |
max_upload_size | |
id | 156644 |
size | 82,807 |
A compiler for BrainF*ck implemented with AWIB and bfcore
Install Rust
curl https://sh.rustup.rs -sSf | sh
Install bfcomp
cargo install -f bfcomp
All done!
$ 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