The design and implementation of a Fortran-77 to Modula-2 translator

Myhr, Eric Robert (1990) The design and implementation of a Fortran-77 to Modula-2 translator. Masters thesis, Memorial University of Newfoundland.

[img] [English] PDF (Migrated (PDF/A Conversion) from original format: (application/pdf)) - Accepted Version
Available under License - The author retains copyright ownership and moral rights in this thesis. Neither the thesis nor substantial extracts from it may be printed or otherwise reproduced without the author's permission.

Download (16MB)
  • [img] [English] PDF - Accepted Version
    Available under License - The author retains copyright ownership and moral rights in this thesis. Neither the thesis nor substantial extracts from it may be printed or otherwise reproduced without the author's permission.
    (Original Version)

Abstract

A source-to-source translator is a program which translates programs written in a given high-level programming language into another high-level language. They provide a reliable means for the re-use, sharing, and development of software. -- In this thesis, the design and implementation of a source-to-source translator which converts Fortran-77 programs into semantically 'equivalent’ Modula-2 programs is described. -- An attribute grammar is used to formally describe the translation. Attribute grammars are typically used in the specification of compilers and translators, and describe translation in a syntax-directed fashion. -- The translator was generated from the attribute grammar using the GAG system, a translator/compiler writing system based on attribute grammars. Attributed parse trees are used for the intermediate representation of the syntax and semantics of Fortran programs during translation. -- Keywords: source-to-source translation; program transformation; attribute grammars; translator-writing systems; the GAG system; programming languages; Fortran-77; Modula-2.

Item Type: Thesis (Masters)
URI: http://research.library.mun.ca/id/eprint/4285
Item ID: 4285
Additional Information: Bibliography: leaves 124-127.
Department(s): Science, Faculty of > Computer Science
Date: 1990
Date Type: Submission
Library of Congress Subject Heading: Translators (Computer programs); FORTRAN 77 (Computer program language); Modula-2 (Computer program language); Parsing (Computer grammar)

Actions (login required)

View Item View Item

Downloads

Downloads per month over the past year

View more statistics