Path: utzoo!attcan!uunet!decwrl!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!jato!rrunner!eldred From: eldred@rrunner.jpl.nasa.gov (Dan Eldred) Newsgroups: comp.lang.pascal Subject: Re: pascal to c convertion utility Message-ID: <1990Oct8.181700.19794@jato.jpl.nasa.gov> Date: 8 Oct 90 18:17:00 GMT References: <1990Oct6.143007.1199@usenet.ins.cwru.edu> Sender: news@jato.jpl.nasa.gov Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 20 Nntp-Posting-Host: rrunner.jpl.nasa.gov In article <1990Oct6.143007.1199@usenet.ins.cwru.edu> rlm@po.CWRU.Edu (Robert L. Mullen) writes: > >Is there a pascal to C source conversion utility availble ?? >PD would be perfered. > I have used p2c, a pascal to C converter, for some time and I find it to be quite good. I have found archives in labrea.stanford.edu and mcsun.eu.net. Someone wrote me that it was on csvax.caltech.edu, but I have not been able to do anonymous login to that. p2c supports multiple dialects of pascal including units and conformant arrays (with gcc). I had some minor difficulty building the executables on a Sun-4 with cc but was able to sort them out from the error messages and doing some minor editing of some of the #defines in the source code. -------------------------------------------------------------------------------- --Dan Eldred eldred@csi.jpl.nasa.gov --------------------------------------------------------------------------------