Pascal to C source code translator

Marko Vojinovic vvmarko at gmail.com
Sun May 22 01:54:34 UTC 2011


On Sunday 22 May 2011 02:23:36 Kevin J. Cummings wrote:
> On 05/21/2011 08:27 PM, JD wrote:
> > This is the sample pascal module:
> This is not PASCAL.  It might very well be Object Pascal, which is a
> (slightly) different language.  Different enough that the p2c compiler
> does not know about the extensions in Object Pascal, so I can see how it
> would fail.  You need to find an Object Pascal to C translator....

AFAIK, an OO language cannot be mapped into a procedural one so easily. Maybe 
you can find an Object Pascal to C++ translator, but I'm not so sure it's 
translatable to just C. Not by a machine, anyway.

HTH, :-)
Marko




More information about the users mailing list