p2c

P2c is a tool for translating Pascal programs into C. The input consists of a set of source files in any of the following Pascal dialects: HP Pascal, Turbo/UCSD Pascal, DEC VAX Pascal, Oregon Software Pascal/2, Macintosh Programmer's Workshop Pascal, Sun/Berkeley Pascal, Texas Instruments Pascal, Apollo Domain Pascal. Modula-2 syntax is also supported.

Output is a set of .c and .h files that comprise an equivalent program in any of several dialects of C. Output code may be kept machine and dialect-independent, or it may be targeted to a specific machine and compiler. Most reasonable Pascal programs are converted into fully functional C which will compile and run with no further modifications, although p2c sometimes chooses to generate readable code at the expense of absolute generality.

Last updated 5 Feb, 2009


User level: Submit a level

User Rating:

Homepage

License(s) :

GPLv2orlater

Rate it!

 

About

Leadership
Related Projects

Free Pascal Compiler, GNU Pascal, GTKpas, Pasdoc

Versions

1.21

1.21 alpha released 1993-12-07

  • Released: 7 Dec, 1993
  • Code Maturity: Alpha
  • Source Archive: ftp://ftp.debian.org/debian/dists/potato/main/source/devel/p2c_1.21.orig.tar.gz
  • Licenses: GPLv2orlater
  • Interfaces: Command Line

User Community and Support

User manual included

General Resources

Development

 

Please send comments on these web pages to bug-directory@fsf.org, send other questions to info@fsf.org.

Copyright © 2000 - 2009 Free Software Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA

The copyright licensing notice below applies to this text. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.