1.

Which of the following can be a LALR parser generator?(a) YACC(b) GNU Bison(c) YACC and GNU Bison(d) None of the mentionedI got this question during an interview for a job.My enquiry is from Applications in section Context Free Grammars and Languages of Automata Theory

Answer»

The correct choice is (c) YACC and GNU Bison

The best I can explain: YACC is a computer CODE for UNIX operating system which generates a LALR PARSER. On the other hand GNU Bison or Bison can GENERATE LALR and GLR parsers.



Discussion

No Comment Found

Related InterviewSolutions