[comp.lang.c] p2c needed

robert@wiliki.eng.hawaii.edu (Robert Morelos-Zaragoza) (12/27/90)

Could someone e-mail me the ftp address where the Pascal-to-C
translator is located?

Thank you very much,

Robert Morelos-Zaragoza

anlhille@rose.ucs.indiana.edu (Joseph Hillenburg) (12/27/90)

In article <10765@uhccux.uhcc.Hawaii.Edu>, robert@wiliki.eng.hawaii.edu (Robert Morelos-Zaragoza) writes...
|Could someone e-mail me the ftp address where the Pascal-to-C
|translator is located?

Ahh..an Amiga person! Try ux1.cso.uiuc.edu. It's in one of the Fish
directories. Not sure which one...

| 
|Thank you very much,
| 
|Robert Morelos-Zaragoza
=============================================================================
| -jph		     IMHO: The "H" means "honest!"                          |
| INET: anlhille@ucs.indiana.edu	  UUCP: iuvax!prism.decnet!anlhille |
| BITNET: anlhille@iurose.bitnet	  DECNET: PRISM::ANLHILLE           |
=============================================================================

ts@uwasa.fi (Timo Salmi) (12/27/90)

In article <10765@uhccux.uhcc.Hawaii.Edu> robert@wiliki.eng.hawaii.edu (Robert Morelos-Zaragoza) writes:
>Could someone e-mail me the ftp address where the Pascal-to-C
>translator is located?

6. *****
 Q: I'm looking for a program to convert Turbo Pascal code
automatically to C.

 A: To find utilities for such a specific purpose the very first
thing to do is to look through file lists. At uwasa.fi there are
useful file lists such as /pc/INDEX, /pc/pd2/simibm.arc, and
/pc/pd2/files-mm.zip. Here is some information as an example:
 From simibm (Simtel20 file list) ---------------------------------
 T2C.ARC        Microsoft's Turbo Pascal to C translator
 TPTC17.ARC     Turbo Pascal to C translator, 1of4
 TPTC17SC.ARC   Turbo Pascal to C - src for translator, 2of4
 TPTC17TC.ARC   Turbo Pascal to C - test cases, 3of4
 TPTCINFO.ARC   Info on Turbo Pascal to C translator, 4of4
 From files-mm (Micro Maniacs Opus file list) ---------------------
 PTOC.ZIP       79789           Pascal To C Conversion Program.
 TPC.ZIP        26262           Converts TurboPascal to C.
 GLOCKEN.ZIP   112240 01/15/88  Glockenspiel Turbo Pascal to 'C'
 TPTOQC.ZIP    112062 12/01/87  Translate Turbo Pascal to Quick 'C'
 TPAS2MSC.ZIP  111884 12/10/89  MS Convert Turbo Pascal to MS C
 I've also heard positive comments on a P2C, but I do not know where
it is available.
 From: raymond@math.berkeley.edu (Raymond Chen)
 Two different Pascal-to-C converters are available from a
comp.sources.unix archive near you.
 volume10: ptoc/part[01-02]     Pascal to C translator
 volume13: pas2c.pch            Patches for Pascal-to-C translator
 volume21: p2c/part[01-32]         Pascal to C translator
     "     p2c/patch1              Fix to incomplete shar files for p2c, Patch1
 p2c is by Dave Gillespie.  It understands several Pascal dialects
(HP, partial Turbo, etc) and is very flexible and configurable. It
has been compiled and used on Sun-3's, so presumably it is fairly
portable among 32-bit Unix machines.
 The p2c package is also available for ftp from csvax.caltech.edu.
Note, however, that although it can translate PC dialects of Pascal,
the converter itself runs under UNIX.

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun