Attribute Grammars and the Teaching of Compiler Design and Implementation

Document Type

Journal Article

Role

Author

Standard Number

1937-4771

Journal Title

Journal of computing sciences in colleges

Volume

22

Issue

3

First Page

121

Last Page

127

Publication Date

2007

Comments

Proceedings of the 22nd Annual Consortium for Computing Sciences in Colleges Eastern Conference (CCSC-E 06), October 2006. This paper focuses on the educational uses of 'attribute grammars', which are used in compiler research to give concise descriptions of the meanings of programming language features and to specify what a translation system should produce without bringing up distracting details of how it does so. Separating meaning from implementation detail is also valuable for students as they learn, and attribute grammars can be a good tool for this, despite the fact that their full power is often overlooked in the undergraduate curriculum. --author-supplied description

Share

COinS