How jack-avery/voidfuck works
voidfuck is a small command-line interpreter for a Brainfuck-like language using Voidtongue commands. The workflow is: a user supplies a program file, the CLI reads and decodes it, splits it into whitespace-delimited tokens, then interprets those tokens while updating a byte tape and loop stack. The interpreter can also read a character from and print output to the terminal. These responsibilities are all implemented in src/main.rs; the README documents an included example program. The graph reflects the sampled entry point, not additional unsampled subsystems.
Main entry points: main.rs Interpreter
Components 8
Other components
- User
- Program file
- CLI entry
src/main.rs - File loading
src/main.rs - Tokenization
src/main.rs - Interpreter
src/main.rs - Tape and loops
src/main.rs - Terminal
Connections 8
- User → CLI entry: runs with path
- Program file → File loading: read from
- CLI entry → File loading: reads file
- File loading → Tokenization: passes text
- Tokenization → Interpreter: passes tokens
- Interpreter → Tape and loops: updates state
- Interpreter → Terminal: reads input
- Interpreter → Terminal: prints output