buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.2k stars 34 forks source link

If arrow: multiple unwrapping + condition #79

Open giann opened 1 year ago

giann commented 1 year ago
if (some -> unwrapped, other -> unwrappedToo) {
    | ...
}

or different keyword to avoid doing all this in the middle of regular if bytecode

let (some -> unwrapped, other -> unwrappedToo) {
    | ...
}