Beginner Compilers & Programming Language Theory
Q10 / 100

What is intermediate representation (IR)?

Correct! Well done.

Incorrect.

The correct answer is B) A language-neutral, machine-neutral representation between source and target code, enabling language-independent optimizations

B

Correct Answer

A language-neutral, machine-neutral representation between source and target code, enabling language-independent optimizations

Explanation

IR (three-address code, SSA, LLVM IR, JVM bytecode) decouples the front-end (language-specific) from the back-end (machine-specific). Optimizations on IR benefit all languages and targets.

Progress
10/100