next up previous
Next: Two Level Description Up: No Title Previous: BNF (Backus-Naur Form)

EBNF (Extended BNF)

We can now write
      Number = Digit { Digit }.
      Digit = "0" | "1" | "2" | "3" | "4" | "5" |  "6" | "7" | "8" | "9".
or
      Sentence = ("Peter" | "Chelsea") ("runs" | "stops").



Christoph Zenger
3/16/2000