2. Grammars

CHAPTER 2

Grammars

Grammar, which knows how to control even kings . . .
—Moliere, Les Femmes Savantes (1672), Act II, scene vi

This chapter describes the context-free grammars used in this specification to define the lexical and syntactic structure of a Java program.