Compiles the code in `input` and _appends_ it to the current machine context.
(&mut self, input: &mut dyn io::Read)
| 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>> { |