Задача 2: Реализуйте поддержку выражений со скобками
Primary tabs
<Digit> ::= [0-9] <UnsignedInteger> ::= "0" | [1-9] <Digit>* <Integer> ::= "-"? <UnsignedInteger> <Multiplier> ::= <Integer> | "-" <Multiplier> | "(" <Expression> ")" <Term> ::= <Multiplier> ( "*" <Multiplier> | "/" <Multiplier> )* <Expression> ::= <Term> ( "+" <Term> | "-" <Term> )*
- Log in to post comments
- 532 reads