| Crates.io | brvm |
| lib.rs | brvm |
| version | 0.3.1 |
| created_at | 2025-11-03 02:17:24.5672+00 |
| updated_at | 2025-11-03 02:24:42.325159+00 |
| description | Brainrot language compiler and virtual machine |
| homepage | |
| repository | https://github.com/Aspenini/BRVM |
| max_upload_size | |
| id | 1913786 |
| size | 60,310 |
A compiler and virtual machine for the Brainrot v3 programming language, written in Rust.
cargo install brvm
Or install from source:
git clone https://github.com/yourusername/brvm.git
cd brvm
cargo build --release
brvm compile input.brainrot -o output.brbc
If no output is specified, it defaults to input.brbc in the same directory.
brvm exec output.brbc
Seven global variables: aura, peak, goon, mog, npc, sigma, gyatt
FANUMTAX <cell> FR <expr> - Assign a value to a braincellSAY <expr> - Print a value with newlineONGOD <expr> ... DEADASS - If statementONGOD <expr> ... NO CAP ... DEADASS - If/else statementSKIBIDI <expr> ... RIZZUP - While loop42, 3.14"hello", "wsg WORLD!"💀 - Addition / String concatenation😭 - Subtraction😏 - Multiplication🚡 - DivisionTOUCHY() - Read input from stdinTOUCHY("prompt: ") - Print prompt and read inputLOCK IN
SAY "wsg WORLD!"
ITS OVER
LOCK IN
FANUMTAX sigma FR 0
ONGOD sigma
SAY "nonzero"
NO CAP
SAY "zero"
DEADASS
ITS OVER
LOCK IN
FANUMTAX gyatt FR 3
SKIBIDI gyatt
SAY gyatt
FANUMTAX gyatt FR gyatt 😭 1
RIZZUP
ITS OVER
Output: 3\n2\n1
LOCK IN
FANUMTAX aura FR TOUCHY("name: ")
ONGOD aura
SAY "hi " 💀 aura
NO CAP
SAY "no name provided"
DEADASS
ITS OVER
Number(0.0) → falseString("") → falseLicensed under either of
at your option.
Contributions are welcome! Please feel free to submit issues or pull requests.