Graph explorer

Lexical State Analyzer

Lexical states provide a powerful mechanism to scan regular expressions in a context sensitive manner. At the same time, lexical states also make it hard to reason about the correctness of the grammar. We first categorize the related correctness issues into two classes: errors and warnings, and then present a context sensitive and a context insensitive analysis to identify errors and warnings in context-free-grammars (CFGs). We also present a comparative study of these analyses. A standalone tool (LSA) has also been implemented by us that can identify errors and warnings in JavaCC grammars. The LSA tool outputs a graph that depicts the grammar and the error transitions. It can also generates counter example strings that can be used to establish the errors. We have used LSA to analyze a host of open-source JavaCC grammar files to good effect.

5 nodes4 linksoverview previewLexical State Analyzer
5 nodes4 links
Lexical State Analyzer5 visible / 5 total nodes / 5 links
Co-authorshipAuthorshipAuthorshipTopic signalTopic signalWLexical State Analyzerpreprint / 2013AKartik GuptaResearcherAV. Krishna NandivadaResearcherTProgramming Languages1239 worksTFormal Languages and Au...714 works
PaperSignal 104 links

Lexical State Analyzer

preprint / 2013

Open