Augmented Backus–Naur form

GPTKB entity

Statements (37)
Predicate Object
gptkbp:instanceOf context-free grammar
gptkbp:abbreviation gptkb:ABNF
gptkbp:basedOn gptkb:Backus–Naur_form
gptkbp:documentation gptkb:RFC_5234
gptkbp:feature support for comments
support for alternatives
support for optional elements
support for prose descriptions
support for repetition
support for value ranges
gptkbp:hasSyntax char-val = DQUOTE *(%x20-21 / %x23-7E) DQUOTE
concatenation = repetition *(1*c-wsp repetition)
elements = alternation *(*c-wsp alternation)
group = '(' *c-wsp elements *c-wsp ')'
num-val = '%' (bin-val / dec-val / hex-val)
option = '[' *c-wsp elements *c-wsp ']'
prose-val = '<' *(%x20-3D / %x3F-7E) '>'
repeat = 1*DIGIT / (*DIGIT '*' *DIGIT)
repetition = [repeat] element
rule = elements
element = rulename / group / option / char-val / num-val / prose-val
alternation = concatenation *(*c-wsp '/' *c-wsp concatenation)
https://www.w3.org/2000/01/rdf-schema#label Augmented Backus–Naur form
gptkbp:license public domain
gptkbp:relatedTo gptkb:Extended_Backus–Naur_form
gptkb:Backus–Naur_form
gptkbp:standardizedBy gptkb:IETF
gptkbp:usedBy gptkb:HTTP
gptkb:SIP
IMAP
SMTP
URI syntax
gptkbp:usedFor describing formal languages
gptkbp:usedIn Internet protocols
gptkbp:bfsParent gptkb:Backus_normal_form
gptkb:Extended_Backus–Naur_form
gptkbp:bfsLayer 6