Macro Gcode question

better late than never… here are several docs that may be useful

grblHAL shares some G-code macro concepts with LinuxCNC
LinuxCNC has a good G-code overview
LinuxCNC has a good M-code overview
Marlin’s docs have a useful list of G-code commands

Vectric’s docs on postprocessors