Skip to main content

Module source_map

Module source_map 

Source
Expand description

Source mapping — WASM function index → PEPL source location.

Each entry maps a compiled WASM function to its originating PEPL source span (line, column). This enables the host to resolve WASM traps back to human-readable source positions.

Granularity is per-function in Phase 0. Future phases may add instruction-level mappings.

Structs§

SourceMap
A complete source map for a compiled PEPL module.
SourceMapEntry
A single source map entry: one WASM function → one PEPL source region.

Enums§

FuncKind
Classification of a compiled function for the host.