Early ISA Unit tests
Some checks failed
per-push tests / test-frontend (push) Blocked by required conditions
per-push tests / timed-decomposer-parse (push) Blocked by required conditions
per-push tests / test-utility (push) Blocked by required conditions
per-push tests / test-backend (push) Blocked by required conditions
per-push tests / build (push) Has been cancelled

This commit provides some but not all unit tests for VM instructions.
All tests pass, and this commit includes modifications to logic to allow
for that.

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2025-07-30 00:01:07 +00:00
parent 609e65a8db
commit 3bc256dab2
6 changed files with 544 additions and 156 deletions

View file

@ -29,7 +29,7 @@ description = "test if a name is already bound"
name = "push"
args = ["operand"]
output = ""
description = "pushes operand onto stack."
description = "pushes deep copy of operand onto stack."
[[instructions]]
name = "pop"
@ -50,7 +50,7 @@ output = ""
description = "delete current stack frame"
[[instructions]]
name = "load"
name = "link"
args = ["src", "dest"]
output = ""
description = "shallow copies src into dest"