buildlang 1.7.0

BuildLang (buildc): an effects-oriented compiler with a verified C path, shader output, experimental backends, opt-in linear types, and re-checkable accountability + scientific-runtime receipts
Documentation
// Option<T> - represents a value that may or may not exist
enum Option {
    Some(i32),
    None,
}

impl Option {
    fn is_some(self) -> bool {
        match self {
            Option::Some(_) => true,
            Option::None => false,
        }
    }

    fn is_none(self) -> bool {
        match self {
            Option::Some(_) => false,
            Option::None => true,
        }
    }

    fn unwrap_or(self, fallback: i32) -> i32 {
        match self {
            Option::Some(v) => v,
            Option::None => fallback,
        }
    }
}