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