Skip to content

Feature: Switch casing #2

Description

@Mutilar

Add support for the "switch" keyword and, implicitly, the "case" and "default" keywords. This will require attention in adjusting how the interpreter handles "break" statements and custom pointer manipulation for the conditional cases.

switch (value) {
   case "yes":
   break;
   case "no":
   break;
   default:
   break;
}

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