Article View: comp.text
Article #1156web2c as a pascal compiler
From: Rick Richardson
Date: Mon, 30 Oct 1989 18:02
Date: Mon, 30 Oct 1989 18:02
19 lines
1401 bytes
1401 bytes
In article <782@shelby.Stanford.EDU> raghu@fergvax.unl.edu (Raghu V. Hudli) writes:
> I am interested to know if web2c can be used to convert any Pascal
>program to C as it is done for TeX programs. If it can be could you please
>let me know how it can be done, like what do I need in the .defines file,
>etc.
Long before web2c could convert *all* of the TeX distribution, I
used the "ptoc" Pascal to C compiler (find it in the USENET source
archives) to build Metafont and friends. It worked fine; I think
I only had to tweak the "else/otherwise" and extern/external keyword
names (which aren't standard Pascal, anyway).
-Rick
--
Rick Richardson | Looking for FAX software for UNIX/386 ?????? mention
PC Research,Inc.| WE'RE SHIPPING your
uunet!pcrat!rick| Ask about FaxiX - UNIX Facsimile System (tm) FAX #
(201) 389-8963 | Or JetRoff - troff postprocessor for the HP {Laser,Desk}Jet
Technical Details
Message-ID:
<1989Oct30.180250.10758@pcrat.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!samsung!ginosko!uunet!pcrat!rickReferences:
<782@shelby.Stanford.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!samsung!ginosko!uunet!pcrat!rick From: rick@pcrat.uucp (Rick Richardson) Newsgroups: comp.text Subject: web2c as a pascal compiler Message-ID: <1989Oct30.180250.10758@pcrat.uucp> Date: 30 Oct 89 18:02:50 GMT References: <782@shelby.Stanford.EDU> Reply-To: rick@pcrat.UUCP (Rick Richardson) Organization: PC Research, Inc., Tinton Falls, NJ Lines: 19