Mellow-Programming-Language / Mellow

The Mellow Programming Language
MIT License
7 stars 2 forks source link

Properly short-circuit-on-success || expressions #60

Closed CollinReeser closed 9 years ago

CollinReeser commented 9 years ago

This will evaluate the array index expression in the boolean expression:

arr := [false, false, false];
b := true || arr[5];