![]() ![]() ![]() PHP, Perl, Python, Ruby uses an interpreter.Ī compiler is a program that reads a program written in the high-level language and converts it into the machine or low-level language and reports the errors present in the program. It requires less memory as it does not create intermediate object code.ĭisplay all errors after compilation, all at the same time.Ĭ, C++, C#, Scala, typescript uses compiler. Memory requirement is more due to the creation of object code. The compilation is done before execution.Ĭompilation and execution take place simultaneously. ![]() It does not produce any intermediate object code. It takes a single line of code or instruction at a time. The source language is generally a high-level programming language, and the object language is typically the machine language of an actual computer. What is Language translator? This question might be arising in your mind.Ī language translator is a software which translates the programs from a source language that are in human-readable form into an equivalent program in an object language. The computer needs a translator to convert the languages written in the human-readable form to the computer-readable form.Ĭompiler and interpreter are the types of a language translator. Humans can understand anything through natural languages, but a computer doesn’t. Evidently, the perceivability of humans and an electronic device like a computer is different. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |