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

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

Pascal to C/C++ converter

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

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++(liunx)Information

Version
3.58
Date
08.04.08
License
Free
Language
English
File Size
263KB
Developer
Category
SubCategory
Operating Systems
Linux
System Requirements
No additional system requirements.
ANSI/Turbo Pascal to C/C++(win) Icon
Pascal to C/C++ converter
Free
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
BGI for Windows Icon
Emulation of Borland Graphic Interface library for MS-Windows (C language)
Free
Jlint Icon
Java code verifier.
Free
More
AutoFlowchart Icon
auto generate N-S chart and flowchart from code and export to WORD,Visio,SVG
Trial
BGI for Windows Icon
Emulation of Borland Graphic Interface library for MS-Windows (C language)
Free
Turbo C++ Icon
Turbo C++ is a free C++ compiler from Borland. It comes with an IDE and debugger.
Free
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
Mobile Phone Investigation Software Icon
Mobile phone investigator with VC++ code provides SIM IMSI, cell IMEI number
Trial
Borland C++ Builder Icon
VCL is a set of functions and classes used to create applications from FunctionX
Demo
Stunnix C and C++ Obfuscator Icon
An advanced tool to make any C/C++ code unreadable and unreworkable.
Trial
More