回 帖 发 新 帖 刷新版面

主题:付费fortran语言程序转换成C语言

请人把fortran语言转换成C语言,有意者请联系qq 253291690

回复列表 (共6个回复)

沙发

f2c即可

板凳

[quote]f2c即可[/quote]
那个也只能转77

3 楼


f2c
From Wikipedia, the free encyclopedia
f2c is the name of a program to convert Fortran 77 to C code, developed at Bell Laboratories. The standalone f2c program was based on the core of the first complete Fortran 77 compiler to be implemented, the "f77" program by Feldman and Weinberger. Because the f77 compiler was itself written in C and relied on a C compiler back end to complete its final compilation step, it and its derivatives like f2c were much more portable than compilers generating machine code directly.

The f2c program was released as free software (open-source software) and subsequently became one of the most common means to compile Fortran code on many systems where native Fortran compilers were unavailable or expensive. Several large Fortran libraries, such as LAPACK, were made available as C libraries via conversion with f2c. The f2c program also influenced the development of the GNU g77 compiler, which uses a modified version of the f2c runtime libraries.

See also
BCX - translates BASIC source code to C/C++ source code
F2C is also often used as an abbreviation of "Factory To Customer". Mainly a manufacturer of products supplying direct to the end user.

References
S. I. Feldman and P. J. Weinberger. A portable Fortran 77 compiler. In UNIX Time Sharing System Programmer's Manual, volume 2. AT&T Bell Laboratories, tenth edition, 1990.
S. I. Feldman, David M. Gay, Mark W. Maimone, and N. L. Schryer, "A Fortran to C Converter," AT&T Bell Laboratories technical report, 1990. Also the paper of the same title by S. I. Feldman, published in ACM SIGPLAN Fortran Forum, vol. 9, issue 2, p. 21–22 (1990).
The f2c source code and documentation, at Netlib.

4 楼

必要性不大,如果只是F77可以考虑用F2C。
且有些东西很是不好转。

5 楼

那个东西连作者都说要靠运气

6 楼


就像很难有一个自动把中英文相互转换的很好的软件一样!很多事情不是简单的代码能解决的!

   █           ◢
   █        ◢◤     █       █     █        ◢◤
█████   ◤█    ◣█◤     █   ████  ◢◤
█  █  █  ████   █    █ █◣   █  █  █   █
█████   ◢█◣    █       █   ████  █████
    █       ◤█    ◢◤◣     █     █         ◤█◣ 
    █         █  ◢◤  ◥◣   █   ◢◤◣     ◤  █  ◣

我来回复

您尚未登录,请登录后再回复。点此登录或注册