This HTML version of ABNF is automatically generated using Jabnf. The protocol syntax is presented in ABNF according to RFC 2234 This version of ABNF is for informational purposes only. It is intended as a tool to help read the ABNF. Errors may have been introduced in translating to HTML. The original ABNF2HTML tool is implemeted by perl and provited by Inet Technologies, Inc.
COPYRIGHT 2005-2007 by Juphoon System Software, Inc. All rights reserved.This file consists of:
The productions for the ABNF specification are provided below.
| Rule Name | Production or Comment | |
|---|---|---|
| rulelist | = | 1*(rule / (*c-wsp c-nl)) |
| = | rulename defined-as elements c-nl ; continues if next line starts
; with white space |
|
| = | ALPHA *(ALPHA / DIGIT / "-") | |
| = | *c-wsp ("=" / "=/") *c-wsp ; basic rules definition and
; incremental alternatives |
|
| = | alternation *c-wsp | |
| = | WSP / (c-nl WSP) | |
| = | comment / CRLF ; comment or newline
|
|
| = | ";" *(WSP / VCHAR) CRLF | |
| = | concatenation *(*c-wsp "/" *c-wsp concatenation) | |
| = | repetition *(1*c-wsp repetition) | |
| = | [repeat] element | |
| = | 1*DIGIT / (*DIGIT "*" *DIGIT) | |
| = | rulename / group / option / char-val / num-val / prose-val | |
| = | "(" *c-wsp alternation *c-wsp ")" | |
| = | "[" *c-wsp alternation *c-wsp "]" | |
| = | DQUOTE *(%x20-21 / %x23-7E) DQUOTE ; quoted string of SP and VCHAR without DQUOTE
|
|
| = | "%" (bin-val / dec-val / hex-val) | |
| = | "b" 1*BIT [1*("." 1*BIT) / ("-" 1*BIT)] ; series of concatenated bit values
; or single ONEOF range |
|
| = | "d" 1*DIGIT [1*("." 1*DIGIT) / ("-" 1*DIGIT)] | |
| = | "x" 1*HEXDIG [1*("." 1*HEXDIG) / ("-" 1*HEXDIG)] | |
| = | "<" *(%x20-3D / %x3F-7E) ">" ; bracketed string of SP and VCHAR without angles
; prose description, to be used as last resort |
|
| = | %x41-5A / %x61-7A ; A-Z / a-z
|
|
| = | "0" / "1" | |
| CHAR | = | %x01-7F ; any 7-bit US-ASCII character, excluding NUL
|
| = | %x0D ; carriage return
|
|
| = | CR LF ; Internet standard newline
|
|
| CTL | = | %x00-1F / %x7F ; controls
|
| = | %x30-39 ; 0-9
|
|
| = | %x22 ; " (Double Quote)
|
|
| = | DIGIT / "A" / "B" / "C" / "D" / "E" / "F" | |
| = | %x09 ; horizontal tab
|
|
| = | %x0A ; linefeed
|
|
| LWSP | = | *(WSP / CRLF WSP) ; linear white space (past newline)
|
| OCTET | = | %x00-FF ; 8 bits of data
|
| = | %x20 ; space
|
|
| = | %x21-7E ; visible (printing) characters
|
|
| = | SP / HTAB ; white space
|
|
Following is a cross-reference list for the ABNF.On the left are references to productions, on the right are links to the rules in which those productions are referenced.
| Reference | Productions which Reference this Symbol |
|---|---|
| rule | rulelist |
| rulename | rule, element |
| defined-as | rule |
| elements | rule |
| c-wsp | rulelist, defined-as, defined-as, elements, alternation, alternation, concatenation, group, group, option, option |
| c-nl | rulelist, rule, c-wsp |
| comment | c-nl |
| alternation | elements, group, option |
| concatenation | alternation, alternation |
| repetition | concatenation, concatenation |
| repeat | repetition |
| element | repetition |
| group | element |
| option | element |
| char-val | element |
| num-val | element |
| bin-val | num-val |
| dec-val | num-val |
| hex-val | num-val |
| prose-val | element |
| ALPHA | rulename, rulename |
| BIT | bin-val, bin-val, bin-val |
| CR | CRLF |
| CRLF | c-nl, comment, LWSP |
| DIGIT | rulename, repeat, repeat, repeat, dec-val, dec-val, dec-val, HEXDIG |
| DQUOTE | char-val, char-val |
| HEXDIG | hex-val, hex-val, hex-val |
| HTAB | WSP |
| LF | CRLF |
| SP | WSP |
| VCHAR | comment |
| WSP | c-wsp, c-wsp, comment, LWSP, LWSP |