Docs/CurrentTask: add explicit refactor goals/milestones/steps. VM modules: add Purpose/Responsibilities/Key APIs/Typical Callers headers. Build+goldens green.

This commit is contained in:
Moe Charm
2025-08-26 01:07:23 +09:00
parent edadf67ca0
commit 7ccd5420ac
6 changed files with 60 additions and 11 deletions

View File

@ -1,5 +1,10 @@
/*!
* VM Value Operations - arithmetic, logical, and comparison helpers
* VM Value Operations
*
* Purpose: Arithmetic/logical/comparison helpers and boolean coercions
* Responsibilities: execute_binary_op / execute_unary_op / execute_compare_op
* Key APIs: execute_binary_op, execute_unary_op, execute_compare_op
* Typical Callers: vm_instructions::{execute_binop, execute_unaryop, execute_compare}
*/
use crate::mir::{BinaryOp, CompareOp, UnaryOp};
@ -138,4 +143,3 @@ impl VM {
}
}
}