RATFOR—a preprocessor for a rational fortran

Research output: Contribution to journalArticle

53 Scopus citations

Abstract

Although Fortran is not a pleasant language to use, it does have the advantages of universality and (usually) relative efficiency. The RATFOR language attempts to conceal the main deficiencies of Fortran while retaining its desirable qualities, by providing decent control flow statements and some ‘syntactic sugar’. RATFOR is implemented as a preprocessor which translates this language into Fortran Once the control flow and cosmetic deficiencies of Fortran are hidden, the resulting language is remarkably pleasant to use. RATFOR programs are markedly easier to write, and to read, and thus easier to debug, maintain and modify than their Fortran equivalents It is readily possible to write RATFOR programs which are portable to other environments. RATFOR is written in itself in this way, so it is also portable; versions of RATFOR are now running on computers of six different manufacturers This paper discusses design criteria for a Fortran preprocessor, the RATFOR language and its implementation, and user experience.

Original languageEnglish (US)
Pages (from-to)395-406
Number of pages12
JournalSoftware: Practice and Experience
Volume5
Issue number4
DOIs
StatePublished - Oct 1975
Externally publishedYes

All Science Journal Classification (ASJC) codes

  • Software

Fingerprint Dive into the research topics of 'RATFOR—a preprocessor for a rational fortran'. Together they form a unique fingerprint.

  • Cite this