Pennington / Examples

The following examples show how you can use Pennington's XTRAN expert system as a meta-tool to automate virtually any software engineering activity.

XTRAN Examples Menu



* Using XTRAN to Analyze Computer Languages

* Assemblers

* HP (Digital, Compaq) MACRO-11 assembler

* HP (Digital, Compaq) VAX MACRO assembler

* HP (Digital, Compaq) VAX MACRO problem operands

* C

* Structure/union member offsets and sizes

* Cyclomatic complexity

* COBOL

* Symbol usage

* HTML

* Tag & attribute usage

* Imbedded substitution usage

* Natural

* Filter code on statement type, display as HTML(new!)

* PL/I

* Constant/expression PROCEDURE arguments

* Knots (GOTO crossings)

* Highlight File I/O & Display I/O Code(new!)

* XML

* Tag & attribute usage

* Entity reference usage

* Module/Function Cross-References

These examples illustrate the language-independent nature of XTRAN's rules language. They were all produced using exactly the same set of rules.

* C

* Fortran

* Pascal

* PL/I

* PL/M

* Using XTRAN for Year 2000 (Y2K) Impact Analysis

* HP (Digital, Compaq) MACRO-11 assembler

* C

* PL/M



* Using XTRAN to Translate Computer Languages

* Assemblers to C

* HP (Digital, Compaq) MACRO-11 assembler

* HP (Digital, Compaq) VAX MACRO assembler

* Translating user function entry macro in HP (Digital, Compaq) VAX MACRO

* Translating labeled structures in HP (Digital, Compaq) VAX MACRO

* Translating problem operands in HP (Digital, Compaq) VAX MACRO

* Encore (SEL, Gould) assembler

* Translating in-line function arguments in Encore (SEL, Gould) assembler

* Fortran to C

* Translating Fortran COMMONs and EQUIVALENCEs to C

* IBM Series/1 EDL to C

* EDL to C

* Pascal to C

* Pascal to C

* Array subscripts

* Automatically "unnesting" nested procedures & functions

* String operations

* PL/I to C

* PL/I to C

* Translating PROCEDURE arguments

* Translating parameters/arguments as "by value"

* PL/M to C

* PL/M to C

* $INCLUDE implies typedef'd datatype

* CALL Statement

* BASED() attribute, using cast pointers

* $IF/$ELSEIF/$ELSE Statements



* Using XTRAN to Re-Engineer Computer Languages

* C

* Restructuring C (updated!)

* Adding I/O documentation to C (new!)

* Matching & replacing C expressions

* Combining C expression statements

* Eliminating dead C code(new!)

* PL/I

* Restructuring PL/I(new!)

* Eliminating dead PL/I code(new!)



* Using XTRAN to Generate Computer Languages

* Generating HTML image table



* Using XTRAN for Sophisticated Text Processing

* Translating HP (Digital, Compaq) Runoff to HTML

* Translating HP (Digital, Compaq) Runoff to Rich Text Format (RTF)



* Using Multiple XTRAN Capabilities Together

The following example combines XTRAN's analysis, re-engineering, code generation, and text processing capabilities.

* Cross Linking and Indexing HTML Documents



COPYRIGHT 2008; reproduction prohibited without permission.  Revised 2007-09-12

XTRAN is a trademark of Pennington Systems Incorporated; Natural of Software AG; Series/1 and EDL of IBM Corporation; and PDP, VAX, MACRO-11, and VAX MACRO of Hewlett-Packard.

Pennington Systems Incorporated
8655 East Via de Ventura, Suite G200
Scottsdale, Arizona 85258-3321

Phone:  +1(480)626-5503
Fax:  +1(480)626-7618
Email:  Info@Pennington.com
Web:  http://WWW.Pennington.com

[home] Home