Discussion
Many production compilers use hand written recursive descent parsers because
Answer: C
Correct answer: error messages and recovery can be tailored precisely
A hand written parser knows where it is in the grammar in terms a person can understand, so it can say what was expected and recover in a way suited to the construct. It also gives control over performance and over constructs that fit the LR model awkwardly. The cost is that the grammar and the code must be kept in step by hand.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development