Skip to content

Implement checked frontend AST lowering in Wave and preserve the public interchange #351

Closed

Description

@LunaStev

Purpose

Port the current O0 frontend lowering and AST interchange into Wave: scalars, control flow, calls, casts, structural storage, pointer expressions and volatile access. Keep frontend-independent IR usable by non-Wave languages.

Completion criteria

  • Preserve supported AST versions (currently 2 through 5), source identity, evaluation order and target-derived layout; all output passes the Wave verifier.
  • Retain bounded inspection/expansion, transactional failure and explicit unsupported aggregate ABI behavior.
  • Lower existing frontend fixtures through Wave and validate them with the retained reference executor until batch 7 supplies the Wave VM; reuse Add a minimal typed frontend adapter for Wave scalar functions #149 for the pinned Wave typed-HIR adapter instead of creating a duplicate task.

Delivery

Batch 3/8 — Wave IR model, parsing, verification and frontend in #335. Complete preceding batches first. Exactly one DCO commit per batch and one PR for all eight batches.

Scope correction from the maintainer: targets are source contributions like kernel architectures/drivers. Adding a target may update explicit core definitions, dispatch and Meson lists. Do not introduce an SDK, generic plugin system, automatic module registration or an out-of-tree no-core-change guarantee.

Wave-owned algorithms must execute in Wave; Rust may retain file/OS/CLI/object/link bridges and explicit test/reference implementations. Do not modify the separately owned Wave checkout or take over #100. Preserve existing supported behavior and limits.

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added
    enhancement
    ir
    integration
    on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementintegrationir

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions