GENERAL DESCRIPTION
The PAS2C® family of software translator tools converts existing PASCAL programs to C. The powerful dual conversion PAS2C® translators accept PASCAL programs in numerous dialects, check their syntax, analyze the syntax tree and generate C source code. Comments are moved transparently from the source file to the target file. Any built-in functions for math, string manipulation, and I/O in PASCAL are converted to calls to external procedure. (see sample translation) The translator family currently supports the following PASCAL dialects: For other dialects or custom translation, please contact us for a price quote.
- TYPE 1 - Standard Pascal
- TYPE 2 - Borland Turbo Pascal ver 3.0
- TYPE 3 - Borland Turbo Pascal ver 7.0
- TYPE 4 - Microsoft Pascal
- TYPE 5 - HP-UX Pascal
- TYPE 6 - HP-UX Workstation
- TYPE 7 - Oregon Software Pascal
- TYPE 8 - VAX Pascal
- TYPE 9 - Modula 2 Pascal
- TYPE 10 - USCD Pascal
- TYPE 11 - TI Pascal
- TYPE 12 - Object Pascal
- TYPE 13 - Intel Pascal-86
- TYPE 14 - SVS Pascal
- TYPE 15 - Workshop Pascal (Macintosh)
- TYPE 16 - Sun Pascal
- TYPE 17 - Apollo PASCAL
- TYPE 18 - Berkeley PASCAL
- TYPE 19 - HP Pascal/64000
- TYPE 20 - IBM AIX Pascal
- TYPE 21 - Tektronix Pascal
- TYPE 22 - Motorola Pascal
- TYPE 23 - Delphi Pascal
- TYPE 24 - Pro-Pascal
- TYPE 25 - MVS Pascal
- TYPE 26 - Honeywell Pascal TotalPlant Alcont and Printa
- TYPE 27 - Object Pascal Delphi for Windows
ORDER: PAS2C type xx ( select one from above)
The PAS2C® translators contain a syntax analyzer, a PASCAL to tertiary converter, and a tertiary to C converter. The syntax analyzer scans the PASCAL input file for syntactic errors and generates a listing file of the PASCAL program. Any syntactic errors will be flagged with detailed English messages in the listing file. If no errors are encountered, then the PASCAL input file is converted to tertiary language.
The transfer of the PASCAL source language into an intermediate tertiary language ensures the logical equivalence between the source and target languages. This tertiary language is common to the entire family of our translators. The tertiary language is automatically converted to C while maintaining the logical equivalence between the output C program and the input PASCAL program.
PASCAL STATEMENTS SUPPORTED:
assignment statement
procedure statement
compound statement
while statement
repeat statement
for statement
if statement
while statement
case statement
with statement
empty statement
PASCAL TYPES SUPPORTED:
Scalar type
Subrange type
String type
Array type
Record type
Set type
File type
Pointer type
|