lang/ptoc 3.58_1 DragonFly
ANSI/Turbo Pascal to C/C++ converter
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- lang
- Package size
- 165.8 KiB, 771.8 KiB installed
Description
This is yet another ANSI/Turbo Pascal to C/C++ converter together with BGI graphics library emulation for X Window System.
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). Now it is tuned for Oregon Pascal-2 V2.1 which has few extensions to standard Pascal.
Converter can produce both C++ and C output.
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.
Also emulation libraries of Borland Graphics Interface (BGI) for X Window System included in this distribution (BGI emulators can be also used without converter for C programs using BGI).
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | lang/ptoc | 3.58_1 |
| FreeBSD | lang/ptoc | 3.58_1 |
| HardenedBSD | lang/ptoc | 3.58_1 |
| GhostBSD | lang/ptoc | 3.58_1 |
Install
Binary package:
pkg install ptoc
From DPorts:
cd /usr/dports/lang/ptoc && make install clean
Dependencies
Run dependencies 1
No port depends on this one.