XTRAN User's Manual

COPYRIGHT 2016 by XTRAN, LLC; reproduction prohibited without permission

Chapter 1 ("mini" for demo)

(This chapter revised June 30, 2004)

XTRAN is a specialized expert system developed by XTRAN, LLC for the symbolic manipulation of computer languages:  Second generation or 2GL (assembly) languages, third generation or 3GL languages, fourth generation or 4GL languages, scripting languages, markup languages, and data base languages — in fact, any well-defined computer language.  XTRAN provides the ability to analyze, translate, re-engineer, and generate these languages.

The following is a brief overview of XTRAN's capabilities.  For more information, please contact XTRAN, LLC.

Code analysis

XTRAN can analyze all of the computer languages it accommodates.  When analyzing, XTRAN is configured with one or more input languages, and operates in three phases:

The fact that XTRAN's code analysis is driven by user-specified rules means that complex analyses can be set up and executed quickly.  And, of course, analysis rules that prove to be generally useful can be saved and reused as desired.

Code translation

XTRAN can translate a variety of source languages, including assembly languages, into a variety of target languages.  When translating, XTRAN is configured with one or more input languages and one or more output languages, and operates in four phases:

XTRAN's translation phase is guided by user-editable rules, which specify the target code to be generated for each source language operator or statement.  XTRAN is not a mechanical, line by line translator; it is fully symbolic, and its sophisticated rules capability works on an entire body of code at a time.

Code improvement and re-engineering

XTRAN can also be configured to provide the ability to improve existing code through structuring, standardization, and any other rule-driven transformation.  This includes the ability to enforce programming standards and conventionsXTRAN can provide this code improvement capability for all of the languages it accommodates.  It includes the ability to apply XTRAN's sophisticated rule-based behavior to code improvement and standardization.  An example is structuring poorly structured code.

XTRAN can re-engineer a variety of source languages, including assembly languages.  When doing so, XTRAN is configured with one or more input languages and the same output languages, and operates in four phases:

XTRAN's re-engineering phase is guided by user-editable rules, which specify the operations to be performed on the input language before it is output.

Code generation

XTRAN provides the capability of generating target code from any higher-level language.  It is even possible to custom design computer languages as needed and have XTRAN compile them into 3GL code.  XTRAN's user-specified rule capabilities allow sophisticated code generation, not just mechanical expansion.

XTRAN can generate essentially any computer language.  When doing so, XTRAN is configured with one or more input languages and one or more output languages, and operates in four phases:

XTRAN's code generation phase is guided by user-editable rules, which specify the operations to be performed.