shattuck 0.1.0

Rust-based script programming language.
Documentation
//

#[derive(Debug, Fail)]
pub enum Error {
    #[fail(display = "type mismatch")]
    TypeMismatch,
    #[fail(display = "synchronize rules violated")]
    ViolateSync,
    #[fail(display = "invalid memory address")]
    InvalidAddress,
    #[fail(display = "out of memory")]
    OutOfMemory,
    #[fail(display = "not callable")]
    NotCallable,
    #[fail(display = "not sharable")]
    NotSharable,
    #[fail(display = "expect local object")]
    ExpectLocal,
    #[fail(display = "expect shared object")]
    ExpectShared,
    #[fail(display = "pop empty stack")]
    ExhaustedFrame,
    #[fail(display = "no parent frame")]
    NoParentFrame,
}

pub type Result<T> = std::result::Result<T, Error>;