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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Johnson SC (1975) Yacc – Yet Another Compiler-Compiler. AT&T Bell Laboratories, Murray Hill, New Jersey. Computing Science Technical report 32
Free software foundation. GNU bison (2014). https://www.gnu.org/software/bison/. Accessed 31 Jan 2016
Technical university of Munich (2015). CUP – LALR parser generator for Java. http://www2.cs.tum.edu/projects/cup/. Accessed 31 Jan 2016
Tremblay J-P, Sorenson PG (1985) The theory and practice of compiler writing. McGraw-Hill Book Company, New York
Mogensen TÆ (2011) Introduction to compiler design., Undergraduate topics in computer science. Springer, Berlin
Levine J (2009) Flex & bison. O’Reilly Media, Sebastopol
Aho AV, Lam MS, Sethi R, Ullman JD (2007) Compilers – principles, techniques and tools, 2nd edn. Pearson Education, Upper Saddle River
Kernighan BW, Ritchie DM (1988) The C programming language, 2nd edn. Prentice Hall, Englewood Cliffs
Holub AI (1994) Compiler design in C, 2nd edn. Prentice Hall International, New York
Fraser C, Hanson D (1995) A retargetable C compiler: design and implementation. Addison-Wesley, Reading
van der Linden P (1994) Expert C programming: deep C secrets. Prentice Hall, Englewood Cliffs
Author information
Authors and Affiliations
Corresponding author
Rights 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)