What is a compiler?

What is a compiler

What is a compiler? A compiler takes computer programs written in a “High level language” and converts them into either “Assembly language” or “Machine code” (more or less the same thing) that a computer is actually able to run. So, I might say (in C): #include <stdio.h> int main () { int x = 1234 ; int y = 4567 ; printf ( “%d”, x + y ) ; return 0 ; } And the compiler would turn that into instructions for the computer. Something like: .LC0: .string “%d” main:…

Read More