How mrxsin/bbc works
BBC is a Brainfuck-written compiler that accepts Brainfuck source and can check it, emit BFX, inspect BFX, or compile native Windows x86-64 and Android ARM64 programs. The documented compile workflow filters and optimizes source, creates BFX, then uses the embedded XAX importer and driver to verify, lower, and package the target executable. README documentation also describes optimization levels and checked tape behavior. Source excerpts were unavailable, so relationships below are supported by the README; internal XAX implementation boundaries are represented only at the documented level.
Main entry points: compiler XAX driver · fold.bf Code folding · compiler.bf Source filtering · stream_chunks.bf Stream processing
Components 17
Brainfuck front end
- Source filtering
compiler/compiler.bf - Code folding
compiler/fold.bf - Stream processing
compiler/stream_chunks.bf - BFX record
XAX compilation
- XAX importer
compiler - Verified graph
compiler - XAX driver
compiler - Graph verification
compiler - Target lowering
compiler - Executable packaging
compiler
Compiler interface
- Source check
compiler/compiler.bf - BFX emission
compiler/compiler.bf - BFX info
compiler/compiler.bf
Other components
- Compiler user
- Brainfuck source
- Windows executable
- Android executable
Connections 20
- Compiler user → Brainfuck source: provides
README.md - Brainfuck source → Source filtering: filters
README.md - Source filtering → Code folding: optimizes
README.md - Code folding → BFX record: emits
README.md - Compiler user → Source check: requests
README.md - Source check → Brainfuck source: checks
README.md - Compiler user → BFX emission: requests
README.md - BFX emission → BFX record: emits
README.md - Compiler user → BFX info: requests
README.md - BFX info → BFX record: inspects
README.md - Compiler user → XAX driver: compiles
README.md - XAX driver → XAX importer: invokes
README.md - XAX importer → BFX record: imports
README.md - XAX importer → Verified graph: creates
README.md - XAX driver → Graph verification: verifies
README.md - XAX driver → Target lowering: lowers
README.md - XAX driver → Executable packaging: packages
README.md - Executable packaging → Windows executable: produces
README.md - Executable packaging → Android executable: produces
README.md - Code folding → Stream processing: supports