traducteur pascal --> C - Delphi/Pascal - Programmation
Marsh Posté le 27-04-2004 à 19:09:04
apt-cache show p2c
Package: p2c
Priority: optional
Section: devel
Installed-Size: 720
Maintainer: Josip Rodin <joy-packages@debian.org>
Architecture: i386
Version: 1.21alpha2-2
Depends: libc6 (>= 2.3.2-1)
Suggests: gcc, gpc
Filename: pool/main/p/p2c/p2c_1.21alpha2-2_i386.deb
Size: 313000
MD5sum: 7aabb0f65f83c79701b97503b16d8881
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.
Marsh Posté le 27-04-2004 à 19:17:58
ok merci!
mais c'est un package pour debian non?
comment je peux lire le code source de ce package?
je suis desolé pour ces question mai je suis tres doué dans le domaine de la programmation et tout ce que ca touche....
@+
lyim
Marsh Posté le 27-04-2004 à 19:22:09
oui
google p2c
http://www.gnu.org/directory/devel/conversion/p2c.html
Marsh Posté le 27-04-2004 à 19:03:44
salut a tous
je voudrais savoir si vous avez deja programmé un traducteur pascal->C?
si oui comment faut il faire??? avez vous un prog deja fait que je puisse etudier?
merci
@+
lyim