GCode makes sense simple printer commands like movement, particularly on old/slow control board but makes no sense as an actual scripting language and is being misused for complex config and logic.
Essentially you're asking us humans to act as a very poor language interpreter/compiler, looking up functions in the guide and then entering the GCODE numbers manually into a file (along with all the mistakes) when we could just use intellisense to find what we're looking for and then compile down to a GCODE. Even assembly language doesn't use numbers for its commands.
Perhaps a tokenizer like moo https://github.com/no-context/moo could translate the syntax from a .hcode to .gcode language for you. I think the monaco editor used by VSCode could handle a custom .hcode language to for embedding syntax highlighting and intellisense into the web app.
GCode makes sense simple printer commands like movement, particularly on old/slow control board but makes no sense as an actual scripting language and is being misused for complex config and logic.
Essentially you're asking us humans to act as a very poor language interpreter/compiler, looking up functions in the guide and then entering the GCODE numbers manually into a file (along with all the mistakes) when we could just use intellisense to find what we're looking for and then compile down to a GCODE. Even assembly language doesn't use numbers for its commands.
Perhaps a tokenizer like moo https://github.com/no-context/moo could translate the syntax from a .hcode to .gcode language for you. I think the monaco editor used by VSCode could handle a custom .hcode language to for embedding syntax highlighting and intellisense into the web app.