Introduction - If you have any usage issues, please Google them yourself
A string with the recursive descent parsing method for input of syntax analysis, syntax checking and structure analysis of lexical word sequence of the program
The analysis of the Traning language grammar represented by extended BN:
The 1.< program >:: =function< statement string >endfunc
The 2.< statement string >:: =< statement >{ < statement >}
The 3.< statement >:: =< assignment statement.
4.< assignment statement >:: =ID=< expression.
5.< expression:: =< item >{+< item > >|-< item >}
6.< >:: =< factor >{*< factor >|/< factor >}
7.<:: =ID|NUM|< expression factor > >