Translation - Compiler, Interpreter & Assembler

Translators convert source code into machine code. You will compare compilers, interpreters and assemblers, and learn the stages a compiler goes through, such as lexical and syntax analysis.

Key terms

Compiler
Translates the whole source code into machine code before execution.
Interpreter
Translates and executes code one line at a time at runtime.
Assembler
Converts assembly language mnemonics into machine code.
Lexical analysis
Converting source code into tokens such as keywords, identifiers and symbols.
Syntax analysis
Checking that the sequence of tokens follows the grammar rules of the language.

Part of System Software.