开发者

BNF Grammar Derivation

I want to开发者_运维问答 apply rules of BNF Grammar to produce derivation for : a_Num


Your question is a bit vague. But below is a BNF (ish) grammar for an integer number.

nz_digit   = '1' | ... | '9';
digit      = '0' | nz_digit;
digitseq   = digit | digitseq, digit;

num        =  '0' | nz_digit, digitseq;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜