Document Type

Technical Report

Publication Date

Summer 6-1-1978


There has recently been much interest in the development of software validation tools for FORTRAN. Such tools are usually designed to analyze programs written in ANSI standard FORTRAN. However, because there are many dialects and extensions of FORTRAN in use, it would be desirable to analyze these as well. One solution is to develop a single diagnostic tool for standard FORTRAN which may be easily modified to accept variants of the language. Since most of the variations occur at lexical and syntactic levels, the design of a flexible lexical analyzer is a key issue. The FSCAN Lexical Analyzer Generating System has been designed with this purpose in mind. This report describes the FSCAN language, a compiler for the language, and an interpreter for the resulting object code. An example of a complete FSCAN program is included.