

General concepts
Methodologies of programming
Types of languages


1. The program (well-known as source program) by means of a text editor is written and it is stored in a file.
2. This source program is invoked by the first stage of the compiler, who carries out a lexical analysis, can be considered like an interpretation of the source program preparing it for a later treatment with detail. In this stage the three indicated processes are executed next:
200 FOR I=1 TO N STEP 1it would pass a:
210 LET A (I) =0: REM Initializes the matrix
220 NEXT I
[L45] [T16] I=1 [T17] N [T18] 1 \3. Syntactic analysis is the following step, the compiler determines the structure, and of some form the meaning of the source program. The set of the program is analyzed in blocks, that are disturbed in instructions and it is come to identify the individual elements. As the syntax is expressed by means of a set of rules, each one indicates as a structure of the program from other structures of smaller organization is constructed. The process by means of which the compiler applies these rules is known like “parsing”. Next an example is mentioned:
[L46] [T09] X (I) =0 \
[L47] [T19] I \
<Line program:: =<Number of line <Word key <Rest of the sentenceand applying it to line 100 of previous example BASIC, it would be had,
<Number of line 100and therefore:
<Word key LET
<Rest of X=0 sentence
<Line of program 100 LET X=0During the compilation great amount of information, that a well-known structure of data like dictionary or table of symbols is stored in, at some time of the process is generated will be needed the information kept previously. Most is information on variables, for example for X in the previous program, it would be had in the dictionary,
Name of the variable Direction Type4. The following step is the generation of code, known as object For it crosses the generated intermediate code and one of “tokens” in the dictionary looks for each, which allows to insert the directions in the code machine that is being generated. In the example that is studying it would have:
X N 3A2F
Line 200
LOA X N+1 Use the registry índex like accountant
SIG CMP X N Compares with N
BGT AIM When finishing vetoes to AIM
Line 205
CLR To Puts to zero the storage cell
STD TO D and Copy the content of the storage cell in Y+índice
Line 210
INC. X Increases the index
BRN SIG Cont the curl
AIM
JAVA
BASIC
FORTRAN
IT MODULATES 2
Pascal
ADA
C
C ++
LOGO
LISP
PROLOG
| Bibliography (Available in the University Library): - Appleby, Doris, Lenguajes de programación : paradigma y práctica / Doris Appleby, Julius J. Vandekopple 1998 - Berger, Marc. Graficación por computador con Pascal / Marc Berger. -- Argentina, etc. : Addison-Wesley Iberoamericana, cop. 1991 - Biondi, Joëlle, Algorítmica y lenguajes / Joëlle Biondi, Gilles Clavel 1985 - Burns, Alan Sistemas de tiempo real y lenguajes de programación -- Madrid : Addison-Wesley, cop. 2003 - Cueva Lovelle, Juan Manuel...[et al.]. Introducción a la programación estructurada y orientada a objetos con Pascal -- Oviedo : Departamento de Matemáticas - Cuevas Agustín, Gonzalo. Teoría de la información, codificación y lenguajes Córdoba, Argentina : SEPA, Sociedad para Estudios Pedagogicos Argentinos , cop. 1985 - Lenguajes HTML, JAVA Y CGI : el diseño de páginas web para internet a su alcance. -- Madrid : Abeto, 1996 - Findlay, W. Pascal : programación metódica W. Findlay, D. A. Watt. -- [2ª ed.]. -- Madrid : Rueda, 1984 - Grogono, Peter, Programación en PASCAL. -- Ed. revisada. -- Argentina, etc. : Addison-Wesley, cop. 1986 - Sánchez Dueñas, G. Compiladores e intérpretes.Un enfoque pragmático 2ª ed. Díaz de Santos, Madrid 1989 - Algunos programas de uso común en Pascal. -- Madrid : McGraw-Hill, D.L. 1982 - Lenguajes HTML, JAVA Y CGI : el diseño de páginas web para internet a su alcance. -- Madrid : Abeto, 1996 - TRUCS et astuces pour turbo Pascal. -- Paris : Micro-Application, 1986 Enlaces de interés en internet: Artículos y tutoriales. Lenguaje Pascal Bjarne Stroustrup's homepage! El Máquinas Hello World. ACM Metodología y Tecnología de la Programación. Fac. Informática. Univ. Murcia Raúl Monge Anwandter. Univ. F. Sanat María. Chile Metodologías de Desarrollo de Software. Fac. Informática. Univ. Murcia The Languaje Guide Vilecha.com. Tú albergue en la red |



|
| courses:.fr.de.pt.jp |
|
| courses:.fr.de.pt.jp |