Browse Prior Art Database

Language Processing Language, Code Control Options

IP.com Disclosure Number: IPCOM000108228D
Original Publication Date: 1992-May-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 2 page(s) / 64K

Publishing Venue

IBM

Related People

Hidalgo, DS: AUTHOR

Abstract

Disclosed is a feature of the LANGUAGE PROCESSING LANGUAGE (LPL) that supports the interface between the compilable code mechanically generated by an LPL translator from a Language Definition File (LDF) and the manually written code. When interfaced to function as a single program the two comprise the translator for the language designed using LPL. The disclosed feature supports this interface by allowing the designer to control the placement in memory of the initialized data structures that are part of the mechanically generated code.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 64% of the total text.

Language Processing Language, Code Control Options

       Disclosed is a feature of the LANGUAGE PROCESSING
LANGUAGE (LPL) that supports the interface between the compilable
code mechanically generated by an LPL translator from a Language
Definition File (LDF) and the manually written code. When interfaced
to function as a single program the two comprise the translator for
the language designed using LPL. The disclosed feature supports this
interface by allowing the designer to control the placement in memory
of the initialized data structures that are part of the mechanically
generated code.

      The C language implementation of the mechanically generated
code uses manifest constants to conditionally allow the compile time
data declared in a mechanically generated C language header file to
be processed by the C compiler only once during the compilation of
the multiple C language source modules that need include such header
file. These manifest constants must be defined by one of the manually
written modules. Under certain operating systems, such as OS/2*, the
translation data included in the mechanically generated C language
header file will be placed by default in read/write memory. Using the
Code Control Options hereby disclosed, a different manifest constant
can be specified in the LDF design contained, that is used by an LPL
translator to place all the mechanically generated static translation
data into read-only memory controlled by the manually written cod...