The document discusses modeling computation using formal languages and grammars. It introduces phrase-structure grammars (PSGs) which are used to generate sentences of a language and determine if a given sentence is part of that language. PSGs define a vocabulary, terminals, a start symbol, and production rules. Examples of derivations using PSGs are provided to generate sentences from the start symbol. The types of PSGs, including type-0, type-1, and type-2 grammars are also mentioned.