Skip to main content

Module profile

Module profile 

Source
Expand description

Target profile definitions — capability matrices and conventions for each target language.

Structs§

TargetCapabilities
The capability matrix describing what language constructs a target supports.
TargetConventions
Stylistic and idiomatic conventions for a target language.
TargetProfile
A complete target profile combining an identifier, capability matrix, and conventions.

Enums§

AsyncModel
How a target handles asynchronous operations.
ErrorHandling
How a target language handles errors idiomatically.
GenericsModel
How a target implements generic/parametric polymorphism.
IndentStyle
Indentation style for generated code.
MemoryModel
The memory management model of a target language.
NamingConvention
The naming convention used by a target language.
NodeKindHint
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 NodeKindHint category, or None if the node is trivial (literal, arithmetic, direct call, etc.) and must never trigger AI synthesis per §17.2 (Q3).