SAL Home PROGRAM Languages & Compilers


PTOC can convert Turbo Pascal as well as ANSI Pascal (with conformant arrays) to C or C++ language. The primary idea of this converter is to produce readable and supportable code which preserves style of original code as far as possible.

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 than between Pascal and C.

Also Borland Graphics Interface (BGI) emulation libraries for X-Windows and Windows-95/NT are included in this distribution. (BGI emulator can be used as separate library without converter) BGI for MS-Windows strictly implements most of BGI functions using WIN32 API calls (direct work with palette is only possible in 256-color Windows mode).

Current Version:   2.01

License Type:   Free

Home Site:

Source Code Availability:   Yes

Available Binary Packages:

  • Debian Package:   No
  • RedHat RPM Package:   No
  • Other Packages:   Yes

Targeted Platforms:

Linux, Digital Unix, Windows-NT/95

Software/Hardware Requirements:


Other Links: (ptoc.*) (ptoc.*)

Mailing Lists/USENET News Groups:


User Comments:

  • None

See A Screen Shot? (Not Yet)

  SAL Home   |   Programming   |   Languages & Compilers

Comments? SAL@KachinaTech.COM
Copyright © 1995-2001 by Herng-Jeng Jou
Copyright © 1997-2001 by Kachina Technologies, Inc.
All rights reserved.