Introduction - If you have any usage issues, please Google them yourself
Experiment II: TINY extension language syntax analysis of the expansion of grammar rules: to achieve the while, do while, for statement and the remainder calculation formulas, specific grammar rules to construct their own. Reference: P97 and P136 grammar rules. (1) While-stmt-> while exp do stmt-sequence endwhile (2) Dowhile-stmt-> do stmt-sequence while exp (3) for-stmt-> for identifier: = simple-exp to simple- exp do stmt-sequence enddo increments of 1 (4) for-stmt-> for identifier: = simple-exp downto simple-exp do stmt-sequence enddo variety step decrement by the user to choose whether to generate a syntax tree, and view generated syntax tree.