Top > All GNU Packages > p2c

p2c - Translates Pascal programs into C

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.

Obtaining

Web pagehttp://packages.debian.org/unstable/devel/p2c.html
Source tarball ftp://ftp.debian.org/debian/dists/potato/main/source/devel/p2c_1.21.orig.tar.gz
Version 1.21 (alpha) released on 1993-12-07 00:00:00.000
Licensed under The GNU General Public License, Version 2 or later.
This is a GNU package.

Documentation

User manual included
Support contacts


Project contacts

Maintainers
Developers

Related information

Interfacescommand line
Source languagesC
Supported languagesC, Pascal
Related programsGTKpas, Pasdoc, Free Pascal Compiler, GNU Pascal

Entry information

License verified byJanet Casey <jcasey@gnu.org> on 2001-07-24 00:00:00.000
Entry compiled byJanet Casey <jcasey@gnu.org>

Categories



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

Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 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. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to bug-directory@gnu.org, or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.