Brainfuck but not really... like... a better version of it. Brainsuck
Installation
Requirements:
- Rust version 1.50 or higher
Linux
curl https://raw.githubusercontent.com/d3r1n/brainsuck/master/install.sh | bash
Windows
- Clone the repository
- cd into
bs_bin
- run
cargo build --release
- generated binary will be in
target/release
(binary name: bs_bin)
Usage:
Help
$ brainsuck [-h, --help]
Interactive Shell
$ brainsuck
Execute
$ brainsuck <INPUT FILE> [OPTIONS]
Options
- [-m, --mem-size]: Sets the program's memory size. (default: 1024)
- [-p, --ptr-loc]: Sets the program's memory pointer location. (default: 512)
- [-a, --auto]: Automatically allocates memory for the program. (default: false)
Versions History
- v3.0 [Next]
- Adding custom keywords and functions to the brainsuck
- v2.0 [Now]
- Added Interactive Shell (Main Feature)
see Usage ^
- More bug fixes
- Added Interactive Shell (Main Feature)
- v1.5 [Previous]
- Automatic Memory Allocation (Main Feature)
- New way of argument handling
- Some bug fixes
- v1.0
- Initial Verison of Brainsuck
--
Some screenshots:
Programs:
Hello, World!
Mandelbrot Set
Errors
File Not Found
Syntax Errors
Memory Overflow Errors
TODO:
- Add basic brainfuck commands.
- Add automatic memory allocation.
- Add repl
- Add lots of custom commands and features.