PDA

View Full Version : C to Pascal



K-Man
22-08-2002, 04:55 PM
Does anyone know of a website with a good guide for converting advanced C language (DOS 32-bit programs) into Pascal (Delphi). ?:|

Biggles
22-08-2002, 05:15 PM
Have you tried looking through Dr Bob (http://www.drbob42.com/)

Graham L
22-08-2002, 05:28 PM
Google, given "C to Pascal" gave some suggestions. Apart from an Applescript which uses BBEdit on the Macintosh, the first match -- anb article on a C to Ada converter is worth reading. The "C to pascal - Delphi" listing might help. Further down, ctopas.rar.

But by "advanced" C, I suppose you mean "code with LOTS of bugs" :D.

The trouble is that you need to understand the initial code, and I always find that a problem with C code.

Watch for the 15 (:O) levels of precedence in booleans. Watch for the order in which side effects are applied. Good luck. (I have gone the other way, under protest). ;-)