Intro

Objectives

  1. Use Backus-Naur Form (BNF) to represent language syntax and formulate simple production rules.
  2. Explain why BNF can represent some languages that cannot be represented using Regular Expressions.
  3. Draw a syntax diagram to represent an equivalent BNF expression.

Resources

Video

Slides

Worksheet

Homework