Rust cratesGenerated
The workspace’s 23 crates by layer. The core depends on the core alone, a backend on the core alone, and only the interface layer on everything; crates/interface/entelechy/tests/layers.rs holds it.
| crate | Brief | Lines of code |
|---|---|---|
entelechy-host |
Entelechy Host Core: primitive resources with explicit ownership and budgets | 2,691 |
entelechy-abi |
Entelechy Capability ABI: the world a Kernel is allowed to see | 1,703 |
entelechy-ir |
Entelechy IR: typed, SSA-like, backend-neutral Kernel representation | 9,437 |
entelechy-rules |
The rules of Kernel execution every backend keeps: invocations, addresses, combines, the matrix formulas, the rasterizer’s contract | 2,699 |
entelechy-kernel |
Entelechy Kernel Runtime: prepare, publish, execute, and atomically replace Kernel versions | 2,986 |
entelechy-graph |
Entelechy Graph Runtime: composes Kernels by KernelID with cached, dirty-tracked evaluation | 8,206 |
Frontend
Section titled “Frontend”| crate | Brief | Lines of code |
|---|---|---|
entelechy-language |
Minimal.ent Kernel language frontend: lexer, parser, AST | 6,722 |
entelechy-compiler |
Compiles.ent sources into validated Entelechy IR | 6,599 |
entelechy-scene |
Entelechy scene documents:.esn lowered into the Graph model, sub-graphs flattened, inline Kernels handed to the loader | 4,349 |
Backends
Section titled “Backends”| crate | Brief | Lines of code |
|---|---|---|
entelechy-cpu |
CPU backend: executes validated Entelechy IR through the Capability ABI | 4,684 |
entelechy-jit |
JIT backend: compiles Entelechy IR to native code through Cranelift, or to WebAssembly where Entelechy is WebAssembly, and runs it on the CPU | 7,787 |
entelechy-gpu |
GPU backend: emits WGSL from Entelechy IR and runs it as compute dispatches through wgpu | 11,731 |
entelechy-conformance |
The conformance matrix: every language feature under every execution mode, as Kernels with their inputs, for the backends’ parity tests | 2,316 |
Interface
Section titled “Interface”| crate | Brief | Lines of code |
|---|---|---|
entelechy-documents |
Entelechy documents: the scene and libraries a session runs, the Kernels they publish, the Graph they lower to, and the files they read and write | 11,358 |
entelechy-session |
Entelechy session: a live scene over the runtimes, which every interface drives | 10,489 |
entelechy-protocol |
Entelechy creation protocol: JSON lines, over stdin or a WebSocket, that drive a live session | 4,893 |
entelechy |
Entelechy command line: check Kernels, run and watch Graph scenes | 3,082 |
entelechy-player |
Entelechy Player: a window that shows a live Graph scene and hot-reloads its Kernels | 1,607 |
entelechy-ffi |
C ABI host: a session as a library any program loads in its own process, the Fields read in place | 1,638 |
entelechy-formats |
Entelechy file formats: PNG, PPM, WAV and base64, decoded to and encoded from Host Fields | 4,982 |
entelechy-import |
The importer: brings models and sounds in as the Host’s files, from outside the runtime | 3,016 |
entelechy-export |
The exporter: writes the Host’s files as formats other software opens, from outside the runtime | 2,328 |
xtask |
The repository’s own tasks: cargo xtask verify, the verification PROCESS.md describes |
1,175 |

