Probably going to deprecate this in favour of merging with PDAs

A grammar is a 4-tuple: where:

  • is the variables
  • is the terminal symbols
  • is a set of rules (production????)
    • Must be finite
  • is the start variable