libcats.org
Главная

Code Generation

Нет обложки

Code Generation

his book is an introduction to code generation. Code generation is the process by which the backend of a programming language compiler transforms a parsed and analysed program into object code. We shall assume that the means by which programs are parsed and analysed in the compiler frontend are already understood. Chapter 2 is a short chapter on semantic analysis, which is necessary only for consistency with the rest of the material.Chapter 3 is a fairly comprehensive account of runtime organization, which describes the execution environment for which our compilers generate code. In particular, the different conventions for procedure calling and parameter passing are discussed in some detail.Two different methods of code generation are discussed. The first method involves the generation of an intermediate form and the subsequent generation of code using an interpretive automaton. This method is quite widely used in production compilers, but has been little discussed in the literature. The other method of code generation is bottom-up tree rewriting. This method has a much shorter history, but is the most capable method currently known.A number of chapters deal with the subject of code improvements, or optimizations as they are generally called. Another chapter deals with the critical issue of register allocation. The emphasis is on the global methods of register allocation, which depend on the same kind of computations as the so-called global optimizations.
Популярные книги за неделю:

50 рецептов для аэрогриля

Автор:
Категория: house, house, cook
Размер книги: 771 Kb

Ключ к сверхсознанию

Автор:
Категория: Путь к себе
Размер книги: 309 Kb

Contemporary Theatre, Film and Television, Volume 97

Автор:
Размер книги: 3.18 Mb
Только что пользователи скачали эти книги:

Думы

Автор:
Категория: Поэзия
Размер книги: 35 Kb

Владычица Черной башни

Автор:
Категория: Фэнтези
Размер книги: 632 Kb

Advanced nutrition and human metabolism

Автор: , Автор: , Автор:
Категория: B_Biology, BH_Human
Размер книги: 14.07 Mb

Astrophysics: A new approach

Автор:
Категория: P_Physics, PAp_Astrophysics
Размер книги: 2.51 Mb

Erlang and OTP in Action

Автор:
Размер книги: 19.19 Mb

Fifty-to-One

Автор:
Категория: fiction
Размер книги: 453 Kb