summaryrefslogtreecommitdiff
path: root/src/stages/bytecode_tokens.rs
blob: aef27f95416a38266d54cdca1f5738c034dae16c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::*;


pub struct AssembledProgram {
    pub bytecode: Vec<u8>,
    pub symbols: Vec<AssembledSymbol>,
}

pub struct AssembledSymbol {
    pub name: String,
    pub address: usize,
    pub source: SourceSpan,
}