Below is a grammar for expressions involving operator 4- and integer or floating-point operands. Floating-point numbers are distinguished by having a decimal point.E-+E + T | T T —» nu m . nu m | nu ma) Give an SDD to determine the type of each term T and expression E.b) Extend your SDD of (a) to translate expressions into postfix notation. Use the unary operator intToFloat to turn an integer into an equivalent float.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here