RFC 0003: Incremental Parsing Strategy
Status
Accepted
Context
Proposal target includes incremental responsiveness (<100ms for files under 5k LOC).
Decision
Adopt a staged approach:
- Correct baseline implementation first.
- Incremental optimization with
InputEditand changed-range narrowing behind benchmark evidence.
Alternatives considered
- Full incremental complexity from day one.
- Full reparse forever.
Rationale
Correctness-first minimizes early defect risk; benchmark-driven optimization avoids premature complexity.
Consequences
- Early versions may reparse more broadly.
- Optimization milestones are explicitly measurable.