Menu

Tree [4eedb0] default tip /
 History

Read Only access


File Date Author Commit
 Sources 2021-10-23 matthieugiroux matthieugiroux [10d2f8] traducing
 Test 2021-10-23 matthieugiroux matthieugiroux [10d2f8] traducing
 .gitignore 2021-10-23 matthieugiroux matthieugiroux [10d2f8] traducing
 AutomaticConversion.log 2021-10-23 matthieugiroux matthieugiroux [10d2f8] traducing
 C2Pascal.dpr 2021-10-24 matthieugiroux matthieugiroux [cf0e3a] compiling not ok
 C2Pascal.lpi 2021-10-24 matthieugiroux matthieugiroux [cf0e3a] compiling not ok
 C2Pascal.lps 2021-10-25 matthieugiroux matthieugiroux [4eedb0] compiling not ok
 LICENSE 2021-10-23 matthieugiroux matthieugiroux [10d2f8] traducing
 README.md 2021-10-23 matthieugiroux matthieugiroux [10d2f8] traducing
 WvN.Pascal.CReader.pas 2021-10-25 matthieugiroux matthieugiroux [4eedb0] compiling not ok
 WvN.Pascal.Model.pas 2021-10-24 matthieugiroux matthieugiroux [cf0e3a] compiling not ok
 c2pascal.forms.main.dfm 2021-10-23 matthieugiroux matthieugiroux [10d2f8] traducing
 c2pascal.forms.main.lfm 2021-10-25 matthieugiroux matthieugiroux [4eedb0] compiling not ok
 c2pascal.forms.main.pas 2021-10-24 matthieugiroux matthieugiroux [cf0e3a] compiling not ok

Read Me

C-To-Delphi

Description

This tool will convert most of your standard C code. .

Download executable here.

It contains a split view, with C on the left and Delphi on the right.
The Delphi code gets updated in realtime when you edit the C code.
The editors are kept in sync, so you can easily find how a specific piece of code was converted.

  • The Syntax checks of the generated code is verified. (uses DelphiAST)
  • You can even run the generated code by pressing F9 (uses DWS)

  • You can drag/drop multiple C files to the application. It'll find the .h files that belong to it, and convert all to .pas files in the same folder.

Features:

  • If function main exists, a program will be generated. Otherwise a pascal unit with interface/implementation sections.
  • Converts routines and arguments
  • Converts for loops
  • Converts case statements
  • Converts structs
  • Converts enums
  • Converts 1 and 2 dimensional arrays
  • Converts many other common routines to Delphi equivalents (strcpy,strcat,strlen,printf,argv,argc,etc)
  • Converts classes

Screenshot

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.