What is a compiler? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 2

What is a compiler?

26th Jul 2019, 2:30 PM
Roxtar Rahul
Roxtar Rahul - avatar
4 ответов
+ 11
Compiler is an translator which translate the written source code into the object code and machine code. As machine only understood the machine language (01) so compiler is made according to the grammar written in the language.
26th Jul 2019, 2:33 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 4
This might help you 👇 https://whatis.techtarget.com/definition/compiler What is compiler? - Definition from WhatIs.com
26th Jul 2019, 5:46 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 3
Hey Roxtar Rahul To further illustrate what GAWEN STEASY has already written( which is correct.. btw) Compiler is like an interpreter between you and the computer...The computer understands a language that is different from the language of your code so for it to do exactly as you command, the Compiler comes in and reads your code, then interprets it to the computer and the computer, then acts accordingly. Imagine, asking a deaf and dumb to make you breakfast when you don't know nor understand sign language... he won't do anything until someone interprets it with signs to him.. The interpreter here is like the Compiler on the computer... Hope that helps.
26th Jul 2019, 3:16 PM
HENRY SAMUEL
HENRY SAMUEL - avatar
+ 2
A compiler converts the whole computer programs in one go
26th Jul 2019, 2:57 PM
Satvik Yadav
Satvik Yadav - avatar