ANSI/Turbo Pascal to C/C++(win) Icon

ANSI/Turbo Pascal to C/C++(win)

Pascal to C/C++ converter

ANSI/Turbo Pascal to C/C++(win)Overview

Editor: This is yet another Pascal to C/C++ converter. The primary idea of this converter is to produce readable and supportable code which preserves style of original code as far as possible.
Converter recognizes Pascal dialects which are compatible with Turbo Pascal 4.0/5.0 and ISO Pascal standard - IEC 7185:1990(E) (including conformant arrays). At this moment it was tested with Turbo Pascal, Oregon Pascal, Sun Pascal and HP Pascal.
Converter can produce both C++ and C output. Using of C++ language allows to encapsulate some Pascal types and constructions into C++ classes. So mapping Between Pascal and C++ becomes more direct then between Pascal and C. I use C++ templates to implement Pascal arrays and files. Special template classes are used for conformant arrays. C++ like streams are used to implement Pascal IO routines. The same runtime library is used both for C and C++.
Now PtoC recognizes Turbo Pascal's extensions, such as units, strings, some special types and operations. Turbo Pascal extensions are supported only for C++ language.
At this moment PtoC successfully converts more than 400,000 lines of Oregon Pascal to C (from RSX to OpenVMS). To test C++ translation and conversion of Turbo Pascal extensions I convert BGIDEMO.PAS and LISTER.PAS files from Turbo Pascal distribution and also convert some numeric programs written on Turbo Pascal by My Friends. To check quality of conversion please look in file bgidemo.cxx which was produces from original Borland bgidemo.pas without any manual changes. Moreover it is possible to compile it, link with WinBGI library and run it under Windows or X-Windows.

NEW

Fixed some bugs.

ANSI/Turbo Pascal to C/C++(win)Information

Version
3.58
Date
11.25.08
License
Free
Language
English
File Size
780KB
Developer
Category
SubCategory
Operating Systems
Windows XP, 2000, 98
System Requirements
No additional system requirements.
XmlME Icon
Compact, imple and fats XML parser for J2ME
Free
OODBC for unix Icon
Object adapter for ODBC
Free
Reflection Package for C++(unix) Icon
Extracting type descriptors from debug information
Free
ANSI/Turbo Pascal to C/C++(liunx) Icon
Pascal to C/C++ converter
Free
BGI for Windows Icon
Emulation of Borland Graphic Interface library for MS-Windows (C language)
Free
Jlint Icon
Java code verifier.
Free
More
Turbo C++ Icon
Turbo C++ is a free C++ compiler from Borland. It comes with an IDE and debugger.
Free
Borland C++ Builder Icon
VCL is a set of functions and classes used to create applications from FunctionX
Demo
AutoFlowchart Icon
auto generate N-S chart and flowchart from code and export to WORD,Visio,SVG
Trial
Falcon C++ Icon
C++ IDE easy and complete.
Free
BGI for Windows Icon
Emulation of Borland Graphic Interface library for MS-Windows (C language)
Free
MetaLib Icon
API for developers for reading/writing MetaStock data.
Trial
Game Editor Icon
Game Editor makes creating games quick and simple.
Free
.NET Reactor Icon
Strong native code protection & licensing system for .NET assemblies(EXE & DLL).
Trial
More