1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//! A crate for defining the core of the bakerVM

#[macro_use]
extern crate error_chain;
#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate rmp_serde;
extern crate regex;
#[macro_use]
extern crate lazy_static;

mod config;
mod image_builder;
mod instruction;
mod event;
mod signal;
mod program;
mod target;
mod value;
mod type_t;
pub mod error;
pub mod typedef;

pub use config::*;
pub use event::*;
pub use image_builder::*;
pub use instruction::*;
pub use program::*;
pub use signal::*;
pub use target::*;
pub use type_t::*;
pub use value::*;

pub const PREAMBLE: &str = "BAKERVM";