Skip to content

Implement shared Wave assembler utilities and neutral assembly output #356

Closed

Description

@LunaStev

Purpose

Place reusable source spans, checked expression/string helpers, limits and section/symbol/relocation output in shared Wave assembler sources. Each ISA owns its grammar, parser, operands and encoder in separate files. Helpers are ordinary internal source modules.

Completion criteria

  • Preserve UTF-8 spans, lines, expression overflow, escapes, sparse BSS and cumulative input/output/work ceilings.
  • Shared output supports the existing architecture relocation namespaces without AMD64 operand assumptions.
  • Test malformed directives, duplicate declarations, bounded buffers and transactional failure through actual Wave calls. No public module SDK is needed.

Delivery

Batch 5/8 — Wave shared assembler utilities and AMD64 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
    assembler
    integration
    on Oct 22, 2026
  3. changed the title [-]Implement optional Wave assembler utilities and a target-neutral output contract[/-] [+]Implement shared Wave assembler utilities and neutral assembly output[/+] 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

assemblerenhancementintegration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions