Write a Yacc program that takes lists (as defined by the grammar of Exercise 4.2.2(e), but with any single character as an element, not just a) and produces as output a linear representation of the same list; i.e., a single list of the elements, in the same order that they appear in the input.
Exercise 4.2.2(e)
! e ) S -» ( L ) | a and L -» L , 5 | 5 with string ((a ,a),a,(a)).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here