1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Source: p2c
Section: devel
Priority: optional
Maintainer: Josip Rodin <jrodin@jagor.srce.hr>
Standards-Version: 3.0.1
Package: p2c
Architecture: any
Depends: ${shlibs:Depends}
Suggests: gcc, gpc
Description: Pascal to C translator
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.
|