Publications Details

Publications / Report

LEXER: A tool for lexical analysis of program input

Kephart, E.M.

LEXER is a useful tool for lexical analysis. It is designed to give an application programmer the ability to write code that will quickly parse commands to an interactive program. It is also useful in parsing character data stored in a file. This is done by lexically analyzing the input character string and placing its components and related information into arrays stored in common blocks. The code is written in FORTRAN which conforms to the ANSI Standard FORTRAN 77 in all but a few carefully documented areas. 2 refs.