How gregorytravis/tmi works
Core Language Components Layer
• State.hs (State management)
• Stream.hs (FRP functionality)
• History.hs (Time-series database functionality)
• Internal.hs (Core implementations)
Language Features Layer
• Functional/Pure Components
• Relational Database System
• Bidirectional Transformations
• Lens System
• FRP (Functional Reactive Programming) System
Interface Layer
• Main.hs as the entry point
• TIO.hs for I/O operations
• Tmi.hs as the main language interface
Use a Layered Architecture Style
• [Interface Layer]
• ↑↓
• [Language Features Layer]
• ↑↓
• [Core Components Layer]
• ↑↓
• [Time-Series Database]
Time-Series Database Integration
• How History.hs interfaces with history.db
• Demonstrate the relationship between State.hs and History.hs
Feature Integration
• How Lens.hs provides bidirectional capabilities
• Stream.hs's role in FRP implementation
• Demonstrate how Hash.hs and Key.hs support the relational aspects
System Flow
• How Main.hs orchestrates the system
• How TIO.hs handles I/O operations
• Demonstrate the relationship between Tmi.hs and other components
Level of Detail:
• The FRP system
• The lens implementation
• The relational database system
• The time-series database implementation
Remember to emphasize: