Tagged g-code-programming