|
|
1.1 ! root 1: .TH EFL 1 ! 2: .SH NAME ! 3: efl \- extended Fortran language preprocessor ! 4: .SH SYNOPSIS ! 5: .B efl ! 6: [ ! 7: .I option ... ! 8: ] ! 9: [ ! 10: .I filename ... ! 11: ] ! 12: .SH DESCRIPTION ! 13: .I Efl ! 14: compiles a program written in the EFL language into clean Fortran. ! 15: .I Efl ! 16: provides the same control flow constructs as does 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: .IR f77 (1), ! 70: .IR 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.