comp.lang.c FAQ list
·
Question 20.26
Q:
Does anyone know of a program
for converting
Pascal or FORTRAN
(or
LISP,
Ada,
awk,
``Old'' C,
...)
to C?
A:
Several freely distributable programs are
available:
- p2c
A Pascal to C converter
written by Dave Gillespie,
posted to comp.sources.unix in
March, 1990 (Volume 21);
also available by anonymous ftp from
csvax.cs.caltech.edu,
file
pub/p2c-1.20.tar.Z .
- ptoc
Another
Pascal to C converter,
this one written in Pascal
(comp.sources.unix, Volume 10, also patches in Volume 13?).
- f2c
A FORTRAN to C converter
jointly developed by people from Bell Labs, Bellcore, and Carnegie Mellon.
(f2c is really a FORTRAN compiler with a C backend--the
output is not intended to be maintainable.)
To find out more about f2c, send the mail message
``send index from f2c''
to netlib@research.att.com or research!netlib.
(It is also available via anonymous ftp on
netlib.att.com,
in directory
netlib/f2c/.)
- A PL/M to C converter was posted to alt.sources in April, 1991.
The following companies sell various translation tools and services:
Cobalt Blue
2940 Union Ave., Suite C
San Jose, CA 95124 USA
(+1) 408 723 0474
Promula Development Corp.
3620 N. High St., Suite 301
Columbus, OH 43214 USA
(+1) 614 263 5454
Micro-Processor Services Inc.
92 Stone Hurst Lane
Dix Hills, NY 11746 USA
(+1) 516 499 4461
See also questions
11.31
and
18.16.
about this FAQ list
about eskimo
search
feedback
copyright
Hosted by