Browse Prior Art Database

Language Processing Language, Predefined Symbol Section

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

Publishing Venue

IBM

Related People

Hidalgo, DS: AUTHOR

Abstract

Disclosed is a feature of the LANGUAGE PROCESSING LANGUAGE (LPL) that supports the definition of tokens that comprise the vocabulary or predefined symbols of a formal language as a symbol set. Processing of such definitions by an LPL translator results in the automatic generation of source code that implements the management of such symbol set during the execution of the formal language translator. Any formal language requires a set of symbols that have special meaning in the language. These symbols are in fact the vocabulary of the language. By defining the predefined symbol set as part of the translator design written in LPL, the symbols in that set may be used in the syntax definition of the language.

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

Language Processing Language, Predefined Symbol Section

       Disclosed is a feature of the LANGUAGE PROCESSING
LANGUAGE (LPL) that supports the definition of tokens that comprise
the vocabulary or predefined symbols of a formal language as a symbol
set. Processing of such definitions by an LPL translator results in
the automatic generation of source code that implements the
management of such symbol set during the execution of the formal
language translator. Any formal language requires a set of symbols
that have special meaning in the language. These symbols are in fact
the vocabulary of the language. By defining the predefined symbol set
as part of the translator design written in LPL, the symbols in that
set may be used in the syntax definition of the language.

      LPL's Predefined Symbol Section formal syntax is given in Fig.
1.  The section is named by "Identifier". This name is assigned by an
LPL translator to the abstract symbol table created in the
mechanically generated header file. A configuration directive that
controls the size of the table is expected after the name of the
section.  A list of Predefined Symbols follows the table size
directive.  The syntax for the definition of this list is shown in
Fig. 2.

      The ability to list and integrate the vocabulary of a formal
language with the rest of its basic translator design is a step in
achieving  LPL's goal of automated design consistency management. By
defining a formal language vocab...