Comment by WillAdams
The big problem for contemporary hobby CNC is that the G-code interpreters for small single board computers such as Grbl running on an Arduino are extremely memory-constrained:
which means:
- no loops
- no branching
- no variables
One work-around for that is:
https://github.com/NRSoft/GSharp
(I took a very different approach in my project linked elsethread)
I don't understand this comment- gcode never had loops, branching, or variables. And most folks use more capable controllers now based on ESP32 or whatever.
Update: I guess gcode does have loops, branching and variables: https://www.fictiv.com/articles/cnc-machining-macros-subprog...