Compiler Design and Construction - Old Questions

6. Define Left recursive grammar. Remove left recursion from the following grammar.

                S→SB | Ca

                B→Bb | c

                C→aB | a

5 marks | Asked in 2078