Skip to main content

Optimal parallel parsing of bracket languages

  • Communications
  • Conference paper
  • First Online:
Parallel Algorithms and Architectures

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 269))

Abstract

We prove that the parsing problem for bracket context-free languages can be solved in log(n) time using n/log(n) processors on a parallel random access machine without write conflicts (P-RAM). On the way we develop a new technique for tree compression based on the bracket structure of the tree. It is especially useful when a function is to be computed for all nodes of the tree, because the decompression is easy, while the technique from [2] is best suited for computing the value associated only with the root.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. I. Bar-On, and U. Vishkin., Optimal parallel generation of a computation tree form. ACM Trans.on Progr.Lang.and Systems 7:2 (1985),348–357

    Article  Google Scholar 

  2. A.Gibbons, W.Rytter. An optimal parallel algorithm for dynamic expression evaluation and its applications. accepted for Found.of Software Techn.and Theoretical Comp.Science,december (1986), to appear in Lect.Notes in Comp.Science,Springer-Verlag.

    Google Scholar 

  3. Fortune,S. and Wyllie,J. Parallelism in random access machines, Proceedings of the 10th ACM Symp. Theory of Comp.(1978) 114–118.

    Google Scholar 

  4. G. Kindervater,J. Lenstra. An introduction to parallelism in combinatorial optimization. Report OS-R8501, Centre for Math.and Comp.Science, Amsterdam (1984)

    Google Scholar 

  5. R.Mattheyses, and C.M.Fiduccia, Parsing Dyck languages on parallel machines. 20th Allerton Conference on Comm.Control and Computing (1982)

    Google Scholar 

  6. K. Mehlhorn. Bracket languages are recognizable in logarithmic space. Inf.Proc.Letters 5:6 (1976) 169–170

    Google Scholar 

  7. W. Ruzzo. On the complexity of general context free language parsing and recognition. Automata, languages and programming. Lect.Notes in Computer Science (1979),pp.489–499

    Google Scholar 

  8. W.Rytter. On the complexity of parallel parsing of general context-free languages. Accepted for Theoretical Computer Science

    Google Scholar 

  9. W. Rytter. On the recognition of context free languages. Computation Theory, Lect.Notes in Comp.Science 208,Springer Verlag (1985),pp.318–325

    Google Scholar 

  10. W. Rytter. An application of Mehlhorn algorithm for bracket languages to log n space recognition of input driven languages. Inf.Processing Letters,23:2 (1986) 81–84

    MathSciNet  Google Scholar 

  11. W.Rytter. The complexity of two-way pushdown automata and recursive programs. in Combinatorial algorithms on words (ed.A.Apostolico,Z.Galil), Springer-Verlag (1985) 341–356

    Google Scholar 

  12. W. Rytter. Parallel time log n recognition of unambiguous cfl's. Fund.of Computation Theory, Lect.Notes in Computer Science 199 (1985) 380–389,full version to appear in Inf. and Control

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Andreas Albrecht Hermann Jung Kurt Mehlhorn

Rights and permissions

Reprints and permissions

Copyright information

© 1987 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Rytter, W., Giancarlo, R. (1987). Optimal parallel parsing of bracket languages. In: Albrecht, A., Jung, H., Mehlhorn, K. (eds) Parallel Algorithms and Architectures. Lecture Notes in Computer Science, vol 269. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-18099-0_40

Download citation

  • DOI: https://doi.org/10.1007/3-540-18099-0_40

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-18099-9

  • Online ISBN: 978-3-540-47760-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics