拡張 BNF について質問があります。
(* Extended BNF grammar *)
min = 5;
max = 10;
value = integer; (* How can I set the range rule: `min <= value <= max`? *)
2 番目の質問:
name = letter, { letter | decimal digit };
(* The common length of the comment line must be not more than 128 characters.
But I don't know the name's length. How can I set this restriction? *)
comment line = ';', name, ' ', 128 * [ character ], new line;
ISO/IEC 14977:1996(E) を完全に読みましたが、答えが見つかりません。
ありがとうございました。