Skip to main content

Practicalities of Syntax Analysis

  • Chapter
  • First Online:
A Practical Approach to Compiler Construction

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

  • 3452 Accesses

Abstract

In this chapter we adopt a practical approach to syntax analysis and we look in detail at the two most popular techniques used for the construction of syntax analysers for programming language compilers and similar tools.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Johnson SC (1975) Yacc – Yet Another Compiler-Compiler. AT&T Bell Laboratories, Murray Hill, New Jersey. Computing Science Technical report 32

    Google Scholar 

  2. Free software foundation. GNU bison (2014). https://www.gnu.org/software/bison/. Accessed 31 Jan 2016

  3. Technical university of Munich (2015). CUP – LALR parser generator for Java. http://www2.cs.tum.edu/projects/cup/. Accessed 31 Jan 2016

  4. Tremblay J-P, Sorenson PG (1985) The theory and practice of compiler writing. McGraw-Hill Book Company, New York

    Google Scholar 

  5. Mogensen TÆ (2011) Introduction to compiler design., Undergraduate topics in computer science. Springer, Berlin

    Google Scholar 

  6. Levine J (2009) Flex & bison. O’Reilly Media, Sebastopol

    Google Scholar 

  7. Aho AV, Lam MS, Sethi R, Ullman JD (2007) Compilers – principles, techniques and tools, 2nd edn. Pearson Education, Upper Saddle River

    Google Scholar 

  8. Kernighan BW, Ritchie DM (1988) The C programming language, 2nd edn. Prentice Hall, Englewood Cliffs

    Google Scholar 

  9. Holub AI (1994) Compiler design in C, 2nd edn. Prentice Hall International, New York

    Google Scholar 

  10. Fraser C, Hanson D (1995) A retargetable C compiler: design and implementation. Addison-Wesley, Reading

    Google Scholar 

  11. van der Linden P (1994) Expert C programming: deep C secrets. Prentice Hall, Englewood Cliffs

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Des Watson .

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Cite this chapter

Watson, D. (2017). Practicalities of Syntax Analysis. In: A Practical Approach to Compiler Construction. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-52789-5_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-52789-5_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-52787-1

  • Online ISBN: 978-3-319-52789-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics