How syntax-programmer/prp-engine works
This is a modular C systems library: application code can use Forge’s entity-component-system API, Helix window management, Diopter’s rendering interfaces, and reusable core, container, allocator, and math facilities. The clearest documented runtime workflow is invoking FECS through its public API; its implementation references world and compiler internals. Helix exposes window operations backed by platform implementations. No README was provided, and many source files were not sampled, so the graph shows only relationships supported by the source index or excerpts; it does not assume a larger application flow.
Main entry points: FECS.c FECS runtime · Src World compiler · World-Internals.h World internals · Transcendental.h Transcendentals
Components 31
Forge ECS
- FECS API
Forge/FECS.h - FECS runtime
Forge/Internals/FECS.c - World internals
Forge/Internals/FECS-World/World-Internals.h - World operations
Forge/Internals/FECS-World/Src - World compiler
Forge/Internals/World-Compiler/Src - World parser
Forge/Internals/World-Compiler/Src/Parser.c
Helix Windows
- Window API
Helix/Window.h - Window operations
Helix/Internals/Window.c - Platform backends
Helix/Internals/Backends/Src
Diopter Rendering
- Rendering interface
Diopter/DiopterRHI/DRHI.c - Vulkan backend
Diopter/DiopterVulkan/Vulkan.c
Core Runtime
- Core definitions
Core/Defs.h - Platform support
Core/Platform.h - Assertions
Core/Diagnostics/Assert/Assert.h - Logging
Core/Logging/Log.h - Time utilities
Core/Time/Time.h - Threading
Core/Threading/Thread.h
Memory Containers
- Allocators
Allocators - Array containers
Containers/Arr.h - Dynamic arrays
Containers/DSArr.h - Bitmaps
Containers/Bitmap.h - String arrays
Containers/StringArr.h - Byte buffer
Containers/ByteBffr.h
Math
- Scalar math
Math/Float.h - Transcendentals
Math/Transcendental.h - 2D vectors
Math/Vector/Vec2.h - 3D vectors
Math/Vector/Vec3.h - 4D vectors
Math/Vector/Vec4.h - Matrices
Math/Matrix - Quaternions
Math/Quaternion/Quat.h
Other components
- Application code
Connections 32
- Application code → FECS API: calls
Forge/FECS.h - FECS API → FECS runtime: implemented by
Forge/Internals/FECS.c - FECS runtime → World internals: uses
Forge/Internals/FECS.c - FECS runtime → World compiler: uses
Forge/Internals/FECS.c - FECS runtime → FECS API: implements
Forge/Internals/FECS.c - FECS runtime → Logging: uses
Forge/Internals/FECS.c - World parser → World compiler: uses internals
Forge/Internals/World-Compiler/Src/Parser.c - Application code → Window API: calls
Helix/Window.h - Window operations → Window API: implements
Helix/Internals/Window.c - Window operations → Platform backends: uses
Helix/Internals/Window.c - Application code → Rendering interface: uses
- Application code → Vulkan backend: uses
- Core definitions → Platform support: includes
Core/Defs.h - Core definitions → Platform support: uses types
Core/Defs.h - FECS runtime → World internals: references
Forge/Internals/FECS.c - World internals → Bitmaps: uses
Forge/Internals/FECS-World/World-Internals.h - World internals → String arrays: uses
Forge/Internals/FECS-World/World-Internals.h - World compiler → World internals: uses internals
- World compiler → Array containers: uses
- World compiler → Byte buffer: uses
- Scalar math → Transcendentals: uses
Math/Vector/Vec2.h - 2D vectors → Scalar math: uses
Math/Vector/Vec2.h - 2D vectors → Transcendentals: uses
Math/Vector/Vec2.h - 3D vectors → Scalar math: uses
Math/Vector/Vec3.h - 3D vectors → Transcendentals: uses
Math/Vector/Vec3.h - 4D vectors → Scalar math: uses
Math/Vector/Vec4.h - 4D vectors → Transcendentals: uses
Math/Vector/Vec4.h - Matrices → 2D vectors: uses
Math/Matrix/Mat2/Mat2.h - Matrices → 3D vectors: uses
Math/Matrix/Mat3/Mat3.h - Matrices → 4D vectors: uses
Math/Matrix/Mat4/Mat4.h - Quaternions → 3D vectors: uses
Math/Quaternion/Quat.h - Quaternions → Transcendentals: uses
Math/Quaternion/Quat.h