zub 0.3.14

A fast, stack-based virtual machine for dynamic languages, with an intuitive IR-builder, garbage collection and NaN-tagging.
Documentation
#[derive(Clone)]
pub enum Type {
    Float,
    Int,
    Bool,
    String,
    Nil
}

#[derive(Clone)]
pub struct TypeInfo {
    kind: Option<Type>
}

impl TypeInfo {
    pub fn new(kind: Type) -> Self {
        TypeInfo {
            kind: Some(kind),
        }
    }

    pub fn nil() -> Self {
        TypeInfo {
            kind: None,
        }
    }
}