Skip to content

A collection of tools for Brainfuck and derivatives

License

Notifications You must be signed in to change notification settings

TrapperHell/BrainTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrainTools

What is it?

An utility for working with Brainfuck and related languages. It can encode and decode programs in various formats.

What works?

EVERYTHING! You can run Brainfuck programs and encode/decode Brainfuck code using Brainloller and Braincopter. Plus, given that Brainloller produces very small images, the utility features an image resizer.

Usage

bftools <operation> <args>

This utility saves images in PNG format, so watch your extensions. This utility reads images in all formats supported by the .NET framework.

Note: By default, this utility outputs to stdout. Piping is supported!

Note: The - character stands for stdin.

Encoding

bftools encode brainfuck   <file | -> [--output <output file>]
bftools encode brainloller <file | -> --width <width> [--output <output image>]
bftools encode braincopter <file | -> --original <original image> [--output <output image>]

Decoding

bftools decode brainloller <image | -> [--output <output image>]
bftools decode braincopter <image | -> [--output <output image>]

Running

bftools run <program | ->

Image operations

bftools enlarge <image | -> <factor> [--output <output image>]
bftools reduce  <image | -> <factor> [--output <output image>]

Getting help

bftools help

Further reading

About

A collection of tools for Brainfuck and derivatives

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%