Narrow your search

Library

KBR (2)

KU Leuven (2)

UAntwerpen (2)

UGent (2)

Belgian Parliament (1)

UCLouvain (1)


Resource type

book (2)


Language

English (1)

Undetermined (1)


Year
From To Submit

1988 (1)

1985 (1)

Listing 1 - 2 of 2
Sort by

Book
Microcomputers voor juristen
Authors: --- ---
ISBN: 9026031246 Year: 1985 Volume: vol *37 Publisher: Malle : De Sikkel,

Attribute grammar inversion and source-to-source translation
Author:
ISBN: 3540190724 0387190724 3540390790 9780387190723 9783540190721 Year: 1988 Volume: 302 Publisher: Berlin Heidelberg New York Tokyo Springer

Loading...
Export citation

Choose an application

Bookmark

Abstract

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.

Listing 1 - 2 of 2
Sort by