Lexical Analysis - Scanner

Compiler

Lexical Analysis - Scanner

About

A scanner reads a source file (backwards or forwards) and returns one token at a time.

  • Lexical Scanner that returns token are known as lexer.
  • Low level scanner that works one character at a time are the foundation of lexer. Optionally, they can and keep track of which line number and character is currently being read.





Discover More
Card Puncher Data Processing
Go - String

in Go The following declarations are all equivalent: For: a few. The += statement. It makes a new string by concatenating the old string, a space character, and the next argument, then assigns...



Share this page:
Follow us:
Task Runner