click below
click below
Normal Size Small Size show me how
*CS445Intro
Introduction : Compiler Construction : Louden : CH1.0
What are compilers | computer programs that translate one language to another | |
what does a compiler take as input | a program written in its source language | |
what does a compiler produce | an equivalent program as the input program but written in its target language | |
what typically are source langauges | high level languages such as c, c++ | |
what is a typical target language | object code /machine code for the target machine | |
what is another name for object code | machine code | |
what is another name for machine code | object code | |
what does it mean to be "object code for the target machine" | that is code written in the machine instructions of the computer on which it is to be executed | |
Describe why compilers are complex programs | - can be anywhere from 10,000 to 1,000,000 lines of code and writing such a program or even understanding it is not a simple task. | |
Why is it important to know the basic organization and operation of a compiler | compilers are used in almost all forms of computing and anyone professionally involved with computers should know these principles | |
fact or fiction: most computer scientists and professionals will never write a complete compiler | true | |
what is a frequent task in computer applications that are smaller than compilers but which use the same techniques | the development of command interpreters and interface programs | |
what are the necessary tools and practical experience to design and program an actual compiler | - study the theoretical techniques mainly from automata theory that make compiler construction a manageable task - basic data structures, discrete mathematics knowledge, machine architecture knowledge, and assembly language knowledge | |
How do language design issues relate to compilers | There is significant interaction between the structure of a compiler and the design of the program language being compiled | |