Architecture
InkGen’s modular architecture enables efficient FHIR code generation while maintaining extensibility for new languages and features.
Directory Overview
- overview.md - High-level system design and data flow
- concepts.md - Core concepts: IR, genealogy, profiles, extensions
- ir-design.md - Internal Representation (IR) structure and evolution
- type-system.md - Type mapping and resolution across languages
Key Principles
- Separation of Concerns: FHIR parsing, IR construction, and code generation are independent
- Extensibility: Add new language backends without modifying core
- Performance: Caching, parallel processing, and lazy evaluation where possible
- Correctness: Type safety and constraint validation throughout the pipeline
See Architecture Decision Records for design rationale on major decisions.