Description-driven code generation using attribute grammars

Mahadevan Ganapathi, Charles N. Fischer

1982 · 41 citations · 17 references

Concepts

Abstract

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.

References

17