Compiler/syntax analyzer: Difference between revisions

Content added Content deleted
Line 10,042: Line 10,042:


=={{header|RATFOR}}==
=={{header|RATFOR}}==
{{works with|ratfor77|1.0}}
{{works with|ratfor77|1.0 (public domain ratfor77 in C)}}
{{works with|gfortran|11.2.1}}
{{works with|gfortran|11.2.1}}
{{works with|f2c|20100827}}
{{works with|f2c|20100827}}




FORTRAN 77 is ''not'' a recursive language, in the specific sense that it does not support recursive algorithms. Local variables, in standard-conforming programs, were all treated by compilers more or less as what C programmers would call "static".
FORTRAN 77 is ''not'' a recursive language, in the specific sense that it does not support recursive algorithms. Local variables, in standard-conforming programs, were all treated by compilers more or less as what C programmers would call "static". Subprogram parameters were all passed by reference, rather than by value as in C.


''However'', it is perfectly possible to implement a recursive language ''in'' FORTRAN 77 and do the programming in ''that''.
''However'', it is perfectly possible to implement a recursive language ''in'' FORTRAN 77 and do the programming in ''that''.