Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A bison grammar consists of a set of rules. Each rule starts with a nonterminal symbol and a colon and is followed by a possibly empty list of symbols, literal tokens, and actions. Rules by convention end with a semicolon, although the semicolon is technically optional. For example,
date: month '/' day '/' year ;