How to define the phases of compiler?

Read Wikipedia:

The compilation process usually consists of several stages:

lexical analysis;
parsing;
semantic analysis;
...


Like these types of tests are described in Wikipedia and on other sites. But everywhere is different and clearly distinguish between these concepts is not obtained.

The most important thing that interested in what input and in what form comes after each test?
June 14th 19 at 20:18
1 answer
June 14th 19 at 20:20
Solution
've been looking in Wikipedia, it is found that it is necessary )) :

The compilation process consists of the following steps:

Lexical analysis. At this stage, the sequence of characters of the source file is converted into a sequence of tokens.
Syntactic (grammatical) analysis. The sequence of tokens is converted into a parse tree.
A semantic analysis. The parse tree is processed to establish its semantics (meaning) — for example, the binding of identifiers to their declarations, types, compatibility testing, determination of types of expressions, etc. the Result is usually called "intermediate performance/code", and can be augmented parse tree, the new tree abstract set of commands or something else convenient for further processing.
...

Find more questions by tags Other