How rxi/lite works
Main Components (Top Level)
a) Core Engine Layer
• Contains: Lua runtime environment and core functionality
• Components: Object system, Config system, Command system
b) UI Layer
• Contains: View system and rendering components
• Key components: RootView, DocView, CommandView, StatusView
c) Plugin System
• Shows plugin architecture and extension points
Detailed Component Breakdown
• Core API |
• Command |
• Config |
• Keymap |
• Object |
• Doc Manager |---->| Highlighter |
• v v
• Doc View | | Tokenizer |
• SDL2 |--->| RenCache |--->| Display |
Integration Points
Connections between:
• Core API and Plugin System
• Document System and Renderer
• User Configuration and Core System
Key Technical Elements to Highlight
• SDL2 Integration (show as external dependency)
• Lua Runtime Environment (show as foundation layer)
• Plugin Loading System (show as modular components)
• File System Interface (show as I/O layer)
Data Flow Indicators
• Command flow from user input to execution
• Document data flow through the system
• Plugin interaction with core systems
• Rendering pipeline flow