Compiler FAQs:


Q: Is a compiler a computer program that transforms source code written in a programming language into another computer language?

A: Yes, and with the latter often having a binary form known as object code.

Q: Is a compiler a type of compiler that takes a high-level language as its input and outputs a high-level language?

A: Yes.

Q: Are compilers a specific type of translator?

A: Yes.

Q: Is a compiler one which output is intended to directly run on the same type of computer and operating system that the compiler itself runs on?

A: Yes.

Q: Is a compiler sometimes used to refer to a parser generator?

A: Yes, and a tool often used to help create the lexer and parser.

Q: Are compilers not usually classified as native or cross compilers?

A: Yes.

Q: Is a compiler likely to perform many or all of the following operations: lexical analysis?

A: Yes, and preprocessing, parsing, semantic analysis , code generation, and code optimization.

Q: Were compilers written in assembly language?

A: Yes.

Q: Is a compiler built of?

A: Yes, and it is common practice to classify them into three phases.

Q: Were compilers designed?

A: Yes.

Q: Is a compiler designed to run on a different platform?

A: Yes.

Q: Were compilers split up into smaller programs which each made a pass over the source performing some of the required analysis and translations?

A: Yes.

Q: Are compilers said to be hardware compilers?

A: Yes, because the source code they compile effectively controls the final configuration of the hardware and how it operates.

Q: Is a compiler known as a cross-compiler?

A: Yes.

Q: Was a compiler written by Grace Hopper, in 1952, for the A-0 programming language?

A: Yes, the A-0 functioned more as a loader or linker than the modern notion of a compiler.

Q: Are compilers by the platform on which their generated code executes?

A: Yes.

Q: Is a compiler developed by Alick Glennie?

A: Yes, and in 1952, for the Mark 1 computer at the University of Manchester and is considered by some to be the first compiled programming language.

Q: Are compilers often used when developing software for embedded systems that are not intended to support a software development environment?

A: Yes.

Q: Is a compiler usually not intended to be read and maintained by humans?

A: Yes.

Q: Is a compiler XST?

A: Yes, and the Xilinx Synthesis Tool used for configuring FPGAs.

Q: Is a compiler a bootstrapping problem—the first such compiler for a language must be compiled either by hand or by a compiler written in a different language?

A: Yes, or compiled by running the compiler in an interpreter.