Limit this search to....

Attribute Grammar Inversion and Source-To-Source Translation 1988 Edition
Contributor(s): Yellin, Daniel M. (Author)
ISBN: 3540190724     ISBN-13: 9783540190721
Publisher: Springer
OUR PRICE:   $52.24  
Product Type: Paperback - Other Formats
Published: April 1988
Qty:
Additional Information
BISAC Categories:
- Computers | Programming Languages - General
- Computers | Compilers
Dewey: 005.45
LCCN: 88159493
Series: Lecture Notes in Computer Science
Physical Information: 0.4" H x 8.5" W x 11" (0.99 lbs) 178 pages
 
Descriptions, Reviews, Etc.
Publisher Description:
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.