Scanner
Scanner
is essentially¹ a parser that produces Token
s
from a stream of characters. The tokens it produces are typically
passed to parsers in TokenParsers
.
Scanner
is essentially¹ a parser that produces Token
s
from a stream of characters. The tokens it produces are typically
passed to parsers in TokenParsers
.
- Note
¹
Scanner
is really aReader
ofToken
s