← Back to Patent Explorer
US5715460A Expired / Lapsed US ⏱️ 0.0 years remaining

Template based facility for formatting compiler output

Assignee: International Business Machines Corp
•
Filing: 1994-10-31
•
Granted: 1998-02-03
•
Expires: 2014-10-31
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract The format of an output file from a compiler is altered using two new objects, a template definition file for specifying the desired formats for the sections of the output file and a template facility for formatting output from the compiler according to the template definition file. The desired formats are specified by patterned sets of symbol names in the template definition file. A symbol table which is maintained by the template facility stores a set of symbol values corresponding to the symbol names. The template facility outputs the section by placing symbol values from the symbol table in the output file according to the positions of the corresponding symbol names in the patterned sets of symbol names.

Inventors

  • 👤 Liane Elizabeth Acker
  • 👤 Michael Haden Conner
  • 👤 Andrew Richard Martin

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-29 22:54
CPC Classifications
G; G06; G06F; G06F8/00; G06F8/40; G06F8/41; G06F8/47

Claims Analysis

Total Claims: 21
Claim 1
Independent Claim 131 words
A system for altering a format of an output file from a compiler comprising: a template definition file, interchangeable with other template definition files, for specifying a desired format for a section of the output file, the template definition file including an ordered set of symbol names arranged according to the desired format; and a template facility using the template definition file and output file from the compiler as input for formatting output from the compiler according to the template definition file to produce the output file section in the desired format, wherein the template facility outputs the section by retrieving symbol values from a symbol table and storing the symbol values in locations in the output file according to a position of the corresponding symbol names in the ordered set.
Claim 2
Independent Claim 131 words
A system for altering a format of an output file from a compiler comprising: a template definition file, interchangeable with other template definition files, for specifying a desired format for a section of the output file, the template definition file including an ordered set of symbol names arranged according to the desired format; and a template facility using the template definition file and output file from the compiler as input for formatting output from the compiler according to the template definition file to produce the output file section in the desired format, wherein the template facility outputs the section by retrieving symbol values from a symbol table and storing the symbol values in locations in the output file according to a position of the corresponding symbol names in the ordered set.
Claim 3
Dependent Claim 17 words
The system as recited in claim 1 wherein the symbol values are placed in a comment format.
Claim 4
Dependent Claim 17 words
The system as recited in claim 1 wherein the symbol values are placed in a list format.
Claim 5
Dependent Claim 29 words
The system as recited in claim 1 wherein the section of the output file corresponds to an element in an interface definition file which is input to the compiler.
Claim 6
Dependent Claim 38 words
The system as recited in claim 1 wherein a plurality of desired formats each for a respective section of the output file are specified by a plurality of ordered sets of symbol names in the template definition file.
Claim 7
Independent Claim 129 words
A method for altering a format of an output file from a compiler comprising: specifying a desired format for a section of the output file in a template definition file interchangeable with other template definition files, the template definition file including an ordered set of symbol names arranged according to the desired format; and formatting output from the compiler according to the template definition file in a template facility which uses the template definition file and output file as input and formats the output file section in the desired format, wherein the formatting step outputs the section by retrieving symbol values from the symbol table and storing the symbol values in locations in the output file according to a position of the corresponding symbol names in the ordered set.
Claim 8
Independent Claim 129 words
A method for altering a format of an output file from a compiler comprising: specifying a desired format for a section of the output file in a template definition file interchangeable with other template definition files, the template definition file including an ordered set of symbol names arranged according to the desired format; and formatting output from the compiler according to the template definition file in a template facility which uses the template definition file and output file as input and formats the output file section in the desired format, wherein the formatting step outputs the section by retrieving symbol values from the symbol table and storing the symbol values in locations in the output file according to a position of the corresponding symbol names in the ordered set.
Claim 9
Dependent Claim 17 words
The method as recited in claim 6 wherein the symbol values are placed in a comment format.
Claim 10
Dependent Claim 17 words
The method as recited in claim 6 wherein the symbol values are placed in a list format.
Claim 11
Dependent Claim 29 words
The method as recited in claim 6 wherein the section of the output file corresponds to an element in an interface definition file which is input to the compiler.
Claim 12
Dependent Claim 38 words
The method as recited in claim 6 wherein a plurality of desired formats each for a respective section of the output file are specified by a plurality of ordered sets of symbol names in the template definition file.
Claim 13
Dependent Claim 148 words
A computer program product in a computer memory for altering a format of an output file from a compiler comprising: the compiler which compiles a source module into the output file; a template definition file, interchangeable with other template definition files, for specifying a desired format for a section of the output file, the template definition file including an ordered set of symbol names arranged according to the desired format; and a template facility having the template definition file and the output file from the compiler as input for formatting output from the compiler according the template definition file to produce the output file section in the desired format, wherein the template facility outputs the section by retrieving symbol values from the symbol table and storing the symbol values in locations in the output file according to a position of the corresponding symbol names in the ordered set.
Claim 14
Dependent Claim 148 words
A computer program product in a computer memory for altering a format of an output file from a compiler comprising: the compiler which compiles a source module into the output file; a template definition file, interchangeable with other template definition files, for specifying a desired format for a section of the output file, the template definition file including an ordered set of symbol names arranged according to the desired format; and a template facility having the template definition file and the output file from the compiler as input for formatting output from the compiler according the template definition file to produce the output file section in the desired format, wherein the template facility outputs the section by retrieving symbol values from the symbol table and storing the symbol values in locations in the output file according to a position of the corresponding symbol names in the ordered set.
Claim 15
Dependent Claim 17 words
The product as recited in claim 11 wherein the symbol values are placed in a comment format.
Claim 16
Dependent Claim 17 words
The product as recited in claim 11 wherein the symbol values are placed in a list format.
Claim 17
Dependent Claim 29 words
The product as recited in claim 11 wherein the section of the output file corresponds to an element in an interface definition file which is input to the compiler.
Claim 18
Independent Claim 167 words
A system for converting a source code module to an object code module in a desired format comprising: a compiler in a system memory for converting the source module into an intermediate code module in a first format; an interchangeable template definition file in the system memory for specifying the desired format, the template definition file in a human readable arrangement of symbol names; an emitter in the system memory having the template definition file and intermediate code module as input for converting the intermediate code module into the object code module, the emitter containing a template facility which refers to the arrangement of symbol names to produce the object code module in the desired format; and a symbol table in which symbol values corresponding to the symbol names are stored by the emitter and from which the symbol values are retrieved by the template facility to store in locations in the object code module according to positions of corresponding symbol names in the template definition file.
Claim 19
Independent Claim 167 words
A system for converting a source code module to an object code module in a desired format comprising: a compiler in a system memory for converting the source module into an intermediate code module in a first format; an interchangeable template definition file in the system memory for specifying the desired format, the template definition file in a human readable arrangement of symbol names; an emitter in the system memory having the template definition file and intermediate code module as input for converting the intermediate code module into the object code module, the emitter containing a template facility which refers to the arrangement of symbol names to produce the object code module in the desired format; and a symbol table in which symbol values corresponding to the symbol names are stored by the emitter and from which the symbol values are retrieved by the template facility to store in locations in the object code module according to positions of corresponding symbol names in the template definition file.
Claim 20
Dependent Claim 49 words
The system as recited in claim 15 wherein the object code module has a plurality of sections each in a respective desired format and the template definition file has a corresponding plurality of human readable arrangements of symbol names each for a respective section of the object code module.
Claim 21
Dependent Claim 43 words
The system as recited in claim 16 wherein an occurrence of a first character set in one arrangement of symbol names in the template definition file causes the template facility to format the corresponding section of the object code in an alternate format.

References Cited (Backward Citations)

US4506325A Cited
US5142681A Cited
US4791558A Cited
US5075847A Cited
US5276881A Cited
US5287490A Cited
US5586323A Cited
US5339438A Cited
US5428792A Cited
US5625822A Cited
US5544316A Cited
US5522079A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2001-02-02 2001-08-04 2002-02-03 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2005-02-02 2005-08-04 2006-02-03 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2009-02-02 2009-08-04 2010-02-03 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag