Expand description
Target profile definitions — capability matrices and conventions for each target language.
Structs§
- Target
Capabilities - The capability matrix describing what language constructs a target supports.
- Target
Conventions - Stylistic and idiomatic conventions for a target language.
- Target
Profile - A complete target profile combining an identifier, capability matrix, and conventions.
Enums§
- Async
Model - How a target handles asynchronous operations.
- Error
Handling - How a target language handles errors idiomatically.
- Generics
Model - How a target implements generic/parametric polymorphism.
- Indent
Style - Indentation style for generated code.
- Memory
Model - The memory management model of a target language.
- Naming
Convention - The naming convention used by a target language.
- Node
Kind Hint - AIR node categories a target profile may flag as needing AI synthesis.
- Support
- How well a target supports a particular language construct.
Functions§
- classify_
node - Classifies an AIR node into a
NodeKindHintcategory, orNoneif the node is trivial (literal, arithmetic, direct call, etc.) and must never trigger AI synthesis per §17.2 (Q3).