1
Introduction to Compilers
1. What do you understand by the terms translator and compiler?
Ans: A translator or language processor is a program that translates an input program written in a programming language into an equivalent program in another language. Compiler is a type of translator, which takes a program written in a high-level programming language as input and translates into an equivalent program in low-level language such as machine language or assembly language. The program written in high-level language is known as source program, and the program converted into low-level language is known as object (or target) program. Moreover, compiler traces the errors in the source program and generates the error report. Without compilation, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access