Attribute Grammar Inversion and Source-to-source Translation

Buch | Softcover
X, 178 Seiten
1988 | 1988
Springer Berlin (Verlag)
978-3-540-19072-1 (ISBN)

Lese- und Medienproben

Attribute Grammar Inversion and Source-to-source Translation - Daniel M. Yellin
53,49 inkl. MwSt
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.

Erscheint lt. Verlag 15.4.1988
Reihe/Serie Lecture Notes in Computer Science
Zusatzinfo X, 178 p.
Verlagsort Berlin
Sprache englisch
Maße 155 x 233 mm
Gewicht 293 g
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Compilerbau
Schlagworte Attribute • Composing • Computability • Computer • Construction • Form • grammar • Grammars • PASCAL • programming • Programming language • Software • System • Tool • Usability
ISBN-10 3-540-19072-4 / 3540190724
ISBN-13 978-3-540-19072-1 / 9783540190721
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen und Anwendungen

von Hanspeter Mössenböck

Buch | Softcover (2024)
dpunkt (Verlag)
29,90
a beginner's guide to learning llvm compiler tools and core …

von Kai Nacke

Buch | Softcover (2024)
Packt Publishing Limited (Verlag)
49,85