MORTRAN(ID:2252/mor006)

Dialect of FORTRAN for structural programming 



FORTRAN preprocessor for structured programming.


Related languages
FORTRAN IV => MORTRAN   Extension of
MORTRAN => EGS3   Written using
MORTRAN => MORTRAN 2   Evolution of

References:
  • Cook, A. J., "A User's Guide to MORTRAN", CGTM No. 150, Stanford Linear Accelerator Center, 1973. view details
  • Schneck, Paul B. "Semantic preprocessing" pp79-81 view details Abstract: Many preprocessor systems exist to transform a program from an augmented language to the particular language expected by a processor. Historically these have been capable of only simple lexical or syntactic substitutions (macro processors). This paper discusses the potential of semantic preprocessing -- where the function of a program is "understood" as a basis for transformation -- and describes experiments with a prototype system. Extract: Introduction
    INTRODUCTION
    A preprocessor is a program which operates on a programming language (or extension to the language) and outputs a program in the same or similar language. Historically, preprocessors served to extend the flexibility and expressive powers of programming langguages and have been in use almost as long as programming languages themselves. Early preprocessors were part of language processors because of the ease with which a substitution facility could be added to the input scan. Thus was born the basic macro assembler (e.g. FAP for the IBM 7090). Cooke and Schwartz (1971) divide a language processor into three parts:
    Lexical scan--identifies tokens (basic language elements) in the source language.
    Syntax scan--parses a string of tokens according to their relationships with one another.
    Code generator--produces an object 2 program to carry out the meaning of the program. We call this part the semantics processor.

    Classifying preprocessors as above, most perform lexical transformations--replacing one token string by another. A small number of preprocessors perform syntactic transformations. An example of this sort is SIFT which transforms a FORTRAN II program
    to FORTRAN IV. Finally we come to semantic preprocessors, which transform a source program as a function of its meaning, or semantics.


          in Proceedings of the 1974 ACM Annual Conference San Diego, November, 1974 view details
  • Cook, A. J. and Shustek, L. J. "MORTRAN2, a macro-based structured FORTRAN extension," presented at 10th IEEE Computer Society Intl. Conf. (COMP-CON'75) view details
          in Proceedings of the 1974 ACM Annual Conference San Diego, November, 1974 view details