December 2021
Intermediate to advanced
494 pages
10h 52m
English
In this chapter, you will learn how to take individual words and punctuation, the lexemes, and group them into larger programming constructs, such as expressions, statements, functions, classes, and packages. This task is called parsing. The code module is called a parser. You will make a parser by specifying syntax rules using grammars, and then using a parser generator tool that takes your language grammar and generates a parser for you. We will also look at writing useful syntax error messages.
This chapter covers the following main topics:
We will review the technical requirements for this chapter, ...
Read now
Unlock full access