GENERAL DESCRIPTION
The POWER2C® family of software translator tools converts existing MultiChart PowerLanguage programs to C. The powerful dual conversion POWER2C® translators accept PowerLanguage programs, 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 PowerLanguage are converted to calls to external procedure. (Get sample translation) The translator family currently supports the following MultiChart PowerLanguage dialects: For other dialects or custom translation, please contact us for a price quote.
- TYPE 1 - MultiChart PowerLanguage
- ORDER: POWER2C type xx ( select one from above)
The POWER2C® translators contain a syntax analyzer, a PowerLanguage to tertiary converter, and a tertiary to C converter. The syntax analyzer scans the PowerLanguage input file for syntactic errors and generates a listing file of the PowerLanguage program. Any syntactic errors will be flagged with detailed English messages in the listing file. If no errors are encountered, then the PowerLanguage input file is converted to tertiary language.
The transfer of the PowerLanguage 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 PowerLanguage program.
PowerLanguage STATEMENTS SUPPORTED:
assignment statement
procedure statement
compound statement
while statement
repeat statement
for statement
if statement
while statement
case statement
with statement
empty statement
PowerLanguage TYPES SUPPORTED:
Scalar type
Subrange type
String type
Array type
Record type
Set type
File type
Pointer type
|