next up previous
Next: Chapter content Up: Book Review Previous: Book Review

In general about the book

Surfing on the Web I found several interesting definitions related to the term Compiler. I should point to one of them: 'A compiler is a computer program that translates a computer program in one computer language, called the source language, into an equivalent program written in another computer language, called the output, object, or target language' en.wikipedia.org/wiki/Compiler. In other words, it converts a source program, composed of sentences according to the computer language syntax, into an executable program, composed of machine-readable instructions. Writing a compiler is not a simple task. Its construction brings together techniques from disparate parts of computer science. First, there is a language front-end for source code analysis. The front-end produces an intermediate representation in which a number of machine-independent code optimizations are performed. Finally, the backend translates the intermediate representation into assembly code while performing additional machine-specific optimizations.



root 2007-05-01