Skip to main content

CS304: Compilers

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS304: Compilers /
  • Unit 6: Syntax Directed Translation and Semantic A... /
  • 6.1: Syntax-Directed Translation and Attribute Gra...
Back to 'Unit 6: Syntax Directed Translation and Semantic Analysis '
  • 6.1: Syntax-Directed Translation and Attribute Grammars

    •  Torben Ægidius Mogensen's "Basics of Compiler Design, Chapter 5: Interpretation" URL

      Read Chapter 5 on interpretation, where execution of a program takes place as the derivation is produced.

    •  Stanford University: Keith Schwarz's "Syntax-Directed Translation" URL

      Study the definitions and examples. Syntax-directed translation and attribute grammars are techniques for using the parser to drive the translation directly. Attributes are properties of grammar symbols, and the attributes take on values. Rules associated with each grammar production specify how to compute the value of the attributes.

Navigation

Art History
Biology
Business Administration
Chemistry
Communication
Economics
English
History
Mathematics

Creative Commons License
© Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

Terms of Use | Privacy Policy