+612 9045 4394
 
CHECKOUT
Attribute Grammar Inversion and Source-To-Source Translation : Lecture Notes in Computer Science - Daniel M. Yellin

Attribute Grammar Inversion and Source-To-Source Translation

Lecture Notes in Computer Science

Paperback

Published: 15th April 1988
Ships: 5 to 9 business days
5 to 9 business days
$116.16
or 4 easy payments of $29.04 with Learn more

With the proliferation of computer languages and dialects, it is important to create tools to aid in the construction of source-to-source translators. By allowing users to make use of software (or data) written for another system, these tools form an important component in the quest for software reusability. After discussing the theoretical and practical issues of attribute grammar inversion, this book demonstrates how the technique can be used to build source-to-source translators. This is done by first identifying a common canonical form in which to represent the various source languages and then writing attribute grammars from each source to the canonical form. By automatically inverting these attribute grammars one obtains translators from the canonical form back to each source language and by composing the appropriate pairs of translators one obtains source-to-source translators. To prove the feasibility of the inversion approach to source-to-source translation, it has been used to generate translators between the programming languages Pascal and C.

Grammar Based Translation Methodologies and RIFs
The Inversion of RIF Grammars
Generalizing RIFs
The INVERT System
Translating Between Programming Languages
Conclusions and Future Directions
References
AGs Using ERROR and Computability
Pascal-to-C and C-to-Pascal Translations
Table of Contents provided by Publisher. All Rights Reserved.

ISBN: 9783540190721
ISBN-10: 3540190724
Series: Lecture Notes in Computer Science
Audience: General
Format: Paperback
Language: English
Number Of Pages: 178
Published: 15th April 1988
Publisher: Springer-Verlag Berlin and Heidelberg Gmbh & Co. Kg
Country of Publication: DE
Dimensions (cm): 23.39 x 15.6  x 1.02
Weight (kg): 0.27