🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #272

Re: need a C to Pascal converter

#272
From: david
Date: Wed, 05 Mar 1986 15:02
19 lines
1367 bytes
You will not find a good one, I am sorry to say, even if one exists.

That is because C allows many things that pascal does not.  Only if C
was a subset of Pascal would it be possible to make a good one.  

You could, perhaps, "throw something together" using yacc/lex which would 
do SOME conversion, but you will never find -or make- a good one.

You might be better off to get a Pascal which is compatible with C
calling conventions, and then just build hybrid systems.

This is not a maintenance nightmare, as might it sound.  Only reliable
code should be used anyway, and reliable code is simple, and therefore
easy for anyone to hack with even if its in C.

david smyth

seismo!unido!ztivax!david
Technical Details
Message-ID: <8700001@ztivax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!genrad!panda!talcott!harvard!seismo!mcvax!unido!ztivax!david
References: <1684@teklds.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!genrad!panda!talcott!harvard!seismo!mcvax!unido!ztivax!david
From: david@ztivax.UUCP
Newsgroups: net.lang.pascal
Subject: Re: need a C to Pascal converter
Message-ID: <8700001@ztivax.UUCP>
Date: Wed, 5-Mar-86 10:02:00 EST
Article-I.D.: ztivax.8700001
Posted: Wed Mar  5 10:02:00 1986
Date-Received: Sat, 8-Mar-86 02:48:15 EST
References: <1684@teklds.UUCP>
Sender: notes@unido.UUCP
Lines: 20
Nf-ID: #R:teklds:-168400:ztivax:8700001:000:704
Nf-From: ztivax!david    Mar  5 15:02:00 1986