Xref: utzoo comp.lang.c:29208 comp.lang.pascal:3573 comp.sources.wanted:11920 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!jarthur!elroy.jpl.nasa.gov!jato!de_csi!eldred From: eldred@de_csi.jpl.nasa.gov (Dan Eldred) Newsgroups: comp.lang.c,comp.lang.pascal,comp.sources.wanted Subject: Re: Pascal to C translator Keywords: where can I get one quickly? Message-ID: <3875@jato.Jpl.Nasa.Gov> Date: 30 May 90 16:36:18 GMT References: <19903@duke.cs.duke.edu> Sender: news@jato.Jpl.Nasa.Gov Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 12 In article <19903@duke.cs.duke.edu> crm@romeo.cs.duke.edu (Charlie Martin) writes: > > [stuff deleted] . . . Is anyone aware of a pascal to C translator >that can be obtained easily and for little $$. Ideal would be sources > Try the p2c program at labrea.stanford.edu. I have used it and it seems to work quite well. It is for unix machines, and I have used it on both a Sun Sparc and a Sun 3/60. There are some interesting demo programs, including a simple BASIC interpreter which works both in its original Pascal language and in C, after translation. p2c is written in C, of course. --Dan Eldred