Abstract
Attribute grammars are a framework for defining semantics of programming languages in a syntax-directed fashion. In this chapter, we define attribute grammars, and then illustrate their use for language definition, compiler generation, definite clause grammars, design and specification of algorithms, and so forth. Our goal is to emphasize its role as a tool for design, formal specification and implementation of practical systems, so our presentation is example rich.
| Original language | English |
|---|---|
| Title of host publication | Encyclopedia of Information Science and Technology |
| Subtitle of host publication | Second Edition |
| Publisher | IGI Global |
| Pages | 268-273 |
| Number of pages | 6 |
| ISBN (Electronic) | 9781605660271 |
| ISBN (Print) | 9781605660264 |
| DOIs | |
| State | Published - 2009 |
ASJC Scopus Subject Areas
- General Economics,Econometrics and Finance
- General Business,Management and Accounting
- General Computer Science
Disciplines
- Bioinformatics
- Communication
- Communication Technology and New Media
- Computer Sciences
- Databases and Information Systems
- Life Sciences
- OS and Networks
- Physical Sciences and Mathematics
- Science and Technology Studies
- Social and Behavioral Sciences