Free eBook “Compiler Construction using Flex and Bison” by Anthony A. Aaby. A language translator is a program which translates programs written in a source language into an equivalent program in an object language.
Book Description
The source language is usually a high-level programming language and the object language is usually the machine language of an actual computer. From the pragmatic point of view, the translator defines the semantics of the programming language, it transforms operations specified by the syntax into operations of the computational model to some real or virtual machine.
Table of Contents
- Introduction
- The Parser
- The Scanner
- The Context
- Optimization
- Virtual Machines
- Code Generation
- Peephole Optimization