Skip to content

Enums #296

Closed
Closed

Description

Context

Add support for enums, which:

  • Don't have associated value(s) yet
  • Don't have a raw value yet

In the future this feature can be extended, for example, add associated values and a raw value.

Example:

enum Color {
  case red
  case green
  case blue
}

Definition of Done

  • Add AST element
  • Parse
  • Check
  • Interpret
  • Tests
  • Documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions