Description-driven code generation using attribute grammars

Mahadevan Ganapathi, Charles N. Fischer · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 1982

The instruction-set of a target architecture is represented as a set of attribute-grammar productions. A code generator is obtained automatically for any compiler using attributed parsing techniques. A compiler built on this model can automatically perform most popular machine-dependent optimizations, including peephole optimizations. The code generator is also easily retargetable to different machine architectures.

Cited by 40 works. doi:10.1145/582153.582165

Authors

References