Site icon ExampleNG

LANGUAGE TRANSLATOR- EXAMPLES OF LANGUAGE TRANSLATORS YOU NEED TO KNOW

Language Translator

Language Translator

LANGUAGE TRANSLATOR- EXAMPLES OF LANGUAGE TRANSLATORS YOU NEED TO KNOW

The term Language Translators is not common to everyone especially those not studying any computer-related field or discipline. Language translators are examples of systems software’s and we discussed that in one of our articles.

A language translator is a program that translates a source code at a high level into object code in the machine language equivalent. In the definition of language translators, there are some terms that we want to bring out because they might be difficult to grasp if not clearly explained.

A high-level language is a language that is not dependent on the machine it is running on and it is a language that can be understood by humans and examples of high-level languages are python, C, Fortran, Basic, and Javascript while a machine language is a low-level language used to control a computer central processing unit.

As the name implies, it is the only language that the computer understands and a high-level language must be translated by a translator into a low-level language and this article would focus on the types of languages translators.

Below are examples of types of Language Translators:

Compilers: A compiler is a program that accepts programs written in high-level language as input, process, and translate the entire program into an equivalent machine language code. Compilers are machine-dependent and some examples of compilers are:

Interpreters: Interpreters are computer programs that accept high-level language source programs, read, translate, and execute the program one line at a time. An interpreter uses any of the strategies below for program execution:

An interpreter is very easy to develop but it is slow compared to other language translators and examples of programming languages that make use of interpreters are Python, Ruby, Perl, and PHP. We wrote an article that explained some of the programming languages in this post so ensure that you check it out after you must have finished reading this article.

Assemblers:

Assemblers are programs that accept and translate assembly language written programs to their machine language equivalent. Assemblers are also denoted as asm and they are low-level programming languages that can also be known as symbol machine code.

Assemblers are machine-dependent and this simply means that they are specific to particular computer architecture and sometimes OS hence one assembler cannot run on different machines.

A disassembler is a program that performs the reverse action of an assembler and this accepts machine language programs and translates it to an assembly language. An assembly language has three basic parts namely:

  1. Opcode Mnemonics:
  2. Data Definitions:
  3. Assembly Directives:

The following are some of the applications of an assembler:

These are the only translators available as at the time of writing this article but please note that the world of technology is dynamic so there can be an addition or subtraction at any time so ensure that you subscribe to our mailing lists and also visit this website frequently so that you would be updated once we make any changes to this article.

Exit mobile version