Abstract
Bracket languages play an important role in the syntax analysis of programming languages. We investigate the parallel recognition and analysis of these languages as a first step towards a parallelly working compiler. The main result consists in the design of an appropriate algorithm, which can be executed on hypercubes as well as on related networks with bounded degree. In the average case we can achieve an optimal speed-up, i.e. that q processors can together analyse bracket words of length N in time O(N/q), if we restrict ourselves to employing no more than \(\sqrt N\) processors.
Preview
Unable to display preview. Download preview PDF.
References
I. Bar-On, U. Vishkin: Optimal Parallel Generation of a Computation Tree Form. ACM, Trans. Prog. Lang. and Syst. Vol. 7, No. 2, April 1985, pp. 348–357.
Batcher: Sorting Networks and their Applications. AFIPS Spring Joint Comp. Conf. 32 (1968), pp. 307–314.
R. Cypher, J.L.C. Sanz: Cubesort: An Optimal Sorting Algorithm for Feasible Parallel Computers. LNCS 319, pp. 456–464.
M.J. Fischer, R.E. Ladner: Parallel Prefix Computation. J. Ass. Comp. Mach., Vol. 27, 1980, pp. 839–849.
G. Hotz, K. Estenfeld: Formale Sprachen. Bibliographisches Institut (1981).
G. Hotz, J. Messerschmidt: Dycksprachen sind in Bandkomplexität log n analysierbar. Techn. Rep. A75/1, Universität des Saarlandes, 1975.
R. Kemp: Fundamentals of the Average Case Analysis of Particular Algorithms. Wiley-Teubner (1984), chapter 5.
T. Leighton: Tight Bounds on the Complexity of Parallel Sorting. IEEE Trans. on computers, Vol. C34, 4, April 1985, pp. 344–354.
D. Nassimi, S. Sahni: Data Broadcasting in SIMD Computers. IEEE Trans. on computers, Vol. C30, 2, Feb. 1981, pp. 101–107.
G. Pitsch: Effiziente parallele Verfahren zur Entscheidung des Wortproblems bei Dycksprachen. Master's Thesis, Universität des Saarlandes, Saarbrücken, 1989.
F. Preparata, J. Vuillemin: The Cube-Connected Cycles: A versatile network for parallel computation. 20th FOCS (1979), pp. 140–147.
J. Reif: Parallel time O(log n) acceptance of deterministic cfl's. 23rd FOCS (1982).
W. Rytter, K. Diks: On optimal parallel computations for sequences of brackets. Workshop “Sequences”, Positano, June 1988.
W. Rytter, R. Giancarlo: Optimal parallel parsing of bracket languages. Theoretical Computer Science 53 (1987), pp. 295–306.
H. S. Stone: Parallel processing with the perfect shuffle. IEEE Trans. on computers, Vol. C20, 2, February 1971, pp. 153–161.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Pitsch, G., Schömer, E. (1991). Optimal parallel recognition of bracket languages on hypercubes. In: Choffrut, C., Jantzen, M. (eds) STACS 91. STACS 1991. Lecture Notes in Computer Science, vol 480. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0020818
Download citation
DOI: https://doi.org/10.1007/BFb0020818
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-53709-0
Online ISBN: 978-3-540-47002-1
eBook Packages: Springer Book Archive