Crates.io | anyfuck |
lib.rs | anyfuck |
version | 0.1.1 |
source | src |
created_at | 2024-05-01 20:36:20.034761 |
updated_at | 2024-05-12 15:13:47.170844 |
description | Brainfuck/Ook/Blub interpreter |
homepage | |
repository | https://github.com/0rvar/anyfuck |
max_upload_size | |
id | 1227027 |
size | 11,448 |
This command-line tool interprets scripts written in Brainfuck and a few of its variants (Ook and Blub). It allows for execution directly from a file or via standard input (stdin).
cargo install anyfuck
anyfuck program.bf
anyfuck program.ook
anyfuck program.blub
anyfuck --memory 10000000 --language ook < some_program.txt
--memory <SIZE>
: Overrides the default brainfuck engine memory size (default is 1,000,000 cells).-l, --language <LANGUAGE>
: Explicitly specify the language (Brainfuck, Ook, Blub).--path <FILE>
: Path to the input file. If not provided, the interpreter will read from stdin..bf
or .b
.ook
.blub
Contributions to improve the interpreter or add support for more variants of brainfuck-like languages are welcome. Please submit pull requests or raise issues as needed.