Discussion
A scanner that returned all tokens as a list before parsing began would
Answer: A
Precomputing the token list is a legitimate design and is used where the stream must be examined more than once. The only real cost is holding the whole list rather than one token at a time. Tools that examine a program more than once often prefer exactly this arrangement.
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