MCPcopy Index your code
hub / github.com/endbasic/endbasic / compile

Method compile

std/src/lib.rs:193–196  ·  view source on GitHub ↗

Compiles the code in `input` and _appends_ it to the current machine context.

(&mut self, input: &mut dyn io::Read)

Source from the content-addressed store, hash-verified

191
192 /// Compiles the code in `input` and _appends_ it to the current machine context.
193 pub fn compile(&mut self, input: &mut dyn io::Read) -> Result<()> {
194 self.compiler.compile_more(&mut self.image, input)?;
195 Ok(())
196 }
197
198 /// Resumes (or starts) execution from the last compiled code.
199 pub async fn exec(&mut self) -> Result<Option<i32>> {

Callers 15

async_execMethod · 0.45
runMethod · 0.45
do_no_check_stop_testFunction · 0.45
do_check_stop_testFunction · 0.45
run_nMethod · 0.45
runMethod · 0.45
test_sleep_realFunction · 0.45

Calls 1

compile_moreMethod · 0.80