Skip to content

specialized enums for interpreter impl #67

@Rudxain

Description

@Rudxain

I was just reading this, and found this. And I realized it would be a good idea to replace the string-only enums by this, to avoid the generic Enum class.

We also get some benefits, such as:

  • auto(), to reduce boilerplate
  • implicit string conversion, to avoid appending .value suffix every-time

I opened this issue to remind myself to open a PR for this. So I want to be "assigned" (in the GitHub context) to this issue.

I'll implement this later. I'm busy right now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions