Eli   Documents

General Information

 o Eli: Translator Construction Made Easy
 o Global Index
 o Frequently Asked Questions
 o Typical Eli Usage Errors

Tutorials

 o Quick Reference Card
 o Guide For new Eli Users
 o Release Notes of Eli
 o Tutorial on Name Analysis
 o Tutorial on Scope Graphs
 o Tutorial on Type Analysis
 o Typical Eli Usage Errors

Reference Manuals

 o User Interface
 o Eli products and parameters
 o LIDO Reference Manual
 o Typical Eli Usage Errors

Libraries

 o Eli library routines
 o Specification Module Library

Translation Tasks

 o Lexical analysis specification
 o Syntactic Analysis Manual
 o Computation in Trees

Tools

 o LIGA Control Language
 o Debugging Information for LIDO
 o Graphical ORder TOol

 o FunnelWeb User's Manual

 o Pattern-based Text Generator
 o Property Definition Language
 o Operator Identification Language
 o Tree Grammar Specification Language
 o Command Line Processing
 o COLA Options Reference Manual

 o Generating Unparsing Code

 o Monitoring a Processor's Execution

Administration

 o System Administration Guide

Mail Home

New Features of Eli Version 4.2

Previous Chapter Next Chapter Table of Contents


New token processor lexerr

The token processor lexerr reports that the character sequence is not a token. It does not alter the initial classification, and does not compute a value.

Normally, a lexical analyzer generated by Eli attaches an error report to each character that it does not recognize. While this behavior is adequate in most cases, it is sometimes necessary for the designer to specify a particular sequence of characters to be erroneous. One typical example is disallowing tab characters:

        TAB     [lexerr]

The canned description TAB handles all of the coordinate updating (see Maintaining the source text coordinates of Lexical Analysis). Since there is no label on this line, the tab character is classified as a comment. That classification is not changed by lexerr, which simply reports a token error at the coordinates of the tab (see Making White Space Illegal of Lexical Analysis).

There is no source file for lexerr; it is a component of the scanner itself, but its interface is exported so that it can be used by other modules.


Previous Chapter Next Chapter Table of Contents