G Code is basically a geometric scripting languge and isn’t Turing complete in basic implementations. Every manufacturer pretty much also has their own dialect that is Turing complete.
Gcode with control commands and variables is called, no shit, Macro G Code. It’s Turing complete. That form of variable names is normal and is inherited from hardware registers/banks and TTL.
It’s not unusual for a save dialog to be labelled Punch as it has a direct lineage from punch tape.
Kind of like assembly and a graphing calculator had an abortion together.

I often code directly on the machine control, including single blocking a running program and adding a line while the program is paused.
Editor on older CNC machines usually doesn’t even do lowercase and often has limited alphabet keys. Think '80s green or amber screen.
A machinist’s coding workflow can be real fucky. I go from CAM which is like a highly complex visual programming IDE to notepad. If I’m being fancy I use notepad++ for syntax highlights and diff’ing.