Work

LAMB - A Lexical Analyzer with Ambiguity Support

Year: 2011
Type: conference-paper
Abstract: Lexical ambiguities may naturally arise in language specifications. We present Lamb, a lexical analyzer that captures overlapping tokens caused by lexical ambiguities. This novel technique scans through the input string and produces a lexical analysis graph that describes all the possible sequences of tokens that can be found within the string. The lexical graph can then be fed as input to a parser, which will discard any sequence of tokens that does not produce a valid syntactic sentence. In summary, our approach allows a context-sensitive lexical analysis that supports lexically-ambiguous language specifications.
Authors: Luis Quesada, Fernando Berzal, Francisco J. Cortijo
Language: English
Subfield: Software
Open Access status: hybrid
OpenAlex ID: W4214692711
FWCI: 1.143
Cites:
Cited by: 11
Related to: 10