Skip to main content

Run-Time Extensible (Semi-)Top-Down Parser

  • Conference paper
  • First Online:
Text, Speech and Dialogue (TSD 1999)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 1692))

Included in the following conference series:

Abstract

When reading a text or listening to a speech the words are processed by humans in the order they come. Intuitively there are some mental actions just after morfologic analysis of any newly recognized word. This mental action helps understanding of the given word (or positioning the word within the frame of the — still not complete — sentence). Within parsing of formal languages the closest to this idea is the top-down parsing that is usually used only together with LL gram- mars. Top-down parsing of programming languages has the advantage that it is possible to implement it by recursive descent parser — i.e. by a system of procedures that may recursively call each other. Such a system may be “tuned” by hand made changes. The usage of LL grammars is not always possible, because of the grammars of programming languages may have left recursive symbols. Programming language grammars are intuitively “close” to LL grammars. A good model for such grammars are kind grammars studied in this contribution. Kind grammars preserve all the important features of LL grammars advantageous for parsing.

Supported by Grant Agency of Czech Republic, Grant-No. 201/99/0236.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullmann: Compilers Principles, Techniques, and Tools, Addison Wesley, 1986

    Google Scholar 

  2. Januš Drózd: Syntaktická analýza téměř shora dolů. (in Czech: Semi-Top-Down Parsing.) [Master Theses], Praha, MFF UK 1985.

    Google Scholar 

  3. Januš Dróozd: Syntaktická analýza rekurzivním sestupem pro LR(k) gramatiky. (in Czech: Recursive Descent Parsing for LR(k) Grammars.) [PhD Theses], Praha, MFF UK 1990.

    Google Scholar 

  4. Jaroslav Král: Syntaktická analýza a syntaxí řízený překlad. (In Czech: Parsing and Syntax Directed Translation. [Tech. report ÚVT ČVUT], Praha, ÚVT ČVUT, 1982.

    Google Scholar 

  5. Martin Plátek: Syntactic Error Recovery with Formal Guarantees I. [Tech. report MFF UK], Praha, MFF UK, April 1992

    Google Scholar 

  6. Nicolaas Sikkel: Parsing Schemata. Proefschrift Enschede, 1993, ISBN 90-9006688-8

    Google Scholar 

  7. Masaru Tomita, Se-Kiong Ng: The generalized LR Parsing Algorithm. (In Masaru Tomita (ed.): Generalized LR Parsing), Kluwer Academic Publishers, 1991, ISBN 0-7923-9201-9.

    Google Scholar 

  8. Michal Žemlička: Překladač rozšiřitelného jazyka. (In Czech: Extensible Language Compiler.) [Master Theses], Praha, MFF UK, 1994.

    Google Scholar 

  9. Michal Žemlička: Extensible LL(1) parser. [Poster], SOFSEM’95, Milovy, 1995

    Google Scholar 

  10. Michal Žemlička: Syntaktická analýza rozšiřitelných jazyů. (In Czech: Extensible Language Parsing.) [Tech. report MFF UK], Praha, MFF UK, December 1996.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Žemlička, M., Král, J. (1999). Run-Time Extensible (Semi-)Top-Down Parser. In: Matousek, V., Mautner, P., Ocelíková, J., Sojka, P. (eds) Text, Speech and Dialogue. TSD 1999. Lecture Notes in Computer Science(), vol 1692. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48239-3_22

Download citation

  • DOI: https://doi.org/10.1007/3-540-48239-3_22

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics