summaryrefslogtreecommitdiff
path: root/grammar/abnf grammars/test.abnf
blob: 1c3a8844e256beeef0084f1f499ec8b3959a4d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
document     =  1*( item )

item         =  header [ price ] *1( note )

item        =/  header [ price ] *1( note )

header       =  *1star "SP" title %xA *( "SP" / %xA )

title        =  1*"TEXT"

star         =  %x2A

note         =  "note:" note-content %xA *( "SP" / %xA )

note-content =  1*"TEXT"

price        =  "price:" "SP" 1*"DIGIT" %xA *( "SP" / %xA )