Skip to content

Implement array and slice value semantics #27

Description

@itsfuad

Goal

Make [N]T and []T useful beyond type/layout support.

Scope

  • Add array literals only after syntax is locked.
  • Add indexing through parser/typechecker/HIR/MIR/backend.
  • Support element mutation through explicit pointer or mutable-container path.
  • Decide bounds behavior before backend lowering.

Validation

  • Parser/typechecker tests for literals/indexing.
  • MIR/backend lowering tests.
  • Runnable x_test smoke for read and mutation cases.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions