Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to convert a program written by a high-level programming language into an equivalent executable program

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about how to convert a program written in a high-level programming language into an equivalent executable program. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something from this article.

Converting a program written by a high-level programming language into an equivalent executable program needs to be compiled and linked. High-level programming language can get rid of the constraints of computer instruction system and machine language, and transform the source program into object code that can be recognized by CPU.

High-level programming language, also known as "algorithmic language", referred to as "high-level language". A programming language that writes programs in a formal language that is easy to write and understand. We can get rid of the constraints that the computer instruction system and machine language vary with the machine, and design the corresponding compiler (or "compiler"). The source programs written in high-level languages suitable for various machines can be converted into object codes that can be recognized by the central processing unit.

According to the basic specification for describing the calculation process, it is divided into procedural languages (such as FORTRAN language, PASCAL language, Ada language, etc.), functional languages (such as LISP language), logical languages (such as PROLOG language) and object-oriented languages (formed by adding some object-oriented description mechanisms to the previous languages).

Interpreter is a kind of high-level language translation program, which takes the source program written in the source language as input, interprets it into binary code recognized by the machine, explains a sentence and then submits it to the computer for execution, and does not form a target program.

Editing is writing the source program. Compilation refers to taking the high-level language source program as input, translating and transforming it to generate the target program of the machine language, and then let the computer execute the target program.

After reading the above, do you have any further understanding of how to convert programs written in high-level programming languages into equivalent executable programs? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report