Backlog/lib/sdl3/parser
Peterino2 c7c7440c14 Add comprehensive dependency resolution implementation plan
Plan for on-demand type resolution:
- Single-file output with dependencies appended
- Parse included headers only for missing types
- Three-phase algorithm: parse, detect, resolve
- Five components with clear interfaces and tests

Key features:
- Type reference scanner (finds all type usage)
- Defined type collector (tracks what exists)
- Include header parser (extracts #include directives)
- Selective type extractor (finds specific types)
- Main integration (wires everything together)

Advantages:
- Simple: one output file, no modules
- Fast: parse dependencies once, extract many types
- Minimal: only extract required types
- Robust: Zig handles duplicate definitions
- Testable: each component independently tested

Ready to implement with:
- Detailed code examples for each component
- Complete test strategy
- Success metrics
- 5-day rollout plan
- Risk mitigation
2026-01-22 01:46:58 -08:00
..
docs saving mocks implementation 2026-01-22 00:14:48 -08:00
src Update mock testing to use full SDL_gpu.h with proper header includes 2026-01-22 01:32:58 -08:00
test zargs initial test 2026-01-22 01:41:10 -08:00
AGENTS.md Add parser documentation and clean up planning files 2026-01-22 01:36:16 -08:00
CRITICAL_ISSUE.md zargs initial test 2026-01-22 01:41:10 -08:00
DEPENDENCY_IMPLEMENTATION_PLAN.md Add comprehensive dependency resolution implementation plan 2026-01-22 01:46:58 -08:00
DEPENDENCY_PLAN.md parser work continued 2026-01-22 01:18:04 -08:00
PARSER_OVERVIEW.md Add parser documentation and clean up planning files 2026-01-22 01:36:16 -08:00
TODO.md Add TODO.md with next implementation steps 2026-01-21 20:28:07 -08:00
build.zig parser work continued 2026-01-22 01:18:04 -08:00
build.zig.zon parser work continued 2026-01-22 01:18:04 -08:00
test_small.h parser work continued 2026-01-22 01:18:04 -08:00