Title: Cover Go WAM arithmetic expressions
Description:
- add generated Go WAM E2E coverage for arithmetic expression evaluation through
is/2 - cover unary numeric functions, coercion helpers, division/modulo, min/max, exponentiation, bitwise operators, shifts, and evaluator failure cases
- fix Go string escaping for structure functors in both normal WAM literal emission and lowered Go emission, so operators such as
/\and\/compile correctly - update the Go WAM parity audit against the Rust/Haskell arithmetic evaluator baseline
swipl -q -g run_tests -t halt tests/test_go_wam_builtins.plswipl -q -g run_tests -t halt tests/test_wam_go_generator.plswipl -q -g run_tests -t halt tests/test_wam_go_foreign_lowering.plswipl -q -g run_tests -t halt tests/test_wam_go_lowered_phase1.plswipl -q -g run_tests -t halt tests/test_wam_go_lowered_phase2.plswipl -q -g run_tests -t halt tests/test_wam_go_lowered_phase3.plgit diff --check