|
|
1.1 root 1: .TH EFL 1 "14 September 1979"
2: .SH NAME
3: efl \- Extended Fortran Language
4: .SH SYNOPSIS
5: .B efl
6: [ option ... ]
7: [ filename ... ]
8: .SH DESCRIPTION
9: .I Efl
10: compiles a program written in the EFL language into clean Fortran.
11: .I Efl
12: provides the same control flow constructs as does
13: .IR ratfor (1),
14: which are essentially identical to those in C:
15: .TP
16: statement grouping with braces;
17: decision-making with if, if-else, and switch-case;
18: while,
19: for,
20: Fortran do,
21: repeat,
22: and repeat...until loops;
23: multi-level break and next.
24: In addition, EFL has C-like data structures,
25: and more uniform and convenient input/output syntax,
26: generic functions.
27: EFL also provides
28: some syntactic sugar to make programs easier to read and write:
29: .TP
30: free form input:
31: multiple statements/line; automatic continuation
32: statement label names (not just numbers),
33: .TP
34: comments:
35: # this is a comment
36: .TP
37: translation of relationals:
38: >, >=, etc., become .GT., .GE., etc.
39: .TP
40: return (expression)
41: returns expression to caller from function
42: .TP
43: define:
44: define name replacement
45: .TP
46: include:
47: include filename
48: .PP
49: .fi
50: The Efl command option
51: .B \-w
52: suppresses warning messages.
53: The option
54: .B \-C
55: causes comments to be copied through to the Fortran output (default);
56: .B \-#
57: prevents comments from being copied through.
58: If a command argument contains an embedded equal sign,
59: that argument is treated as if it had appeared in an
60: .B option
61: statement at the beginning of the program.
62: .I Efl
63: is best used with
64: .IR f77 (1).
65: .SH "SEE ALSO"
66: f77(1),
67: ratfor(1).
68: .br
69: S. I. Feldman,
70: .IR "The Programming Language EFL",
71: Bell Labs Computing Science Technical Report #78.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.