lehit 0.2.0

Embeddable Lehit language frontend and Cranelift JIT runtime
Documentation
acs deref: "core://deref.lt"
acs drop: "core://drop.lt"

pub acs Box<T>: struct {
    fld pointer: *mut T

    pub acs new<U>: fn(value: U) -> Box<U>
}

pub acs box_deref<T>: extension for Box<T> {
    impl deref.Deref {
        acs Target: type = T
        acs deref: fn(&self) -> &Self.Target
    }

    impl deref.DerefMut {
        acs deref_mut: fn(&mut self) -> &mut Self.Target
    }

    impl drop.Drop {
        acs drop: fn(&mut self)
    }
}