MCPcopy Index your code
hub / github.com/Wilfred/bfc

github.com/Wilfred/bfc @1.12.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.12.0 ↗ · + Follow
294 symbols 697 edges 13 files 43 documented · 15% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

An optimising compiler for brainfuck

Crate version codecov

bfc is an industrial grade compiler for brainfuck. It can:

  • compile (and cross-compile) BF programs to executables
  • optimise runtime speed
  • optimise runtime memory usage
  • optimise executable size
  • show syntax errors with highlighting of the offending source code
  • show warnings with highlighting of the offending source code

To learn more: http://bfc.wilfred.me.uk

Extension points exported contracts — how you extend this code

MapLoopsExt (Interface)
Defines a method on iterators to map a function over all loop bodies. [1 implementers]
src/peephole.rs
Combine (Interface)
(no doc) [1 implementers]
src/bfir.rs

Core symbols most depended-on inside this repo

parse
called by 57
src/bfir.rs
new_string_ptr
called by 40
src/llvm.rs
execute
called by 26
src/execution.rs
position_at_end
called by 20
src/llvm.rs
max_steps
called by 17
src/execution.rs
compile_to_module
called by 14
src/llvm.rs
transform_is_sound
called by 13
src/peephole.rs
int32_type
called by 12
src/llvm.rs

Shape

Function 255
Method 21
Class 13
Enum 3
Interface 2

Languages

Rust95%
TypeScript5%

Modules by API surface

src/peephole.rs134 symbols
src/llvm.rs44 symbols
src/execution.rs34 symbols
src/bfir.rs24 symbols
src/bounds.rs21 symbols
src/llvm_tests.rs13 symbols
website/pages/en/index.js11 symbols
src/main.rs8 symbols
website/core/Footer.js2 symbols
website/pages/en/users.js1 symbols
src/shell.rs1 symbols
src/diagnostics.rs1 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add bfc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact