1EFL(1) General Commands Manual EFL(1)
2
3
4
6 efl - Extended Fortran Language
7
9 efl [ option ... ] [ filename ... ]
10
12 Efl compiles a program written in the EFL language into clean Fortran.
13 Efl provides the same control flow constructs as does ratfor(1), which
14 are essentially identical to those in C:
15
16 statement grouping with braces;
17 decision-making with if, if-else, and switch-case; while, for,
18 Fortran do, repeat, and repeat...until loops; multi-level break
19 and next. In addition, EFL has C-like data structures, and more
20 uniform and convenient input/output syntax, generic functions.
21 EFL also provides some syntactic sugar to make programs easier
22 to read and write:
23
24 free form input:
25 multiple statements/line; automatic continuation statement label
26 names (not just numbers),
27
28 comments:
29 # this is a comment
30
31 translation of relationals:
32 >, >=, etc., become .GT., .GE., etc.
33
34 return (expression)
35 returns expression to caller from function
36
37 define:
38 define name replacement
39
40 include:
41 include filename
42
43 The Efl command option -w suppresses warning messages. The option -C
44 causes comments to be copied through to the Fortran output (default);
45 -# prevents comments from being copied through. If a command argument
46 contains an embedded equal sign, that argument is treated as if it had
47 appeared in an option statement at the beginning of the program. Efl
48 is best used with f77(1).
49
51 f77(1), ratfor(1).
52 S. I. Feldman, The Programming Language EFL, Bell Labs Computing Sci‐
53 ence Technical Report #78.
54
55
56
577th Edition April 29, 1985 EFL(1)