Compilers: principles, techniques, and tools
Compilers: principles, techniques, and tools
Parsing theory. Vol. 1: languages and parsing
Parsing theory. Vol. 1: languages and parsing
Characterization of Glushkov automata
Theoretical Computer Science
Programming Techniques: Regular expression search algorithm
Communications of the ACM
The Theory of Parsing, Translation, and Compiling
The Theory of Parsing, Translation, and Compiling
Formal languages and their relation to automata
Formal languages and their relation to automata
The validation of SGML content models
Mathematical and Computer Modelling: An International Journal
Obtaining shorter regular expressions from finite-state automata
Theoretical Computer Science
Fundamenta Informaticae
Simple-regular expressions and languages
Journal of Automata, Languages and Combinatorics
Series-Parallel Automata and Short Regular Expressions
Fundamenta Informaticae
Shorter regular expressions from finite-state automata
CIAA'05 Proceedings of the 10th international conference on Implementation and Application of Automata
Series-Parallel Automata and Short Regular Expressions
Fundamenta Informaticae
Fundamenta Informaticae
Hi-index | 0.05 |
A finite-state machine is called a Thompson machine if it can be constructed from an empty-free regular expression using the construction of Thompson as modified by Hopcroft and Ullman. We call the underlying digraph of a Thompson machine a Thompson digraph. We characterize Thompson digraphs and we give an algorithm that generates an equivalent regular expression from a Thompson machine that has size linear in the total number of states and transitions. Although the algorithm is simple, it is novel in that the usual constructions of equivalent regular expressions from finite-state machines produce regular expressions that have size exponential in the size of the given machine, in the worst case. The algorithm provides a tentative first step in the construction of small expressions from finite-state machines.