节点文献
FORTRAN90编译器中递归过程转换为非递归过程的实现
The Implementaion of Translating Recursion in FORTRAN 90 into Iterative form in FORTRAN 77
【摘要】 为解决地学中大规模计算, 在构造FORTRAN90 串行编译器时, 需把FORTRAN90 源程序转换为FORTRAN77 源程序。由于FORTRAN77 中不允许递归, 故对FORTRAN90 中的递归加以特殊处理。本文利用递归的模拟基础算法,在FORTRAN77 静态编译环境中实现了FORTRAN90 的动态递归, 并对其关键转换技术做了细致的描述。
【Abstract】 For resolving the mass computing of Geology,when construcing the serial compiler of FORTRAN 90,we need to transform the source prgrams of FORTRAN 90 to those of FORTRAN 77 automatically.Because FORTRAN 77 doesn′t permit recursion,the recurson of FORTRAN 90 is needed to process specially.This article makes use of the basic algorithm of recursive simulation to implement the dynamic recursion in the environment of static compilation.
【关键词】 递归;
递归模拟的基本算法;
工作栈;
参数传递;
【Key words】 Recursion; The basic algorithm of recursive simulation; Stack; Pass parameter;
【Key words】 Recursion; The basic algorithm of recursive simulation; Stack; Pass parameter;
- 【文献出处】 长春光学精密机械学院学报 ,JOURNAL OF CHANGCHUN INSTITUTE OF OPTICS AND FINE MECHANICS , 编辑部邮箱 ,1999年03期
- 【分类号】TP312
- 【下载频次】84