WIP: elaborate on Hyphae in instructions.toml
All checks were successful
per-push tests / build (push) Successful in 1m26s
per-push tests / test-frontend (push) Successful in 1m35s
per-push tests / test-utility (push) Successful in 1m41s
per-push tests / test-backend (push) Successful in 1m50s
per-push tests / timed-decomposer-parse (push) Successful in 1m50s

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2025-08-14 07:20:03 +00:00
parent f48867db42
commit 258ee56149
3 changed files with 307 additions and 45 deletions

View file

@ -255,7 +255,7 @@ impl VM {
// stack ops
i::PUSH => self.stack.push_current_stack(
access!(&instr.1[0]).deep_copy()),
i::POP => _ = self.stack.pop_current_stack(),
i::POP => self.expr = self.stack.pop_current_stack(),
i::ENTER => self.stack.add_stack(),
i::EXIT => self.stack.destroy_top_stack(),
@ -326,7 +326,7 @@ impl VM {
};
let Datum::Number(ref r) = **access!(&instr.1[1]) else {
e!("illgal argument to IDIV instruction");
e!("illegal argument to IDIV instruction");
};
let Fraction(l, 1) = l.make_exact() else {