DescriptionThis project is outdated, head to the newer SmileBASIC 4 version here: https://new.smilebasicsource.com/pages/299
IMPORTANT: I have made the decision to indefinitely stop development of BF2SB for SmileBASIC 3. This means that BF2SB v2.2.2 is currently the last version that will be released for it. I made this decision because SmileBASIC 4 has released overseas, so I don't really see a reason to continue development on an outdated version of SmileBASIC. It makes it harder to release updates, as I have to make optimizations between versions. Development of BF2SB will continue on SmileBASIC 4.
This is a tool that converts brainfuck code to SmileBASIC 3 code. It features a code minifier (which allows for indentation and comments for source code) and an optimizer, as well as optimization and indentation for the converted code. Three brainfuck programs are included in this project as examples: a hello world program, a cat program (displays input), and a program that displays square numbers. The project also includes a debug program for checking the bit width.
If you want to learn more about Brainfuck, go here: https://esolangs.org/wiki/Brainfuck
Features added in v2.0 (apart from the whopping size increase from 5.1 KB to 19.0 KB!):
Brainfuck code can now be optimized (on by default).
Updated converted code optimization to support more sets of code.
Heavily improved indentation. It is now done alongside the conversion process and is a lot faster.