add catch/throw support, make exceptions and arithmetic tests pass.

This commit is contained in:
Mark Thom
2018-05-10 01:43:36 -06:00
parent bae107f8cd
commit 954c29b103
9 changed files with 314 additions and 155 deletions

View File

@@ -152,11 +152,5 @@ impl MachineState {
};
Ok(())
}
pub(super) fn execute_system(&mut self, ct: &SystemClauseType) -> Result<(), MachineError> {
match ct {
&SystemClauseType::SkipMaxList => self.skip_max_list()
}
}
}
}