source: abnfparser/bap/core.abnf @ 510

Last change on this file since 510 was 417, checked in by julian.reschke@…, 14 years ago

add core.abnf, add make targets for reformatted ABNF (related to #36)

File size: 1.5 KB
Line 
1ALPHA          =  %x41-5A / %x61-7A   ; A-Z / a-z
2
3BIT            =  "0" / "1"
4
5CHAR           =  %x01-7F
6                       ; any 7-bit US-ASCII character,
7                       ;  excluding NUL
8
9CR             =  %x0D
10                       ; carriage return
11
12CRLF           =  CR LF
13                       ; Internet standard newline
14
15CTL            =  %x00-1F / %x7F
16                       ; controls
17
18DIGIT          =  %x30-39
19                       ; 0-9
20
21DQUOTE         =  %x22
22                       ; " (Double Quote)
23
24HEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
25
26HTAB           =  %x09
27                       ; horizontal tab
28
29LF             =  %x0A
30                       ; linefeed
31
32LWSP           =  *(WSP / CRLF WSP)
33                       ; Use of this linear-white-space rule
34                       ;  permits lines containing only white
35                       ;  space that are no longer legal in
36                       ;  mail headers and have caused
37                       ;  interoperability problems in other
38                       ;  contexts.
39                       ; Do not use when defining mail
40                       ;  headers and use with caution in
41                       ;  other contexts.
42
43OCTET          =  %x00-FF
44                       ; 8 bits of data
45
46SP             =  %x20
47
48VCHAR          =  %x21-7E
49                       ; visible (printing) characters
50
51WSP            =  SP / HTAB
52                       ; white space
Note: See TracBrowser for help on using the repository browser.