Pascal to C translator
Dan Eldred
eldred at de_csi.jpl.nasa.gov
Thu May 31 02:36:18 AEST 1990
In article <19903 at duke.cs.duke.edu> crm at 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
More information about the Comp.lang.c
mailing list