Title
Enhancing software productivity through templating
Abstract
The paper presents Template Reusability in Programs (TRIP), a programming support environment that increases software productivity through the reuse of code fragments, objects, and logic sets encoded in templates. Templates are procedures that preprocess the source code before it is submitted to a compiler. Preprocessing results in the generation of code segments, which are inserted into one or more locations in a given target code, based on logic rules embedded in templates.To provide the templates with information about the source code as it is being scanned, a directive process matches user-defined patterns in the source code. Directives are responsible for the execution of templates according to the appearance of the user-defined patterns in the source code.The templates are customizable. They can be modified to produce target codes that follow the user's programming standards and styles. In addition, sets of templates may be used to generate codes for different operating environments from the same source code. A salient feature of TRIP is that templates support both the development and maintenance phases of the software life-cycle.The paper describes TRIP's concept of templating, its language, and the image specification and pattern-matching directives. TRIP has been used at Software Brewers, Inc., in the implementation of two software projects: CC2 (a compiler-compiler) and XCobol (a commercial package that generates business application programs in Cobol).
Year
DOI
Venue
1992
10.1016/0950-5849(92)90136-D
Information & Software Technology
Keywords
Field
DocType
SOFTWARE PRODUCTIVITY, AUTOMATIC PROGRAMMING, REUSABILITY
Static program analysis,Programming language,Software engineering,Source code,Computer science,Redundant code,Code generation,KPI-driven code analysis,Software development,Software framework,Code review
Journal
Volume
Issue
ISSN
34
9
0950-5849
Citations 
PageRank 
References 
0
0.34
4
Authors
3
Name
Order
Citations
PageRank
R. A. Tenazas100.34
Arturo I. Concepcion2516.58
R. M. Villafuerte300.68