Crates.io | brainfork |
lib.rs | brainfork |
version | 0.1.2 |
source | src |
created_at | 2024-07-30 09:28:37.690624 |
updated_at | 2024-07-30 23:26:45.055986 |
description | A compiler for Brainfuck written in Rust |
homepage | https://github.com/Aityz/Brainfork |
repository | https://github.com/Aityz/Brainfork |
max_upload_size | |
id | 1319595 |
size | 11,747 |
Brainfork is a compiler that compiles Brainfuck into Rust for better performance. That Rust is then compiled into LLVM IR, and finally Assembly. This ensures maximum performance for our programs.
brainfork program.bf
to compile it into a binary.Just install Brainfork with cargo install --locked brainfork
. This will work on every platform. Otherwise you can compile from source by cloning this repository, and running cargo build --release
.
Brainfork requires a Rust compiler to be used, as it compiles the Brainfuck into Rust. Ensure you have a Rust compiler installed, otherwise get one from here.