biir

Crates.iobiir
lib.rsbiir
version1.2.2
sourcesrc
created_at2021-05-22 20:01:23.17658
updated_at2021-07-14 02:37:26.764719
descriptionBrainfuck Interpreter In Rust
homepagehttps://gitlab.com/MaksRawski/biir
repositoryhttps://gitlab.com/MaksRawski/biir
max_upload_size
id400917
size38,655
(MaksRawski)

documentation

README

BIIR - Brainfuck Interpreter In Rust

tests coverage

Installation

cargo install biir

Usage

biir filename.bf

Numerical mode

Available through -n or --numerical-mode. Prints byte values instead of their ascii representations.

Debug mode

Entered via -d or --debug-mode. Allows the usage of !TAPE to print 10 nearby (already created) cells and also prints some debug info at the end of the execution.

Notes

  • !TAPE can be put at any point in the program, but will only do anything when running in debug mode.

  • Every , (comma) will take input the same way as getchar in C. It's also possible to provide it externally using pipes, however it will exit once the whole input was consumed.

  • (note to point above) Keep in mind that by default echo passes \n as last character. This behaviour can be avoided by using its -n flag.

TODO:

  • add a cool logo
Commit count: 95

cargo fmt