Skip to content

Feature: Switch casing #2

@Mutilar

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;
}

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