Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RFC 0001: Language Loading Model

Status

Accepted

Context

The analyzer must support multiple Tree-sitter grammars with predictable behavior and low operational complexity.

Decision

Use compile-time language crate integration with explicit language dispatch.

Alternatives considered

  1. Runtime-loaded grammars via dynamic libraries.
  2. Hybrid runtime plugin registry.

Rationale

Compile-time dispatch maximizes type safety and build determinism for MVP scope.

Consequences

  • New language support requires source-level addition and release.
  • Lower runtime complexity and fewer deployment surprises.