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

Switch-case #9

Open
Michael-K-GH opened this issue Jun 22, 2016 · 0 comments
Open

Switch-case #9

Michael-K-GH opened this issue Jun 22, 2016 · 0 comments
Assignees
Milestone

Comments

@Michael-K-GH
Copy link
Owner

Michael-K-GH commented Jun 22, 2016

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 { ... }
}
@Michael-K-GH Michael-K-GH added this to the 1.0.0 milestone Jun 22, 2016
@Michael-K-GH Michael-K-GH self-assigned this Jun 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant