Compilation phases and types of use
Compiler
Article REF: H3168 V2
Compilation phases and types of use
Compiler

Authors : Henri-Pierre Charles, Christian Fabre

Publication date: August 10, 2017 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

2. Compilation phases and types of use

Although totally transparent to the user, there are many phases in a compiler. The technologies used in these compilation phases will be described in the remainder of this article.

The main phases are :

  • lexical analysis, responsible for breaking down the source program into the lexical elements of the language: recognizing the words in the program, the tokens ;

  • syntactic analysis, which is responsible for analyzing the language's syntax rules: recognizing that the program is correctly formed by the sequence of words and that the series of tokens respects the language's grammar;

  • intermediate formatting" is responsible for transforming the source program into a form that can be easily manipulated by the compiler;

  • optimization...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Ongoing reading
Compilation phases and types of use

Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details