brainrs
is a simple and blazing fast Brainf**k interpreter
written in pure Rust.
brainrs
reads the code from the standard input, meaning you
have to pipe in the file contents. The easiest way is to use the
<
character, like seen below:
brainrs < file.bf
Another option is putting brainrs
on the recieving side of
the pipe, which may allow you to use another command to process the input
first, as seen below:
# Pass one-line script directly in the terminal echo
"+++++>+>+<<[>[>>+<<-]>[>+<<+>-]>[<+>-]<<<-]++++[>>+++++ +++++ ++<<-]>>."
| brainrs # Fetch a file from the internet and execute it curl
https://location.online/of/file.fb | brainrs