I will present MELT, a domain specific language to customize the GCC compiler, thru several examples.
MELT is a high level domain specific language to customize and extend the GCC compiler, enabling coding rules validation, specific optimizations, etc by easily working on GCC internal representation. MELT is a lisp-like language with powerful features (pattern matching, functional, reflective & object style programming ...) to ease GCC customization.