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
- Yacc : Yet Another Compiler Compiler
- The C Programming Language
- Principles of Compiler Design
- Semantics of context-free languages
- GPS : a case study in generality and problem solving
- Principles of Compiler Design (Addison-Wesley series in computer science and information processing)
- Compiler construction for digital computers
- Preliminary Ada reference manual
- The design of an optimizing compiler
- A new method for compiler code generation