English 中文(简体)
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;
问题回答

暂无回答




相关问题
What are the differences between NP, NP-Complete and NP-Hard?

What are the differences between NP, NP-Complete and NP-Hard? I am aware of many resources all over the web. I d like to read your explanations, and the reason is they might be different from what s ...

Implementation Detail for Graph Analysis Algorithms

Let s say I have a graph with "heavy" nodes, that is each node is an object that is already carrying a lot of data. I want to do a graph transformation that requires me to calculate a special ...

Worst case running time (Big O)

I have this question, and I don t know how to solve it, because I don t understand it. :( The question is: Programs A and B are analyzed and are found to have worst case running times no ...

RSA cryptosystem

Hi i am trying to set up an RSA cryptosystem i have all the values except d selected prime numbers: p=1889, q=2003, n=3783667, phi=3779776, e= 61 i got stuck finding d could anyone help me to figure ...

BNF Grammar Derivation

I want to apply rules of BNF Grammar to produce derivation for : a_Num

热门标签