Discussion
ANTLR uses a parsing strategy best described as
Answer: C
Correct answer: adaptive LL with arbitrary lookahead decided at parse time
ANTLR uses ALL(*), which resolves a decision by simulating the alternatives against the actual remaining input, using as much lookahead as that particular decision needs. This accepts far more grammars than LL(1) while keeping the readability of a recursive descent parser, and it caches the decisions so the cost is paid once.
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