Compiler System
(Redirected from Compiler)
Jump to navigation
Jump to search
Compiler System is a computer program that can solve a software compiling task (translating source code into lower-level source code).
- Context:
- It can be supported by a Lexical Analysis System, Parsing System, Code Generation System, and Code Optimization System.
- It can be used to build Cross-Compilers, Decompilers, and Source-to-Source Compilers.
- …
- Example(s):
- a Multi-Language Compilers, such as: GNU gcc.
- a C++ compiler, such as: GNU g++.
- a Java compiler, such as: Javac.
- …
- Counter-Example(s):
- Parsing System, which only analyzes code syntax without converting it into a different language.
- Interpreter, which executes code without creating a separate executable.
- See: Compiler Correctness, Object Code, Executable, Machine Code.
References
2023
- (Wikipedia, 2023) ⇒ https://en.wikipedia.org/wiki/compiler Retrieved:2023-10-25.
- QUOTE: "In computing, a compiler is a computer program that translates computer code written in one programming language (the source language) into another language (the target language). The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a low-level programming language (e.g. assembly language, object code, or machine code) to create an executable program."
- NOTE: This source provides the definition and explains the general functions of a Compiler System.
2016
- (Wikipedia, 2016) ⇒ https://en.wikipedia.org/wiki/compiler Retrieved:2016-5-24.
- QUOTE: "A compiler is a computer program (or a set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language), with the latter often having a binary form known as object code. The most common reason for converting source code is to create an executable program. The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language or machine code)... A compiler is likely to perform many or all of the following operations: lexical analysis, preprocessing, parsing, semantic analysis (syntax-directed translation), code generation, and code optimization."
- NOTE: This older source provides a deeper insight into the operations performed by a Compiler System.