RFC 822のABNF

RFC 822のABNF

[2] RFC 822 の前の版である RFC 724 では RFC 822 とは異なり ABNF を定義していませんでしたし、構文記述にも RFC 822 とは異なった BNF を用いていました (その BNF の定義は明記されていませんでしたが)。

詳しくは RFC 724のBNF の項を参照してください。

[1] 定義が ::= の変種: RFC 2110 (MHTML) は RFC 822 の構文を使うと称して、 左辺を右辺で定義するという演算子を = ではなく ::= としています。

ちなみに RFC 2110 には明記されていませんが、 LWS を自由に挿入できるという RFC 822 の構文の性質も受け継いでいるようです。

RFC 2110 の改訂版である RFC 2557RFC 2234ABNF による定義になっています。

[3] RFC 2234のABNFRFC 822 で用いられていた ABNF から派生しました。

[4] RFC 1203 - Interactive Mail Access Protocol: Version 3 () <https://tools.ietf.org/html/rfc1203#page-37>

the augmented Backus-Naur

Form (BNF) notation as specified in RFC 822 with one exception; the

delimiter used with the "#" construct is a single space (SP) and not

a comma.

[5] RFC 1064 - Interactive Mail Access Protocol: Version 2 () <https://tools.ietf.org/html/rfc1064#page-24>

the augmented Backus-Naur

Form (BNF) notation as specified in RFC 822 with one exception; the

delimiter used with the "#" construct is a single space (SP) and not

a comma.

[6] RFC 1176 - Interactive Mail Access Protocol: Version 2 () <https://tools.ietf.org/html/rfc1176#page-26>

the augmented Backus-Naur

Form (BNF) notation as specified in RFC 822 with one exception; the

delimiter used with the "#" construct is a single space (SP) and not

a comma.

[7] RFC 1203 - Interactive Mail Access Protocol: Version 3 () <https://tools.ietf.org/html/rfc1203#page-37>

the augmented Backus-Naur

Form (BNF) notation as specified in RFC 822 with one exception; the

delimiter used with the "#" construct is a single space (SP) and not

a comma.