[comp.binaries.ibm.pc.d] PascaltoC

appel@ocf.Berkeley.EDU (Shannon D. Appel) (12/10/90)

Is anyone aware of either a MSDOS pascaltoC program in binary, or the
C code for a non-system specific converter?

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

In article <APPEL.90Dec10034411@bigbang.ocf.Berkeley.EDU> appel@ocf.Berkeley.EDU (Shannon D. Appel) writes:
>Is anyone aware of either a MSDOS pascaltoC program in binary, or the
>C code for a non-system specific converter?

An extract from /pc/ts/tsfaq14.arc FAQ collections (available by
anonymous ftp e.g. from uwasa.fi archives). 

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.

...................................................................
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