Files
wasm-simulator/tests/gcode/linuxcnc_expression_operators.ngc

12 lines
244 B
Plaintext

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