Skip to content

Proposal: Enums #15

Description

@CertainLach

Simple 1<=>1 enum mapping

Makes output code much easier to use

enum("a", type: ::u8)=>{ # Incorrect code, idents can't appear in Item
     value("A") => "3",
     value("B") => "4"
}

Needs to be done:

  • allowing idents to appear in items
  • enum item

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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