An efficient context-free parsing algorithm with semantic actions

  • Marco Piastra
  • Roberto Bolognesi
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 549)


As M. Tomita [5] has demonstrated, the LR parsing algorithm can be extended so that it will handle acyclic context-free grammars in a very efficient way, producing a parse forest, a set of all possible parsing trees for a given input sentence. In this paper we aim to show how Tomita's parsing algorithm can be extended to support semantic actions, that is, procedural segments associated with grammar production rules, that are executed contextually during the parsing procedure.

Key words

computational linguistics context-free grammars parallel parsing semantic actions 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    Aho, A.V., Johnson, S.C., LR Parsing. Computing Surveys 6, 2 (June 1974).Google Scholar
  2. [2]
    Aho, A.V., Johnson, S.C., Ullman, J.D., Deterministic Parsing of Ambiguous Grammars. Commun. ACM 18, 8 (Aug. 1975).Google Scholar
  3. [3]
    Aho, A.V., Sethi, R., Ullman, J.D. Compilers — Principles, Techniques and Tools. Addison Wesley Publishing Co., Reading, Mass., 1986.Google Scholar
  4. [4]
    Blank, G.D. A Finite and Real-Time Processor for Natural Language. Commun. ACM 32, 10 (Oct. 1989).Google Scholar
  5. [5]
    Tomita, M. An Efficient Context-Free Parsing Algorithm for Natural Languages and Its Applications. PhD. thesis, Carnegie-Mellon University, 1985.Google Scholar
  6. [6]
    Tomita, M. Efficient Parsing for Natural Language. Kluwer Academic Publishers, Norwell, Mass., 1987.Google Scholar
  7. [7]
    Winograd, T. Language as a Cognitive Process — Volume 1: Syntax. Addison Wesley Publishing Co., Reading, Mass., 1983.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1991

Authors and Affiliations

  • Marco Piastra
    • 1
  • Roberto Bolognesi
    • 1
  1. 1.CARESPavia

Personalised recommendations