Translation guide
A macrogenerator is a program or system that expands macro instructions into detailed code or text. This is a technical computing term.
A tool that processes macros, replacing shorthand with full code or text.
The standard katakana loanword for 'macrogenerator'. Widely understood in programming contexts.
このマクロジェネレーターはアセンブリ言語用です。
This macrogenerator is for assembly language.
A more descriptive Japanese phrase meaning 'macro expansion program'. Used when explaining the function rather than naming a specific tool.
マクロ展開プログラムを自作しました。
I wrote my own macrogenerator.
Literally 'macro generator'. Less common than the katakana term, but may appear in some documentation.
マクロ生成器の設定を変更する。
Change the macrogenerator settings.
In most technical conversations, the loanword マクロジェネレーター is perfectly acceptable. If you need to explain the concept to a non-specialist, use マクロを展開するプログラム (a program that expands macros).