Skip to content

Define string runtime semantics #29

Description

@itsfuad

Goal

Finish string behavior beyond type layout.

Scope

  • Decide whether string literals default to string or cstr under expected type.
  • Keep string immutable and non-owning.
  • Defer owned/mutable text to a separate type if needed.
  • Avoid hidden deep clone unless explicitly chosen as language rule.

Validation

  • Typechecker/backend tests for string literal expected type.
  • Runnable smoke for passing string.

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