Compiler
A compiler is a program that translates source code written in a programming language into a target representation, usually executable machine code, assembly, or an intermediate form such as bytecode. The translation aims to preserve program semantics while producing efficient code. Compilers enable software to run on different hardware platforms and to exploit performance optimizations.
A typical compiler has a front end, a middle end, and a back end. The front end
Some languages are compiled to native machine code, others to portable bytecode run by a virtual machine.
Historically, the development of compilers began in the 1950s, with early work credited to Grace Hopper and