Skip to content

Add free builtins and pipe call support #76

Description

@itsfuad

Goal

Make compiler-owned operations canonical free functions and add pipe syntax with safe argument-zero adaptation.

Delivered

  • Separate dynamic-array owners []T from reference-only slice views [..]T.
  • Add lhs |> function(args) while preserving single evaluation and ordinary direct-call rules.
  • Convert collection, string, and dynamic-array compiler operations from synthesized methods to registry-owned free functions.
  • Mutate dynamic-array owners through &mut []T operations.
  • Share indexed semantic operation discovery between dot and pipe completion.
  • Preserve compiler-call evidence from typechecking through HIR.
  • Fix borrowed-owner slice carrier loading and malformed alloc diagnostics and ownership traversal.
  • Add positive and negative source fixtures plus 32-bit and 64-bit backend regressions.

Validation

  • go test -count=1 ./...
  • go vet ./...
  • go test -race -count=1 ./internal/lsp
  • bundled compiler generation
  • affected positive and negative Peeper fixtures
  • amd64 and 386 LLVM regressions

Delivery

Merged in PR #77.

Follow-up

Auto-import operation completion remains tracked by #74 so import edits stay outside the pipe and lowering contract.

Activity

  1. added
    enhancementNew feature or request
    runtime-loweringHIR/MIR/backend runtime lowering work
    language-modelPeeper language model, ownership, pointer, optional, array/slice work
    on Aug 14, 2026
  2. moved this from Todo to In Progress in Peeper Roadmapon Aug 14, 2026
  3. itsfuad commented on Aug 14, 2026

    @itsfuad
    MemberAuthor

    Delivered by #77. Free compiler operations, pipe calls, owner and slice separation, LSP operation catalogs, backend carrier fixes, and alloc regressions are merged into main.

  4. moved this from In Progress to Done in Peeper Roadmapon Aug 14, 2026
  5. moved this from Done to In Progress in Peeper Roadmapon Aug 14, 2026
  6. moved this from In Progress to Done in Peeper Roadmapon Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlanguage-modelPeeper language model, ownership, pointer, optional, array/slice workruntime-loweringHIR/MIR/backend runtime lowering work

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions