BeeSchema
BeeSchema copied to clipboard
Switch-case
trafficstars
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 { ... }
}