the compilation process is partitioned into a series of sub process is called a
Answers
Answer:
is called conversation of source code into object code......
Answer:
it is customary to partition the compilation process into a series of sub processes called phases. A phase is a logically cohesive operation that takes as input one representation of the source program and produces as output another representation.
Explanation:
The first phase, called the lexical analyzer, or scanner, separates characters of the source language into groups that logically belong together; these groups are called tokens. The usual tokens are keywords, such as DO or IF identifiers, such as X or NUM, operator symbols such as < = or +, and punctuation symbols such as parentheses or commas. The output of the lexical analyzer is a stream of tokens, which is passes to the next phase, the syntax analyzer, or parser. The tokens in this stream can be represented by codes which we may regard as integers. Thus, DO might be represented by 1, + by 2, and “identifier” by 3. In the case of a token like ‘identifier”, a second quantity, telling which of those identifiers used by the program is represented by this instance of token “identifier”, is passed along with the integer code for “identifier”.
#SPJ2