MCPcopy Index your code
hub / github.com/calebwin/emu

github.com/calebwin/emu @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
297 symbols 643 edges 87 files 104 documented · 35%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

CompileToSpirv (Interface)
The trait to implement when adding support for a new source language (e.g. - HLSL, XLA, Swift SIL, etc.). This trait is [3 …
emu_core/src/compile.rs
IntoDeviceBoxed (Interface)
A trait for creating a `DeviceBox ` by consuming an object `T` It is implemented for all `T` that is sized as well as [2 …
emu_core/src/boxed.rs
AsDeviceBoxed (Interface)
A trait for creating a `DeviceBox ` from a reference to an object `T` It is implemented for all `T` (even unsized) wh [1 …
emu_core/src/boxed.rs
Cache (Interface)
A trait to implement to create your own cache The [`compile`](../compile/fn.compile.html) function is generic over a `C [1 …
emu_core/src/cache.rs
GlslStruct (Interface)
TODO in the future, generalize this to other types, not just struct A trait for structures that can exist in both Rust a
emu_core/src/compile.rs

Core symbols most depended-on inside this repo

hasClass
called by 66
docs/doc/storage.js
addClass
called by 42
docs/doc/storage.js
onEachLazy
called by 39
docs/doc/storage.js
to_string
called by 32
emu_macro/src/generator.rs
removeClass
called by 30
docs/doc/storage.js
into
called by 28
emu_core/src/device.rs
getCurrentValue
called by 14
docs/doc/storage.js
block
called by 14
docs/doc/main.js

Shape

Function 170
Method 81
Class 34
Enum 7
Interface 5

Languages

Rust65%
TypeScript35%

Modules by API surface

docs/doc/main.js82 symbols
emu_core/src/device.rs35 symbols
emu_core/src/compile_impls.rs19 symbols
emu_core/src/compile.rs17 symbols
emu_core/src/boxed.rs15 symbols
emu_macro/src/passing.rs11 symbols
emu_core/src/pool.rs10 symbols
emu_core/src/error.rs10 symbols
docs/doc/storage.js10 symbols
emu_tests/src/lib.rs7 symbols
emu_core/src/cache.rs7 symbols
emu_macro/src/generator.rs6 symbols

For agents

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

⬇ download graph artifact