Abstract
A finite-state machine is called a Thompson machine if it can be constructed from a regular expression using Thompson’s construction. We call the underlying digraph of a Thompson machine a Thompson digraph. We establish and prove a characterization of Thompson digraphs. As one application of the characterization, we give an algorithm that generates an equivalent regular expression from a Thompson machine in time linear in the number of states.
This research was supported under a grant from the Research Grants Council of Hong Kong SAR. It was carried out while the first and second authors were visiting HKUST.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho and J.D. Ullman. The Theory of Parsing, Translation, and Compiling, Vol. I: Parsing. Prentice-Hall, Inc., Englewood Cliffs, NJ, 1972.
A. Bruggemann-Klein and D. Wood. The validation of SGML content models. Mathematical and Computer Modelling, 25:73–84, 1997.
P. Caron and D. Ziadi. Characterization of Glushkov automata. Theoretical Computer Science, 1998. To appear.
D. Giammarresi, J.-L Ponty, and D. Wood. The Glushkov and Thompson constructions: A synthesis. Unpublished manuscript, July 1998. URL: http://www.cs.ust.hk/tcsc/RR/1998-11.ps.gz.
D. Giammarresi, J.-L Ponty, and D. Wood. A characterization of Thompson digraphs. Unpublished manuscript, January 1999. URL: http://www.cs.ust.hk/tcsc/RR/1999-2.ps.gz.
B. G. Mirkin. An algorithm for constructing a base in a language of regular expressions. Engineering Cybernetics, 5:110–116, 1966.
S. Sippu and E. Soisalon-Soininen. Parsing Theory: I Languages and Parsing. EATCS Monographs on Theoretical Computer Science, Volume 15. Springer-Verlag, New York, NY, 1988.
K. Thompson. Regular expression search algorithm. Communications of the ACM, 11:419–422, 1968.
D. Wood. Theory of Computation. John Wiley & Sons, Inc., New York, NY, second edition, 1998. In preparation.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Giammarresi, D., Ponty, JL., Wood, D. (2001). Thompson Digraphs: A Characterization. In: Boldt, O., Jürgensen, H. (eds) Automata Implementation. WIA 1999. Lecture Notes in Computer Science, vol 2214. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45526-4_9
Download citation
DOI: https://doi.org/10.1007/3-540-45526-4_9
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42812-1
Online ISBN: 978-3-540-45526-4
eBook Packages: Springer Book Archive