Browse Prior Art Database

Language Processing Language, Lexical Section Definition

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

Publishing Venue

IBM

Related People

Hidalgo, DS: AUTHOR

Abstract

Disclosed is a feature of the LANGUAGE PROCESSING LANGUAGE (LPL) that supports the abstract definition of the lexical processing parameters for a formal language as a logical entity that can be mechanically related to the rest of the translator design in order to automatically maintain design consistency.

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

Language Processing Language, Lexical Section Definition

       Disclosed is a feature of the LANGUAGE PROCESSING
LANGUAGE (LPL) that supports the abstract definition of the lexical
processing parameters for a formal language as a logical entity that
can be mechanically related to the rest of the translator design in
order to automatically maintain design consistency.

      Associated with the process of scanning the input source to
build lexical symbols are several parameters that are needed to
support customizing of the scanner function. The most important of
these parameters are: (1) User-defined name for the Input Symbol
Memory Buffer, (2) Optional user-defined name for the Input Source,
(3) Optional user-defined name for Output Source, (4) Optional
user-defined name for the Read Function, (5) Optional user-defined
name for the Write Function, (6) Optional user-defined name for the
Unread Function, (7) Optional supported Character Codepages
declaration, (8) Optional Character Class definitions, (9) Lexical
Rule definitions, (10) Lexical Context definitions. Since all of
these parameters are related and some of them are interdependent, it
becomes a design necessity to have a logical and coherent high-level
syntactic structure in LPL for specifying all lexical parameters.

      The syntax of the Lexical Section Definition is shown in the
figure. This feature provides the syntactic structure that defines
the lexical set of parameters as a coherent set of def...