To specify the syntax of a language, we define a grammar:

  • an alphabet, (terminals and non-terminals)
  • rules
  • initial symbol