home *** CD-ROM | disk | FTP | other *** search
- Article 728 of net.sources:
- Path: mcdsun!noao!hao!hplabs!sri-unix!husc6!seismo!rochester!ur-tut!ur-cvsvax!srs!dan
- From: dan@srs.UUCP (Dan Kegel)
- Newsgroups: net.sources,comp.sys.ibm.pc
- Subject: new Pascal to C translator
- Message-ID: <141@srs.UUCP>
- Date: 26 Mar 87 14:06:29 GMT
- Organization: S.R.Systems
- Lines: 1133
- Xref: mcdsun net.sources:728 comp.sys.ibm.pc:2820
-
- Here's a Pascal to C translator which correctly handles function,
- procedure, and most type declarations (yay!). It is adapted from p2c.c 1.1 of
- the mod.sources archives; I suppose it should be called "p2c, version 2.0".
- I wrote it in anticipation of a need to convert a VERY large Turbo Pascal
- program, but the need never arose... so the resulting program is untested
- and unpolished. Nevertheless, it should be interesting and useful to those
- willing to play with it a bit.
- Cheers,
- Dan Kegel
- seismo!rochester!srs!dan
-
- p.s. Hi, Rick!
-
-