继续按 align-linuxcnc 约束:补表达式运算源码回归

This commit is contained in:
cnc
2026-06-02 15:50:37 +08:00
parent df5c459b1d
commit 7319e18810
3 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
G21 G90
#1 = [-7 mod 5]
#2 = [2 ** 3 * 2]
#3 = [[1 and 0] or [0 xor 2]]
#4 = [[1 lt 2] and [2 ge 2] and [3 ne 4] and [4 eq 4]]
G0 X#1 Y#2 Z#3 A#4
#5 = [7 + 3 * 2 ** 2]
#6 = [[5 mod 2] + [-5 mod 2]]
#7 = [[2 gt 3] or [3 le 3]]
G0 B#5 C#6 U#7
M2