unbreak BNF grammar example

dev-srcloc
Matthew Butterick 8 years ago
parent 96a5875e7c
commit 4b8d5ed12e

@ -1,12 +1,4 @@
#lang racket/base #lang brag
#|
This grammar is permanently broken with the <elider> operator active.
|#
#|
## The following comes from: http://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form ## The following comes from: http://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form
@ -19,5 +11,3 @@ This grammar is permanently broken with the <elider> operator active.
<list> : <term> | <term> <opt-whitespace> <list> <list> : <term> | <term> <opt-whitespace> <list>
<term> : <literal> | "<" <RULE-NAME> ">" <term> : <literal> | "<" <RULE-NAME> ">"
<literal> : '"' <TEXT> '"' | "'" <TEXT> "'" ## actually, the original BNF did not use quotes <literal> : '"' <TEXT> '"' | "'" <TEXT> "'" ## actually, the original BNF did not use quotes
|#
Loading…
Cancel
Save