From ef5638e0a7937a1a92bf5b651b31e57c189a48b0 Mon Sep 17 00:00:00 2001 From: wangdequan Date: Mon, 8 Jun 2026 05:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A9=E5=B1=95=E8=A7=A3=E9=87=8A=E5=99=A8WA?= =?UTF-8?q?SM=E8=BF=90=E8=A1=8C=E6=97=B6=E5=A4=B9=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 结论:解释器核心WASM验证新增 canned cycle、刀补、threading、NURBS、state tag 和 canonical runtime edge 夹具,继续直接复用LinuxCNC解释器源码。 --- wasm-port/docs/compatibility-validation.md | 4 +++- wasm-port/tests/wasm/node/verify_interp_wasm.mjs | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/wasm-port/docs/compatibility-validation.md b/wasm-port/docs/compatibility-validation.md index cd9d39d..475d8cc 100644 --- a/wasm-port/docs/compatibility-validation.md +++ b/wasm-port/docs/compatibility-validation.md @@ -199,7 +199,9 @@ for `minimal_linear`, `arc_semantics`, `length_units`, `modal_incremental`, `plane_selection`, `coordinate_offsets`, `g53_machine_coordinates`, `feed_control_modes`, `position_params`, `probe_semantics`, `spindle_orient`, `comment_logging`, `numbered_params`, `tool_semantics`, `tool_table_setup`, -`tool_reload`, and `namedparam_semantics`, plus the `g1_zero_feed`, +`tool_reload`, `canned_cycles`, `cutter_comp_motion`, `threading_sync`, +`nurbs_g5_semantics`, `nurbs_g6_semantics`, `state_tag_motion`, +`canon_runtime_edges`, and `namedparam_semantics`, plus the `g1_zero_feed`, `arc_radius_mismatch`, `arc_zero_radius`, `g53_incremental`, `tool_not_found`, and `tool_length_offset_not_found` negative fixtures. The WASM interpreter file path additionally covers `file_open_reset`, `percent_file_finish`, and diff --git a/wasm-port/tests/wasm/node/verify_interp_wasm.mjs b/wasm-port/tests/wasm/node/verify_interp_wasm.mjs index 43c0979..585d354 100644 --- a/wasm-port/tests/wasm/node/verify_interp_wasm.mjs +++ b/wasm-port/tests/wasm/node/verify_interp_wasm.mjs @@ -119,6 +119,13 @@ const fixtureNames = [ "tool_semantics", "tool_table_setup", "tool_reload", + "canned_cycles", + "cutter_comp_motion", + "threading_sync", + "nurbs_g5_semantics", + "nurbs_g6_semantics", + "state_tag_motion", + "canon_runtime_edges", ]; for (const fixtureName of fixtureNames) {