编译原理演示文稿1(Compilation principle presentation 1)

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

---------------------------------------------------------------最新资料推荐------------------------------------------------------
编译原理演示文稿1(Compilation principle
presentation 1)
编译原理演示文稿 1(Compilation principle presentation 1)This article contributes by understanding Ppt documents may experience poor browsing on the WAP side. It is recommended that you first select TXT, or download the source file to the local view. Compiling principles, presentations Chapter 1: the development of language processing program The development of a 1.1 language processor 1.1.1 outlines language processing, originating from the differences in the algorithms used by computer software designers to describe algorithms on a data set and algorithms running on that set of data. In the early days, there was no such difference between programming languages, so language processing programs were not needed. With the assembly language of this difference is produced, program designers with symbolic instruction instead of target machine instructions to illustrate the algorithm, symbol description and target machine program designer’s operation had a difference, is the first language department to solve this difference procedure -- Programming Department difference, this difference is to solve the first language process --
1 / 5
Programming Department Order. By the middle and late 1950s, large quantities such as ForTran, Algol, and preface. In the late 1950s, a large number of such as ForTran, Algol, Pascal’s senior language emerged, high-level language that programmers describe the algorithm and real Pascal have emerged, so the programmer describes the algorithm and actual operation of the machine is more and more obvious differences, differences in language processing -- a new series of running machine more and more obvious, language processing program -- a new compiler is produced. With the gradual expansion of computer applications, Software is not only a program to describe algorithms on data sets, but also includes various data and documents. Therefore, the programming language development in 80s, the object-oriented programming language would have been produced, such as: Delphi, C++, from the programming language object will have been produced, such as: Delphi, C++, and describe the characteristics and differences of programming ideas about the computer software and the realization in the computer system the more big, also fill the differences of the language processing program. Definition 1.1 defines 1.1 language processing program is a supplement spacing or implementation language processing software program between specific issues
---------------------------------------------------------------最新资料推荐------------------------------------------------------ for the application, with a description language SL (specific, for applications in the field of source language can use a description language SL (source language) to describe the SL available by the transformation the equivalent description language L1, L1 was transformed into SL can be used to describe, transformed into an equivalent description language L L2, L2 was transformed into L3...... The Ln is transformed into TL (target machine language). Converted to L...... Converted to TL (target machine language). How do you describe the pitch at this time, and how do you describe the concept of spacing and spacing? The implementation of real space relative to a L, the specific problems from application to SL or Li relative to some specific problems, from application to SL or Li are semantic distance distance from SL or any L SL is space. Distance is indicated spacing, From SL or any Li to SL, there is execution spacing. The language processing program provides a transformation from one language to another. Because of the ease of use of high-level languages, the vast majority of users currently use high-level language to design applications. Therefore, it is necessary to explain and explain how high-level languages work to understand language processing
3 / 5
programs. Advanced language through language processing program called a compiler to translate it into the target language is called machine language or assembly language for a class of low-level language, then use the software to get the space filling machine language program, running the machine language program to obtain the final results. The processing languages of the 1.1.2 language processing program can be divided into program generation and program execution. They are used to fill the description spacing and execution space respectively. The function of program generation is to generate a corresponding object program for the source of an application domain. The goal of program generation is the automatic generation of programs. A program generator is a software system that accepts instructions for the generated program and automatically generates programs that can be run according to the rules described in the instructions. If the compiler, LEX (lexical analysis builder) is a program generator, LEX (lexical analysis builder) is a program generator, to generate the target source program compiler accepts a program design of machine language format on the target program. LEX program to accept LEX source generated lexical analysis on the target program. LEX program to accept LEX source generated lexical
---------------------------------------------------------------最新资料推荐------------------------------------------------------ analysis program. The function of program execution is to load an object program into a running computer system and run the program in accordance with the instruction set of the program. At present, target languages are low-level languages, so they are usually process oriented. The source language can be problem oriented, object oriented, or process
5 / 5。

相关文档
最新文档