Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ efl(1) — Ultrix/UWS 4.2 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

f77(1)

ratfor(1)

efl(1)  —  VAX  —  Unsupported

Name

efl − Extended FORTRAN Language

Syntax

efl [ option ... ] [ filename ... ]

Description

The efl command compiles a program written in the EFL language into clean FORTRAN. The efl command provides the same control flow constructs as does ratfor(,), which are essentially identical to those in C:

statement grouping with braces;
decision-making with if, if-else, and switch-case; while, for, FORTRAN do, repeat, and repeat...until loops; multi-level break and next. In addition, EFL has C-like data structures, and more uniform and convenient input/output syntax, generic functions. EFL also provides some syntactic sugar to make programs easier to read and write:

free form input: multiple statements/line; automatic continuation statement label names (not just numbers),

comments: # this is a comment

translation of relationals:
>, >=, etc., become .GT., .GE., etc.

return (expression)
returns expression to caller from function

define: define name replacement

include: include filename

The efl program is best used with f77(.).

Options

−wSuppresses warning messages. 

−CCauses comments to be copied through to the FORTRAN output (default). 

−#Prevents comments from being copied through.  If a command argument contains an embedded equal sign, that argument is treated as if it had appeared in an option statement at the beginning of the program. 

See Also

f77(1), ratfor(1). 
S. I. Feldman, The Programming Language EFL, Bell Labs Computing Science Technical Report #78.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026