1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14

#[repr(u8)]
#[derive(Debug)]
pub enum Instruction {
    SourceMap,
    Push,
}

#[derive(Debug)]
pub struct ByteCode {
    pub kind: Instruction,
    pub offset: usize,
    pub size: usize,
}