Skip to content
This repository was archived by the owner on Feb 15, 2020. It is now read-only.
This repository was archived by the owner on Feb 15, 2020. It is now read-only.

Switch-case #9

@Michael-K-GH

Description

@Michael-K-GH

Implement the switch and case keywords.
Possibly allow comparisons inside case condition.
Proposed syntax is similar to C:

switch (some_value) {
    case (1) { ... }
    case (>= 2 && <= 5) { ... }
    default { ... }
}

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions