Concept

Compiler

Modified just now
Books JourneyProgramming Language Theory Statusmastered Tags
  • compiler implementation

Mathematically, denote mathcalPS\\mathcal{P}_S as the set of programs in the source language and mathcalPT\\mathcal{P}_T as the set of programs in the target language. Then, a compiler is a function C:mathcalPStomathcalPTC: \\mathcal{P}_S \\to \\mathcal{P}_T

Mathematically, denote PS\mathcal{P}_S as the set of programs in the source language and PT\mathcal{P}_T as the set of programs in the target language. Then, a compiler is a function C:PSPTC: \mathcal{P}_S \to \mathcal{P}_T.