How to convert C to Delphi / Object Pascal / Free Pascal

If you’re a Delphi or Freepascal programmer, this is a nice way to convert C code and header files to Delphi.
It is able to convert functions, arguments, procedures, for loops, case statements, enums, structs, 2 and 1 dimensional arrays, and many common functions like (srcpy, strcat, strlen, printf, argv, argc and many more…) and Classes.

To check the code it uses the DelphiAST and to execute in the program (to test it before you use it in Delphi), it uses DWS to run the code, by pressing F9.

Click here to Download