MORTRAN(ID:2252/mor006)Dialect of FORTRAN for structural programmingFORTRAN preprocessor for structured programming. Related languages
References: 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 in Proceedings of the 1974 ACM Annual Conference San Diego, November, 1974 view details |