The logical implementation of object-oriented programming is a visual programming.
Include objects in your program in two ways:
- manually using the corresponding operators in the program that actually happens very rarely;
- by visual programming environment using wood - components.
Visual programming - a practical application of OOP using ready-made libraries of components, provided programming environment.
The concept of system programming
Each programming language developed for its further implementation of the computer. It is for this specific implementation languages with their alphabet, rules of recording certain actions and developed programming system.
Programming system - an implementation of a specific programming language for certain computer systems. Each language supported by your system programming and capacities of the particular operating system.
Initially, the programming system had very limited capacity to provide the programmer only to transfer program from the algorithmic language into machine code and identify syntax errors. They do not contain even a text editor because the text had to tamp programs on punch cards using separate devices - hammer. Over time, the programming system improved, and now we use features editor of texts in the recruitment of the program, save as a text program and its machine code, features single-step program to determine the logical errors and run the program for execution. Modern systems programming complemented developed user interface that is implemented as an integrated interactive environments, or integrated tool environments. Such environments usually provide a multi-user and bahatofaylovyy mode, using a mouse, let you use object-oriented programming, using fragments of programs written in assembler. An example of integrated programming environment is Turbo Pascal.
The concept of interpretation and compilation
Compilers - a special system programs, which convert programs written in high level programming in executable form, ie a set of machine codes.
Any translator performs two main tasks. The first - an analysis program that is broadcast, causing determined by its correctness. If you find errors streamer indicates the places text programs, where violations of its writing. The second - generation language source program commands the computer.
Compilers are two types - interpreters and compilers. Interpreters translate one team or the operator to input the program to machine language and execute them immediately. Compilers translate the entire program, written in high level programming language to machine language, after which the program is written into memory and executed. The result of compiling the program, ie its machine code can be stored on external media as a separate file (exe). This vidkompilovanu program can be operated without using the programming environment.
Examples of translators include: Basic programming language interpreter and compiler Pascal.
No comments:
Post a Comment