Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

replace enums with unions #8

Open
@soc

Description

@soc

See https://soc.me/languages/unions.

This involves

  • add keyword union
  • parse union syntax
  • add AST representation
  • implement type-checking
  • decide how to represent matching on unions in bytecode
  • implement runtime behavior
  • remove enum

Metadata

Metadata

Assignees

No one assigned

    Labels

    dora-divergewill cause substantial diversion from doralanguage-corechanges to the Core language (syntax, semantics, ...)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions