Skip to main content

An attribute grammar view

  • Chapter
Compositional Translation

Part of the book series: The Springer International Series in Engineering and Computer Science ((SECS,volume 273))

  • 120 Accesses

Abstract

Controlled M-grammars, defined formally in Chapter 17, are essentially different from M-grammars without control. The set of well-formed derivation trees is defined at two levels instead of one. The control expressions define a superset of this set of derivation trees, and M-rule applications filter out the ill-formed ones from this superset. The difference is not one of formal power. A controlled M-grammar can be translated into one without control (cf. Chapter 19), and of course free grammars can be changed into controlled ones by adding a sterile control expression: a regular expression that generates the set of M-rules. Rather, the difference is one of grammar organisation. Control expressions function as the backbone of the grammar, and in some sense form an easy-to-grasp grammar summary. This makes the existence of control important for the design, development and maintenance of the grammar.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer Science+Business Media Dordrecht

About this chapter

Cite this chapter

Rosetta, M.T. (1994). An attribute grammar view. In: Compositional Translation. The Springer International Series in Engineering and Computer Science, vol 273. Springer, Dordrecht. https://doi.org/10.1007/978-94-015-8306-0_18

Download citation

  • DOI: https://doi.org/10.1007/978-94-015-8306-0_18

  • Publisher Name: Springer, Dordrecht

  • Print ISBN: 978-90-481-5797-6

  • Online ISBN: 978-94-015-8306-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics