A compiler refers to a software tool or system which performs automatic conversion from one computer language to another. Along the way, the compiler tries to optimize the program while maintaining the semantics of the computation. This chapter discusses the compiler construction tools flex, bison, and LLVM. Related text processing tools such as m4, gperf and readline are also presented. We also discuss the various GNU binutils tools, including ar, nm and ld. Examples using the various compiler construction tools are presented.
KeywordsIntermediate Representation Machine Code Instruction Schedule Compiler Optimization Lexical Analysis
Unable to display preview. Download preview PDF.