What Is a Scanner in Compiler Design?

  • Thread starter Thread starter SuperSusanoo
  • Start date Start date
  • Tags Tags
    Assignment
Click For Summary

Discussion Overview

The discussion revolves around the concept of a scanner in compiler design, particularly in the context of a homework assignment. Participants express confusion regarding the assignment and seek clarification on the role of a scanner.

Discussion Character

  • Homework-related
  • Exploratory

Main Points Raised

  • One participant expresses being lost with their assignment and requests guidance on what to study regarding scanners.
  • Another participant poses a question about what a "file scanner" might be, suggesting a potential area of exploration.
  • A participant comments on the lack of responses from another user, implying that they may not be engaged with the thread.
  • There is a mention that the scanner part of a compiler is straightforward if one reads the textbook or other study materials, indicating a potential resource for understanding.

Areas of Agreement / Disagreement

The discussion appears to be unresolved, with participants expressing confusion and seeking clarification without reaching a consensus on the understanding of scanners.

Contextual Notes

Participants have not provided specific definitions or explanations of a scanner, and there is an indication that foundational knowledge may be lacking among some users.

SuperSusanoo
Messages
7
Reaction score
1

Homework Statement


I am totally lost with this assignment. I don't even know what to study in order to do it. I posted a file with the main feature of the assignment, so I am just wondering if you can orient me little bit. Any advise would be useful

First of all, what is a scanner and how does it relate to this assignment?

Homework Equations

The Attempt at a Solution


Screenshot (32).png
[/B]
 
Last edited:
Physics news on Phys.org
What would you guess that a "file scanner" might be?
 
@SuperSusanoo I see you have been on the forum since I posted my question. Have you lost interest and are abandoning this thread?
 
phinds said:
@SuperSusanoo I see you have been on the forum since I posted my question. Have you lost interest and are abandoning this thread?
Yeah, looks like they have more fundamental problems..

https://www.physicsforums.com/threads/what-should-i-do.890646/

Thread is locked until @SuperSusanoo can send me a message showing some effort on this problem. The scanner part of a compiler is pretty straightforward if you read the textbook or other study materials...
 

Similar threads

Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
11K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
1K