4.3BSD-UWisc/man/cat1/efl.1

Compare this file to the similar file:
Show the results in this format:




EFL(1)              UNIX Programmer's Manual               EFL(1)



NAME
     efl - Extended Fortran Language

SYNOPSIS
     efl [ option ... ] [ filename ... ]

DESCRIPTION
     _E_f_l compiles a program written in the EFL language into
     clean Fortran.  _E_f_l provides the same control flow con-
     structs as does _r_a_t_f_o_r(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 -w suppresses warning messages.  The
     option -C causes comments to be copied through to the For-
     tran output (default); -# 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 option statement at the beginning of the program.  _E_f_l
     is best used with _f_7_7(1).

SEE ALSO
     f77(1), ratfor(1).
     S. I. Feldman, _T_h_e _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e _E_F_L, Bell Labs Com-
     puting Science Technical Report #78.



Printed 12/27/86         April 29, 1985                         1