Article View: comp.lang.pascal.borland
Article #13Re: Looking for a Pascal to C converter
From: Tom Wheeley
Date: Thu, 23 Nov 1995 00:05
Date: Thu, 23 Nov 1995 00:05
30 lines
1827 bytes
1827 bytes
In article <30B190CD.84C@adpt.co.il> adar@adpt.co.il "Adar Wesley" writes: > Are there different programs called p2c? I ask this because a while back I > used a p2c program and SunOS which did a very poor job in recognizing > nonstandard UNIX Pascal. That is, it was very specific to the standard Pascal > on the same OS. That particular Pascal was very limited. I remember trying to > convert a program which came from TURBO Pascal and that particular version of > p2c could not handle it. Well, the Linux program I saw had a command-line switch for Turbo Pascal. Anyway, I have seen two DOS programs which do this task already :) From Garbo: /pc/c-lang tptc17sc.lzh Turbo Pascal to C translator (source) tptc17tc.lzh TP to C transl. (test cases) tptcexe.lzh TP to C transl. (exe + doc) tptcinfo.lzh TP to C transl. (info) tptcsup.lzh TP to C transl. (support files) Although I think the .lzh extension implies it is quite old. There is also a pascal to c translator on SimTel in /msdos/c -- check the 00_index.txt in that dir for details. -- Tom Wheeley, <holyhorns>, MAMSWWBUW * TQ 1.0 * The 'Just So Quotes'. Artificial Intelligence: the art of making computers that behave like the ones in movies. -- Bill Bulko
Technical Details
Message-ID:
<817085112snz@tsys.demon.co.uk>Path:
arc1-ca.pugleaf.net!mail2news.demon.co.uk!tsys.demon.co.ukReferences:
<30A8D94D.6CD7@adpt.co.il> <30AB8E4B.175D@rl.ac.uk> <816567571snz@tsys.demon.co.uk> <30B190CD.84C@adpt.co.il>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!tsys.demon.co.uk From: Tom Wheeley <tomw@tsys.demon.co.uk> Newsgroups: comp.lang.pascal.borland,comp.lang.c Subject: Re: Looking for a Pascal to C converter Date: Thu, 23 Nov 95 00:05:12 GMT Organization: Tomsystems Message-ID: <817085112snz@tsys.demon.co.uk> References: <30A8D94D.6CD7@adpt.co.il> <30AB8E4B.175D@rl.ac.uk> <816567571snz@tsys.demon.co.uk> <30B190CD.84C@adpt.co.il> Reply-To: tomw@tsys.demon.co.uk X-NNTP-Posting-Host: tsys.demon.co.uk X-Newsreader: Demon Internet Simple News v1.30