BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / efl.0
EFL(1) UNIX Programmer's Manual EFL(1)
N\bNA\bAM\bME\bE
efl - Extended Fortran Language
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
e\bef\bfl\bl [ option ... ] [ filename ... ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bE_\bf_\bl compiles a program written in the EFL language into
clean Fortran. _\bE_\bf_\bl provides the same control flow con-
structs as does _\br_\ba_\bt_\bf_\bo_\br(1), 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 con-
venient 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 state-
ment 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 command option -\b-w\bw suppresses warning messages. The
option -\b-C\bC causes comments to be copied through to the For-
tran output (default); -\b-#\b# 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 o\bop\bpt\bti\bio\bon\bn statement at the beginning of the program. _\bE_\bf_\bl
is best used with _\bf_\b7_\b7(1).
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
f77(1), ratfor(1).
S. I. Feldman, _\bT_\bh_\be _\bP_\br_\bo_\bg_\br_\ba_\bm_\bm_\bi_\bn_\bg _\bL_\ba_\bn_\bg_\bu_\ba_\bg_\be _\bE_\bF_\bL, Bell Labs Com-
puting Science Technical Report #78.
Printed 7/9/88 April 29, 1985 1