Function cambridge_asm::compile::compile
source · pub fn compile<T>(
prog: impl Deref<Target = str>,
debug: bool
) -> Result<CompiledProg, ErrorMap>where
T: InstSet,
<T as FromStr>::Err: Display,
Available on crate feature
compile
only.Expand description
Parses source code into a CompiledProg
ready for serialization