Nueva Sintaxis
-
Upload
miguel-bahena -
Category
Documents
-
view
226 -
download
0
Embed Size (px)
Transcript of Nueva Sintaxis

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 1/149
$ , else = id
Ncol 0 1 2 3 4
Token -25 -27 107 -35 -1
0 Ppal 510 511 511 511 511
1 Z1 512 512 512 512 5122 Z2 513 513 513 513 5133 Z3 514 514 514 514 5144 Z4 3 515 515 515 5155 DecProg 510 516 516 516 5166 A1 517 517 517 517 5177 A2 518 518 518 518 138 A3 519 15 519 519 5199 A4 520 520 520 520 520
10 DecEst 512 512 512 512 51211 DecSubr 510 515 515 515 51512 DecFun 514 514 514 514 514
13 DecModulo 513 513 513 513 51314 D1 512 512 512 512 51215 D2 521 521 521 521 52116 D3 514 514 514 514 51417 DecPar 522 522 522 522 3318 E 522 34 522 522 52219 Tipo 523 523 523 523 51020 Atrib 524 524 524 524 52421 G1 525 525 525 525 52522 G2 526 526 526 526 52623 F 519 52 519 519 519
24 AND 527 510 510 527 5425 J 528 3 3 528 3
26 OR 527 510 510 527 57
27 K 529 3 3 529 328 L 530 3 3 530 3
29 ELEVACION 527 510 510 527 64
30 M 531 3 3 531 3
31 TP 527 510 510 527 67
32 N 532 3 3 532 333 Asig 533 533 533 71 510
34 Const 534 510 510 510 534
35 EXP_PAS 527 510 510 527 84
36 X 535 3 3 535 3
37 SEP 527 510 510 527 92
38 DecVar 521 521 521 521 521
39 H1 521 521 521 521 510
40H2
536 96 536 91 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 2/149
41 H3 537 537 537 537 3
42 H4 538 99 538 538 3
43 H5 539 101 539 539 539
44 H6 519 103 519 519 519
45
H7 519105
519 5193
46 H8 538 538 538 538 3
47 H9 527 527 527 527 109
48 H10 519 111 519 519 519
49 Funcion 539 510 510 510 539
50 FACTOR 527 510 510 510 133
51 O1 540 3 3 3 3
52 O2 527 3 3 3 137
53 O3 541 3 3 139 3
54 O4 542 542 542 542 142
55 O5 543 145 543 543 543
56Sent 549 549
3549 147
57 P1 544 510 544 544 544
58P2 519
159 3519
3
59 P3 545 545 510 545 545
60P4 522 522 522 522
163
61
P6 546 546 546 546
167
62
P7 547 547 547 547
171
63 P8 522 3 522 522 174
64
P10 548 548179
548178
65
P11 519
180
519 519
3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 3/149
Ppal Z1 Z2 Z3 Z4 DecProg

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 4/149
elsewher
e ) ( case default exit if
5 6 7 8 9 10 11
108 -30 -29 100 104 109 110
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 510518 518 13 518 518 518 13519 3 519 519 519 519 519
520 520 520 520 520 520 510512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 510 523 523 523 523
524 524 524 524 524 524 524
525 510 525 525 525 525 525
526 3 526 526 526 526 526
519 3 519 519 519 519 519
510 510 54 510 510 527 5103 3 3 3 3 528 3
510 510 57 510 510 527 510
3 3 3 3 3 529 3
3 3 3 3 3 530 3
510 510 64 510 510 527 510
3 3 3 3 3 531 3
510 510 67 510 510 527 510
3 3 3 3 3 532 3533 533 510 533 533 533 533
510 510 534 510 510 534 510
510 510 84 510 510 527 510
3 3 3 3 3 535 3
510 510 92 510 510 527 510
521 521 521 521 521 521 510
521 521 521 521 521 521 521
536 536 97 536 536 536 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 5/149
537 537 3 537 537 537 3
538 538 100 538 538 538 3
539 101 539 539 539 539 539
519 3 519 519 519 519 519
519 519 519 519 519 5193
538 538 107 538 538 538 3
527 3 109 527 527 527 527
519 519 519 519 519 519 519
510 510 539 510 510 539 510
510 510 134 510 510 527 510
3 3 3 3 3 540 3
3 3 137 3 3 527 3
3 3 134 3 3 541 3
5423 142
542 542 542 542543 3 543 543 543 543 543
3549 147
3 3549
152
544 544 544 544 544 544 544
3519
3 3 3519
3
510 545 545 510 510 162 510
522 522
3
522 522 522
3
546 546
167 169 168
546
167
172
547
171
547 547 547
171
522 522 522 522 522 522 522
548 548178
548 548 548178
519 519
3
519 519 519
3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 6/149
A1 A2 A3 A4 DecEst DecSubr DecFun

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 7/149
end then * forall where select do
12 13 14 15 16 17 18
106 132 -10 141 162 129 105
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
510 517 517 510 510 510 510
3 518 518 13 13 13 13519 519 519 519 519 519 519
510 520 520 510 510 510 510512 512 512 512 512 512 512
515 515 515 515 515 515 515
510 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
3 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
510 527 510 510 510 510 5103 528 3 3 3 3 3
510 527 510 510 510 510 510
3 529 3 3 3 3 3
3 530 3 3 3 3 3
510 527 510 510 510 510 510
3 531 3 3 3 3 3
510 527 510 510 510 510 510
3 532 68 3 3 3 3533 533 533 533 533 533 533
510 534 510 510 510 510 510
510 527 510 510 510 510 510
3 535 3 3 3 3 3
510 527 510 510 510 510 510
510 521 521 510 510 510 510
521 521 521 521 521 521 521
3 536 536 3 3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 8/149
3 537 537 3 3 3 3
3 538 538 3 3 3 3
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3519 519
3 3 3 3
3 538 538 3 3 3 3
527 527 527 527 527 527 527
519 519 519 519 519 519 519
510 539 510 510 510 510 510
510 527 510 510 510 510 510
3 540 3 3 3 3 3
3 527 3 3 3 3 3
3 541 3 3 3 3 3
542 542 542 542 542 542 542543 543 543 543 543 543 543
3549 549
156 155 154 153
544 544 158 544 544 544 544
3519 519
3 3 3 3
510 161 545 510 510 510 510
3
522 522
3 3 3 3
3
546 546
167 167 167 167
3
547 547
171 171 171 171
522 522 522 522 522 522 522
3548 548
178 178 178 178
3
519 519
3 3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 9/149
DecModulo D1 D2 D3 DecPar E Tipo

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 10/149
read write call return / : .not.
19 20 21 22 23 24 25
124 133 161 128 -41 -49 -46
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
510 510 510 510 517 517 517
13 13 13 13 518 13 13519 519 519 519 519 519 519
510 510 510 510 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 510 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
510 510 510 510 510 54 543 3 3 3 3 3 3
510 510 510 510 510 57 57
3 3 3 3 3 3 3
3 3 3 3 3 3 3
510 510 510 510 510 64 64
3 3 3 3 3 3 3
510 510 510 510 510 67 67
3 3 3 3 69 3 3533 533 533 533 533 510 510
510 510 510 510 510 534 534
510 510 510 510 510 84 84
3 3 3 3 3 3 3
510 510 510 510 510 92 92
510 510 510 510 521 521 521
521 521 521 521 521 521 521
3 3 3 3 536 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 11/149
3 3 3 3 537 3 3
3 3 3 3 538 3 3
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3 3 3 3519
3 3
3 3 3 3 538 3 3
527 527 527 527 527 109 109
519 519 519 519 519 510 519
510 510 510 510 539 539 539
510 510 510 510 527 132 130
3 3 3 3 3 135 3
3 3 3 3 3 137 137
3 3 3 3 3 140 3
542 542 542 542 143 142 142
543 543 543 543 146 543 543
151 150 149 148549 147 147
544 544 544 544 544 544 544
3 3 3 3519
3 3
510 510 510 510 545 545 545
3 3 3 3
522
3 3
167 167 167 167
546
167 167
171 171 171 171
547
171 171
522 522 522 522 522 522 522
178 178 178 178548
178 178
3 3 3 3
519
3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 12/149
Atrib G1 G2 F AND J OR

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 13/149
mod achar iachar open reshape index close
26 27 28 29 30 31 32
149 135 143 118 155 144 137
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
13 13 13 13 13 13 13519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
54 54 54 54 54 54 543 3 3 3 3 3 3
57 57 57 57 57 57 57
3 3 3 3 3 3 3
3 3 3 3 3 3 3
64 64 64 64 64 64 64
3 3 3 3 3 3 3
67 67 67 67 67 67 67
3 3 3 3 3 3 3
510 510 510 510 510 510 510
534 534 534 534 534 534 534
84 84 84 84 84 84 84
3 3 3 3 3 3 3
92 92 92 92 92 92 92
521 521 521 521 521 521 521
521 521 521 521 521 521 521
3 3 3 3 3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 14/149
3 3 3 3 3 3 3
3 3 3 3 3 3 3
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3 3 3 3 3 3 3
3 3 3 3 3 3 3
109 109 109 109 109 109 109
519 519 519 519 519 519 519
128 127 126 125 124 123 122
129 129 129 129 129 129 129
3 3 3 3 3 3 3
137 137 137 137 137 137 137
3 3 3 3 3 3 3
142 142 142 142 142 142 142
543 543 543 543 543 543 543
147 147 147 147 147 147 147
544 544 544 544 544 544 544
3 3 3 3 3 3 3
545 545 545 545 545 545 545
3 3 3 3 3 3 3
167 167 167 167 167 167 167
171 171 171 171 171 171 171
522 522 522 522 522 522 522
178 178 178 178 178 178 178
3 3 3 3 3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 15/149
K L ELEVACIO
N M TP N Asig

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 16/149
minval ceiling floor int presicio
n maxval trim
33 34 35 36 37 38 39
148 136 140 112 152 147 158
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
13 13 13 13 13 13 13519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
54 54 54 54 54 54 543 3 3 3 3 3 3
57 57 57 57 57 57 57
3 3 3 3 3 3 3
3 3 3 3 3 3 3
64 64 64 64 64 64 64
3 3 3 3 3 3 3
67 67 67 67 67 67 67
3 3 3 3 3 3 3
510 510 510 510 510 510 510
534 534 534 534 534 534 534
84 84 84 84 84 84 84
3 3 3 3 3 3 3
92 92 92 92 92 92 92
521 521 521 521 521 521 521
521 521 521 521 521 521 521
3 3 3 3 3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 17/149
3 3 3 3 3 3 3
3 3 3 3 3 3 3
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3 3 3 3 3 3 3
3 3 3 3 3 3 3
109 109 109 109 109 109 109
519 519 519 519 519 519 519
121 120 119 118 117 116 115
129 129 129 129 129 129 129
3 3 3 3 3 3 3
137 137 137 137 137 137 137
3 3 3 3 3 3 3
142 142 142 142 142 142 142
543 543 543 543 543 543 543
147 147 147 147 147 147 147
544 544 544 544 544 544 544
3 3 3 3 3 3 3
545 545 545 545 545 545 545
3 3 3 3 3 3 3
167 167 167 167 167 167 167
171 171 171 171 171 171 171
522 522 522 522 522 522 522
178 178 178 178 178 178 178
3 3 3 3 3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 18/149
Const EXP_PAS X SEP DecVar H1 H2

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 19/149
len sqrt abs + - .GT. .GE.
40 41 42 43 44 45 46
146 156 134 -9 -11 -20 -21
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
13 13 13 518 518 518 518
519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
54 54 54 510 510 510 5103 3 3 3 3 3 3
57 57 57 510 510 510 510
3 3 3 3 3 3 3
3 3 3 62 61 3 3
64 64 64 510 510 510 510
3 3 3 3 3 3 3
67 67 67 510 510 510 510
3 3 3 3 3 3 3
510 510 510 533 533 533 533
534 534 534 510 510 510 510
84 84 84 510 510 510 510
3 3 3 3 3 90 89
92 92 92 510 510 510 510
521 521 521 521 521 521 521
521 521 521 521 521 521 521
3 3 3 536 536 536 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 20/149
3 3 3 537 537 537 537
3 3 3 538 538 538 538
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3 3 3519 519 519 519
3 3 3 538 538 538 538
109 109 109 527 527 527 527
519 519 519 519 519 519 519
114 113 112 510 510 510 510
129 129 129 510 510 510 510
3 3 3 3 3 3 3
137 137 137 3 3 3 3
3 3 3 3 3 3 3
142 142 142 542 542 542 542
543 543 543 543 543 543 543
147 147 147 549 549 549 549
544 544 544 544 544 544 544
3 3 3519 519 519 519
545 545 545 545 545 545 545
3 3 3
522 522 522 522
167 167 167
546 546 546 546
171 171 171
547 547 547 547
522 522 522 522 522 522 522
178 178 178548 548 548 548
3 3 3
519 519 519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 21/149
H3 H4 H5 H6 H7 H8 H9

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 22/149
.NE. .EQ. .LE. .LT. ccom cdob creal
47 48 49 50 51 52 53
-39 -22 -19 -18 -48 -7 -6
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
518 518 518 518 13 13 13519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
510 510 510 510 54 54 543 3 3 3 3 3 3
510 510 510 510 57 57 57
3 3 3 3 3 3 3
3 3 3 3 3 3 3
510 510 510 510 64 64 64
3 3 3 3 3 3 3
510 510 510 510 67 67 67
3 3 3 3 3 3 3533 533 533 533 510 510 510
510 510 510 510 83 82 81
510 510 510 510 84 84 84
88 87 86 85 3 3 3
510 510 510 510 92 92 92
521 521 521 521 521 521 521
521 521 521 521 521 521 521
536 536 536 536 3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 23/149
537 537 537 537 3 3 3
538 538 538 538 3 3 3
539 539 539 539 539 539 539
519 519 519 519 519 519 519
519 519 519 5193 3 3
538 538 538 538 3 3 3
527 527 527 527 109 109 109
519 519 519 519 519 519 519
510 510 510 510 539 539 539
510 510 510 510 131 131 131
3 3 3 3 3 3 3
3 3 3 3 137 137 137
3 3 3 3 3 3 3
542 542 542 542 142 142 142
543 543 543 543 543 543 543
549 549 549 549 147 147 147
544 544 544 544 544 544 544
519 519 519 5193 3 3
545 545 545 545 545 545 545
522 522 522 522
3 3 3
546 546 546 546
167 167 167
547 547 547 547
171 171 171
522 522 522 522 522 522 522
548 548 548 548178 178 178
519 519 519 519
3 3 3

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 24/149
H10 Funcion FACTOR O1 O2 O3 O4

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 25/149
cent cstr ccar .false. .true. *= /=
54 55 56 57 58 59 60
-4 -5 -8 -43 -16 -37 -40
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
13 13 13 13 13 518 518
519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
54 54 54 54 54 527 5273 3 3 3 3 528 528
57 57 57 57 57 527 527
3 3 3 3 3 529 529
3 3 3 3 3 530 530
64 64 64 64 64 527 527
3 3 3 3 3 531 531
67 67 67 67 67 527 527
3 3 3 3 3 532 532
510 510 510 510 510 75 74
80 79 78 77 76 534 534
84 84 84 84 84 527 527
3 3 3 3 3 535 535
92 92 92 92 92 527 527
521 521 521 521 521 521 521
521 521 521 521 521 521 521
3 3 3 3 3 536 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 26/149
3 3 3 3 3 537 537
3 3 3 3 3 538 538
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3 3 3 3 3519 519
3 3 3 3 3 538 538
109 109 109 109 109 527 527
519 519 519 519 519 519 519
539 539 539 539 539 539 539
131 131 131 131 131 527 527
3 3 3 3 3 540 540
137 137 137 137 137 527 527
3 3 3 3 3 139 139
142 142 142 142 142 542 542
543 543 543 543 543 543 543
147 147 147 147 147 549 549
157 544 544 544 544 544 544
3 3 3 3 3519 519
545 545 545 545 545 545 545
3 3 3 3 3
522 522
167 167 167 167 167
546 546
171 171 171 171 171
547 547
522 522 522 522 522 522 522
178 178 178 178 178548 548
3 3 3 3 3
519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 27/149
O5 Sent P1 P2 P3 P4 P6

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 28/149
-= += ** .XOR. .OR. .AND. out
61 62 63 64 65 66 67
-37 -36 -42 -45 -47 -44 119
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
518 518 518 518 518 518 518
519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 48526 526 526 526 526 526 50519 519 519 519 519 519 519
527 527 510 510 510 510 527528 528 3 3 3 55 528
527 527 510 510 510 510 527
529 529 3 59 58 3 529
530 530 3 3 3 3 530
527 527 510 510 510 510 527
531 531 65 3 3 3 531
527 527 510 510 510 510 527
532 532 3 3 3 3 532
73 72 533 533 533 533 533
534 534 510 510 510 510 534
527 527 510 510 510 510 527
535 535 3 3 3 3 535
527 527 510 510 510 510 527
521 521 521 521 521 521 521
521 521 521 521 521 521 521
536 536 536 536 536 536 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 29/149
537 537 537 537 537 537 537
538 538 538 538 538 538 538
539 539 539 539 539 539 539
519 519 519 519 519 519 519
519 519 519 519 519 519 519
538 538 538 538 538 538 538
527 527 527 527 527 527 527
519 519 519 519 519 519 519
539 539 510 510 510 510 539
527 527 510 510 510 510 527
540 540 3 3 3 3 540
527 527 3 3 3 3 527
139 139 3 3 3 3 541
542 542 542 542 542 542 542543 543 543 543 543 543 543
549 549 549 549 549 549 549
544 544 544 544 544 544 544
519 519 519 519 519 519 519
545 545 545 545 545 545 545
522 522 522 522 522 522 522
546 546 546 546 546 546 546
547 547 547 547 547 547 547
522 522 522 522 522 522 522
548 548 548 548 548 548 548
519 519 519 519 519 519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 30/149
P7 P8 P10 P11

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 31/149
in intent dimensi
on public private
instrinsi
c
paramet
er
68 69 70 71 72 73 74
163 115 138 154 153 145 120
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
518 518 518 518 518 518 518
519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 47 46 45 44 43 42
49 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
527 527 527 527 527 527 527528 528 528 528 528 528 528
527 527 527 527 527 527 527
529 529 529 529 529 529 529
530 530 530 530 530 530 530
527 527 527 527 527 527 527
531 531 531 531 531 531 531
527 527 527 527 527 527 527
532 532 532 532 532 532 532
533 533 533 533 533 533 533
534 534 534 534 534 534 534
527 527 527 527 527 527 527
535 535 535 535 535 535 535
527 527 527 527 527 527 527
521 521 521 521 521 521 521
521 521 521 521 521 521 521
536 536 536 536 536 536 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 32/149
537 537 537 537 537 537 537
538 538 538 538 538 538 538
539 539 539 539 539 539 539
519 519 519 519 519 519 519
519 519 519 519 519 519 519
538 538 538 538 538 538 538
527 527 527 527 527 527 527
519 519 519 519 519 519 519
539 539 539 539 539 539 539
527 527 527 527 527 527 527
540 540 540 540 540 540 540
527 527 527 527 527 527 527
541 541 541 541 541 541 541
542 542 542 542 542 542 542543 543 543 543 543 543 543
549 549 549 549 549 549 549
544 544 544 544 544 544 544
519 519 519 519 519 519 519
545 545 545 545 545 545 545
522 522 522 522 522 522 522
546 546 546 546 546 546 546
547 547 547 547 547 547 547
522 522 522 522 522 522 522
548 548 548 548 548 548 548
519 519 519 519 519 519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 33/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 34/149
char double integer real complex type modulo
75 76 77 78 79 80 81
101 139 114 125 102 159 150
511 511 511 511 511 1 1
512 512 512 512 512 2 3513 513 513 513 513 513 4514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
11 11 11 11 11 11 517
518 518 518 518 518 518 518
519 519 519 519 519 519 519
17 17 17 17 17 17 520
510 510 510 510 510 19 510515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 26
3 3 3 3 3 27 512
29 29 29 29 29 29 521
514 514 514 514 514 514 514
510 510 510 510 510 510 522
3 3 3 3 3 3 522
41 40 39 38 37 36 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
510 510 510 510 510 510 5273 3 3 3 3 3 528
510 510 510 510 510 510 527
3 3 3 3 3 3 529
3 3 3 3 3 3 530
510 510 510 510 510 510 527
3 3 3 3 3 3 531
510 510 510 510 510 510 527
3 3 3 3 3 3 532
533 533 533 533 533 533 533
510 510 510 510 510 510 534
510 510 510 510 510 510 527
3 3 3 3 3 3 535
510 510 510 510 510 510 527
93 93 93 93 93 93 521
95 95 95 95 95 95 521
3 3 3 3 3 3 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 35/149
98 98 98 98 98 98 537
3 3 3 3 3 3 538
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3 3 3 3 3 3519
3 3 3 3 3 3 538
527 527 527 527 527 527 527
519 519 519 519 519 519 519
510 510 510 510 510 510 539
510 510 510 510 510 510 527
3 3 3 3 3 3 540
3 3 3 3 3 3 527
3 3 3 3 3 3 541
542 542 542 542 542 542 542543 543 543 543 543 543 543
549 549 549 549 549 549 549
544 544 544 544 544 544 544
519 519 519 519 519 519 519
545 545 545 545 545 545 545
522 522 522 522 522 522 522
546 546 546 546 546 546 546
547 547 547 547 547 547 547
522 522 522 522 522 522 522
548 548 548 548 548 548 548
519 519 519 519 519 519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 36/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 37/149
function subrouti
ne use none
progra
m implicit interface
82 83 84 85 86 87 88
142 157 160 151 123 111 116
1 511 511 511 1 511 511
3 512 512 512 3 512 5123 513 513 513 3 513 513
6 514 514 514 3 514 514
515 8 515 515 515 515 515
516 510 516 516 10 516 516
517 517 517 12 517 517 517
518 518 518 518 518 518 518
519 519 519 519 519 519 519
520 17 18 520 520 520 520
510 510 512 512 510 512 512
515 20 515 515 515 515 515
23 514 514 514 510 514 514
510 513 513 513 510 513 513
512 3 512 512 512 512 512
3 29 521 521 521 521 521
31 514 514 514 514 514 514
522 510 522 522 522 522 522
522 3 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
510 510 527 527 527 527 5273 3 528 528 528 528 528
510 510 527 527 527 527 527
3 3 529 529 529 529 529
3 3 530 530 530 530 530
510 510 527 527 527 527 527
3 3 531 531 531 531 531
510 510 527 527 527 527 527
3 3 532 532 532 532 532
533 533 533 533 533 533 533
510 510 534 534 534 534 534
510 510 527 527 527 527 527
3 3 535 535 535 535 535
510 510 527 527 527 527 527
510 93 521 521 521 521 521
521 94 521 521 521 521 521
3 3 536 536 536 536 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 38/149
3 3 537 537 537 537 537
3 3 538 538 538 538 538
539 539 539 539 539 539 539
519 519 519 519 519 519 519
3 3519 519 519 519 519
3 3 538 538 538 538 538
527 527 527 527 527 527 527
519 519 519 519 519 519 519
510 510 539 539 539 539 539
510 510 527 527 527 527 527
3 3 540 540 540 540 540
3 3 527 527 527 527 527
3 3 541 541 541 541 541
542 542 542 542 542 542 542543 543 543 543 543 543 543
549 549 549 549 549 549 549
544 544 544 544 544 544 544
519 519 519 519 519 519 519
545 545 545 545 545 545 545
522 522 522 522 522 522 522
546 546 546 546 546 546 546
547 547 547 547 547 547 547
522 522 522 522 522 522 522
548 548 548 548 548 548 548
519 519 519 519 519 519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 39/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 40/149
only pointer print recursive result size target
89 90 91 92 93 94 95
117 121 122 126 127 130 131
511 511 511 511 511 511 511
512 512 512 512 512 512 512513 513 513 513 513 513 513
514 514 514 514 514 514 514
515 515 515 515 515 515 515
516 516 516 516 516 516 516
517 517 517 517 517 517 517
518 518 518 518 518 518 518
519 519 519 519 519 519 519
520 520 520 520 520 520 520
512 512 512 512 512 512 512
515 515 515 515 515 515 515
514 514 514 514 514 514 514
513 513 513 513 513 513 513
512 512 512 512 512 512 512
521 521 521 521 521 521 521
514 514 514 514 514 514 514
522 522 522 522 522 522 522
522 522 522 522 522 522 522
523 523 523 523 523 523 523
524 524 524 524 524 524 524
525 525 525 525 525 525 525
526 526 526 526 526 526 526
519 519 519 519 519 519 519
527 527 527 527 527 527 527528 528 528 528 528 528 528
527 527 527 527 527 527 527
529 529 529 529 529 529 529
530 530 530 530 530 530 530
527 527 527 527 527 527 527
531 531 531 531 531 531 531
527 527 527 527 527 527 527
532 532 532 532 532 532 532
533 533 533 533 533 533 533
534 534 534 534 534 534 534
527 527 527 527 527 527 527
535 535 535 535 535 535 535
527 527 527 527 527 527 527
521 521 521 521 521 521 521
521 521 521 521 521 521 521
536 536 536 536 536 536 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 41/149
537 537 537 537 537 537 537
538 538 538 538 538 538 538
539 539 539 539 539 539 539
519 519 519 519 519 519 519
519 519 519 519 519 519 519
538 538 538 538 538 538 538
527 527 527 527 527 527 527
519 519 519 519 519 519 519
539 539 539 539 539 539 539
527 527 527 527 527 527 527
540 540 540 540 540 540 540
527 527 527 527 527 527 527
541 541 541 541 541 541 541
542 542 542 542 542 542 542543 543 543 543 543 543 543
549 549 549 549 549 549 549
544 544 544 544 544 544 544
519 519 519 519 519 519 519
545 545 545 545 545 545 545
522 522 522 522 522 522 522
546 546 546 546 546 546 546
547 547 547 547 547 547 547
522 522 522 522 522 522 522
548 548 548 548 548 548 548
519 519 519 519 519 519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 42/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 43/149
cycle inout { } [ ]
96 97 98 99 100 101
103 113 -33 -34 -31 -32
511 511 511 511 511 511
512 512 512 512 512 512513 513 513 513 513 513
514 514 514 514 514 514
515 515 515 515 515 515
516 516 516 516 516 516
517 517 517 517 517 517
518 518 518 518 518 518
519 519 519 519 519 519
520 520 520 520 520 520
512 512 512 512 512 512
515 515 515 515 515 515
514 514 514 514 514 514
513 513 513 513 513 513
512 512 512 512 512 512
521 521 521 521 521 521
514 514 514 514 514 514
522 522 522 522 522 522
522 522 522 522 522 522
523 523 523 523 523 523
524 524 524 524 524 524
525 525 525 525 525 525
526 526 526 526 526 526
519 519 519 519 519 519
527 527 527 527 527 527528 528 528 528 528 528
527 527 527 527 527 527
529 529 529 529 529 529
530 530 530 530 530 530
527 527 527 527 527 527
531 531 531 531 531 531
527 527 527 527 527 527
532 532 532 532 532 532
533 533 533 533 533 533
534 534 534 534 534 534
527 527 527 527 527 527
535 535 535 535 535 535
527 527 527 527 527 527
521 521 521 521 521 521
521 521 521 521 521 521
536 536 536 536 536 536

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 44/149
537 537 537 537 537 537
538 538 538 538 538 538
539 539 539 539 539 539
519 519 519 519 519 519
519 519 519 519 519 519
538 538 538 538 538 538
527 527 527 527 527 527
519 519 519 519 519 519
539 539 539 539 539 539
527 527 527 527 527 527
540 540 540 540 540 540
527 527 527 527 527 527
541 541 541 541 541 541
542 542 542 542 542 542543 543 543 543 543 543
549 549 549 549 549 549
544 544 544 544 544 544
519 519 519 519 519 519
545 545 545 545 545 545
522 522 522 522 522 522
546 546 546 546 546 546
547 547 547 547 547 547
522 522 522 522 522 522
548 548 548 548 548 548
519 519 519 519 519 519

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 45/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 46/149
t e modulo function
t emodulofunction
subroutinero ramchar double integer
if forall wherecomachar double inte ertype
subroutinefunctionmodulo
t echar double inte er
functionidid
char double inte erintent dimension public
out inout
coma
id ( :.AND.
id ( :
.XOR. .OR.+ -
id ( :
**
id ( :
* /= *= /=
ccom cdob creal
id ( :
.GT. .GE. .NE.
char double integer
= (

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 47/149
char double integer
( :coma )
coma
coma
(
id ( :
coma
mod achar iachar
id ( :
:
id ( :
= : *=
id ( /coma /
id ( if
* cent
coma
exit then
id
case default
elsewhere exit forall
id
else if forall
coma

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 48/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 49/149
ro ram
real complex typeselect do read
real com lex t e
real com lex t e
real com lex t eprivate instrinsic parameter
.not. mod achar
.not. mod achar
.not. mod achar
.not. mod achar
-= +=
cent cstr ccar
.not. mod achar
.EQ. .LE. .LT.
real complex type

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 50/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 51/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 52/149
nonewrite call return
subroutine use
subroutine
iachar open reshape index close minval
iachar open reshape index close minval
iachar open reshape index close minval
iachar open reshape index close minval
.false. .true.
iachar open reshape index close minval
subroutine

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 53/149
iachar open reshape index close minval
close minval ceiling floor int presicion
iachar open reshape index close minval
iachar open reshape index close minval
achar iachar open reshape index close
do read write call return :
read write call return
read write call return

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 54/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 55/149
ceiling floor int presicion maxval trim len
ceiling floor int presicion maxval trim len
ceiling floor int presicion maxval trim len
ceiling floor int presicion maxval trim len
ceiling floor int presicion maxval trim len

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 56/149
ceiling floor int presicion maxval trim len
maxval trim len sqrt abs
ceiling floor int presicion maxval trim len
ceiling floor int presicion maxval trim len
minval ceiling floor int presicion maxval trim
.not. mod achar iachar open reshape index

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 57/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 58/149
sqrt abs ccom cdob creal cent cstr
sqrt abs ccom cdob creal cent cstr
sqrt abs ccom cdob creal cent cstr
sqrt abs ccom cdob creal cent cstr
sqrt abs ccom cdob creal cent cstr

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 59/149
sqrt abs ccom cdob creal cent cstr
sqrt abs ccom cdob creal cent cstr
sqrt abs ccom cdob creal cent cstr
len sqrt abs ccom cdob creal cent
close minval ceiling floor int presicio
n maxval

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 60/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 61/149
ccar .false. .true.
ccar .false. .true.
ccar .false. .true.
ccar .false. .true.
ccar .false. .true.

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 62/149
ccar .false. .true.
ccar .false. .true.
ccar .false. .true.
cstr ccar .false. .true.
trim len sqrt abs ccom cdob creal

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 63/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 64/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 65/149
cent cstr ccar .false. .true.

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 66/149
1 Ppal-> Z1 Z2 Z3 DecProg Z4. estas son lasp
2 Z1-> DecEst Z1 hice algunos c
3 | . entonces reuti
4 Z2->DecModulo Z2 mas abajo co
5 | .
6 Z3->DecFun Z3
7 | .8 Z4->DecSubr Z4
9 | .
10 DecProg-> program id implicit A1 A2 end program id.
11 A1-> Tipo ( id A3 ) A4
12 | none A4 Sent.
13 A2-> Sent A2
14 | .
15 A3-> coma id A3
16 | .
17 A4-> DecVar
18 | use OR DecVar.
19 DecEst-> type id DecVar end type.
20 DecSubr-> subroutine id DecPar DecVar Sent A2 end subroutine.
21 DecFun-> function Tipo id DecPar DecVar Sent A2 end function.
22 DecModulo-> modulo id DecEst D1 DecVar D2 DecFun D3 end modulo id.
23 D1-> DecEst D1
24 | .
25 D2-> DecVar D2
26 | .
27 D3->DecFun D3
28 | .29 DecPar-> id E.
30 E-> coma id E
31 | .
32 Tipo-> type id
33 | complex
34 | real
35 | integer
36 | double
37 | char ( len igual OR ).
38 Atrib-> parameter
39 | instrinsic
40 | private
41 | public
42 | dimension ( OR F )
43 |intent ( G1 ).
44 G1-> out
45 |in G2.
46 G2->out
47 | .

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 67/149
48 F-> coma OR F
49 | .
50 AND-> EXP_PAS J.
51 J-> pntANDpnt EXP_PAS J
52 | .
53 OR-> AND K.
54 K-> pntORpnt AND K55 | pntXORpnt AND K
56 | .
57 L-> menos TP L
58 | mas TP L
59 | .
60 ELEVACION -> FACTOR M.
61 M-> astast FACTOR M
62 | .
63 TP-> ELEVACION N.
64 N-> ast ELEVACION N
65 | / ELEVACION N
66 | .
67 Asig-> igual
68 | masigual
69 | menosigual
70 | /igual
71 | astigual.
72 Const-> pnttruepnt
73 | pntfalsepnt
74 | ccar
75 | cstr76 | cent
77 | creal
78 | cdob
79 | ccom.
80 EXP_PAS-> SEP X.
81 X-> pntLTpnt SEP X
82 | pntLEpnt SEP X
83 | pntEQpnt SEP X
84 | pntNEpnt SEP X
85 | pntGEpnt SEP X
86 | pntGTpnt SEP X
87 | .
88 SEP-> TP L.
89 DecVar-> H1 id H2 H3.
90 H1-> subroutine
91 | Tipo H4 : :.
92 H2-> H7 igual OR
93 | H8
94 | .

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 68/149
95 H3-> Tipo H4
96 | .
97 H4-> ( OR H5 ) H10 | H10 | .
98 H5-> coma OR H5
99 | . aki voy a poner una produccion de H4: H10
100 H6-> coma OR H6 tambien le puse epsilon a H4
101 | .102 H7 -> coma id H2
103 | .
104 H8-> ( H9 )
105 | .
106 H9-> OR H6
107 | .
108 H10-> coma Atrib.
109 Funcion-> abs ( OR )
110 | sqrt ( OR )
111 | len ( OR )
112 | trim ( OR )
113 | maxval ( OR )
114 | presicion ( OR )
115 | int ( OR )
116 | floor ( OR )
117 | ceiling ( OR )
118 | minval ( OR )
119 | close ( OR )
120 | index ( OR coma OR coma OR )
121 | reshape ( OR coma OR coma OR )
122 | open ( OR coma OR coma OR )123 | iachar ( OR coma OR )
124 | achar ( OR coma OR )
125 | mod ( OR coma OR ).
126 FACTOR-> Funcion
127 | pntnotpunto ( OR )
128 | Const O1
129 |: O2
130 | id O3
131 |( O4 ).
132 O1-> : O2
133 | .
134 O2-> OR
135 | .
136 O3-> Asig OR
137 | ( O4 )
138 | : OR
139 | .
140 O4-> OR O5
141 | / / OR O5 aki se debe agregar otra produccion | (O4)

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 69/149
142 | .
143 O5-> coma OR O5 aki hubo modificacio de un / por 2 //
144 | / /
145 | .
146 Sent -> return OR aki hubo modificacio de un / por 2 //
147 |call OR aki voy a insertar una prod de Sent: OR
148 | write ( P1 coma ast ) OR P2 Sent produce epsilon!!!149 |read ( P1 coma ast ) OR P2
150 |if ( OR ) P3
151 | do P4 Sent A2 end do
152 | OR
153 | select case ( OR ) case ( OR ) Sent P6 end select
154 | where ( OR ) Sent P7 end where
155 |forall ( id igual OR P8 coma OR ) Sent A2 end forall
156 | .
157 P1 -> cent
158 | ast.
159 P2 -> coma OR P2
160 | .
161 P3 -> then Sent P10 end if
162 | exit.
163 P4 -> id igual OR coma OR P11
164 | .
165 P6 -> Sent P6
166 | default Sent A2
167 | case ( OR ) Sent P6
168 | .
169 P7 -> Sent P7170 | elsewhere Sent A2
171 | .
172 P8 -> id igual OR P8
173 | .
174 P10 -> Sent P10
175 | else Sent A2
176 | .
177 P11 -> coma OR
178 | .

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 70/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 71/149
nonterminal first set
Ppal program type modulo function
Z1 type
Z2 modulo
Z3 function
Z4 subroutine
DecProg program
A1 none type complex real integerdouble char
A3 coma
A4 use subroutine type complex realinteger double char
DecSubr subroutine
DecModulo modulo
DecEst type
D1 type
D2 subroutine type complex realinteger double char
DecFun function
D3 function
DecPar id
E coma
G1 out in
G2 out
F coma
J pntANDpnt

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 72/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 73/149
L menos mas
DecVar subroutine type complex realinteger double char
H1 subroutine type complex realinteger double char
H3 type complex real integer doublechar
Tipo type complex real integer doublechar
H4 ( coma
H5 coma
H7 coma
H2 igual coma (
H8 (

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 74/149
H9
pntnotpunto : id ( abs sqrt len trimmaxval presicion int floor
ceilingminval close index reshape openiachar achar mod pntt
ruepntpntfalsepnt ccar cstr cent crealcdob ccom
H6 coma
H10 coma
Atrib parameter instrinsic privatepublic dimension intent
FACTOR
pn no pun o : a s sqr en r mmaxva pres c on n oor
ceilingminval close index reshape openiachar achar mod pntt
Funcion
abs sqrt len trim maxvalpresicion int floor ceiling minvalclos
e index reshape open iacharachar mod
Const pnttruepnt pntfalsepnt ccar cstrcent creal cdob ccom
O1 :
O2
pntnotpunto : id ( abs sqrt len trimmaxval presicion int floor
ceilingminval close index reshape openiachar achar mod pnttruepntpntfalsepnt ccar cstr cent crealcdob ccom
O3 (O4) : igual masigual menosigual/igual astigual

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 75/149
Asig igual masigual menosigual /igualastigual
O4
/ pntnotpunto : id ( abs sqrt lentrim maxval presicion int floo
rceiling minval close indexreshape open iachar achar modpnt
truepnt pntfalsepnt ccar cstrcent creal cdob ccom
O5 coma /
P1 cent astcoma
P6
default case return call write readif do select where forallpnt
notpunto : id ( abs sqrt len trimmaxval presicion int floor ceil
ingminval close index reshape openiachar achar mod pnttrue
pntpntfalsepnt ccar cstr cent crealcdob ccom
P7
elsewhere return call write readif do select where forallpntno
tpunto : id ( abs sqrt len trimmaxval presicion int floor ceilin
gminval close index reshape openiachar achar mod pnttruepn
tpntfalsepnt ccar cstr cent crealcdob ccom
P8 id
P10
else return call write read if doselect where forall pntnotpunt
o :id ( abs sqrt len trim maxvalpresicion int floor ceiling min
valclose index reshape open iacharachar mod pnttruepnt pntf
alsepntccar cstr cent creal cdob ccom

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 76/149
Sent
return call write read if do selectwhere forall pntnotpunto : id
(abs sqrt len trim maxvalpresicion int floor ceiling minvalcl
ose index reshape open iacharachar mod pnttruepnt pntfalsep
ntccar cstr cent creal cdob ccom
A2
return call write read if do selectwhere forall pntnotpunto : id (abs sqrt len trim maxvalpresicion int floor ceiling minvalcl
ose index reshape open iacharachar mod pnttruepnt pntfalsep
ntccar cstr cent creal cdob ccom
P11 coma
OR
pntnotpunto : id ( abs sqrt len trimmaxval presicion int floor
ceilingminval close index reshape openiachar achar mod pntt
ruepntpntfalsepnt ccar cstr cent crealcdob ccom

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 77/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 78/149
follow set
∅
modulo function program
function program
program
∅
subroutine
floor ceiling minvalclose index reshape open iachar achar mod pnttruepntpntfalsepnt ccar cstr cent
creal cdob ccom end
)re urn ca wr e rea o se ec w ere ora pn no pun o : a s sqr en r m maxva pres c on n
floor ceiling minvalclose index reshape open iachar achar mod pnttruepntpntfalsepnt ccar cstr cent
subroutine
modulo function program
subroutine complex real integer double char type modulofunction program
subroutine type complex real integer double char
function
end function program
end
subroutine type complex real integer double char
subroutine type complex real integer double char
)
)
)
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 79/149
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else pn pn pn pn pn pn pn pn pn pn pn pn as as as menos mas pn pn pn
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXORpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 80/149
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
function subroutine type complex real integer double charreturn call write read if do select where for
all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o
pen iachar achar mod pnttruepntpntfalsepnt ccar cstr cent creal cdob ccom end
id
function subroutine type complex real integer double charreturn call write read if do select where for
all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o
pen iachar achar mod pnttruepntpntfalsepnt ccar cstr cent creal cdob ccom end
function subroutine type complex real integer double charcoma return call write read if do select wh
ere forallpntnotpunto : id ( abs sqrt len trim maxval presicion int floorceiling minval close index res
hape open iachar achar modpnttruepnt pntfalsepnt ccar cstr cent creal cdob ccom endunc on su rou ne ype comp ex rea n eger ou e c arre urn ca wr e rea o se ec w ere or
all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o
)unc on su rou ne ype comp ex rea n eger ou e c arre urn ca wr e rea o se ec w ere or
all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o
function subroutine type complex real integer double charreturn call write read if do select where for
all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o
pen iachar achar mod pnttruepntpntfalsepnt ccar cstr cent creal cdob ccom end
all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 81/149
)
)
function subroutine type complex real integer double charreturn call write read if do select where for
all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o
pen iachar achar mod pnttruepntpntfalsepnt ccar cstr cent creal cdob ccom end
function subroutine type complex real integer double charreturn call write read if do select where for all pntnotpunto : id( abs sqrt len trim maxval presicion int floor ceiling minvalclose index reshape o
pen iachar achar mod pnttruepntpntfalsepnt ccar cstr cent creal cdob ccom end pn pn pn pn pn pn pn pn pn pn pn pn as as as menos mas pn pn pn
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt ccar cstr cent crealcdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case else
where else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 82/149
pntnotpunto : id ( abs sqrt len trim maxval presicion int floorceiling minval close index reshape open
iachar achar modpnttruepnt pntfalsepnt ccar cstr cent creal cdob ccom
)
)
comae au t case e sew ere e se return ca wr te rea o se ectw ere ora pntnotpunto : a s sqrt
end
end
coma
end

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 83/149
default case elsewhere else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt l
en trim maxvalpresicion int floor ceiling minval close index reshape openiachar achar mod pnttruep
nt pntfalsepnt ccar cstr cent crealcdob ccom end
end
return call write read if do select where forall pntnotpunto : id( abs sqrt len trim maxval presicion int
floor ceiling minvalclose index reshape open iachar achar mod pnttruepntpntfalsepnt ccar cstr cent
creal cdob ccom end
pntLTpnt pntLEpnt pntEQpnt pntNEpnt pntGEpnt pntGTpnt astastast menos mas pntORpnt pntXO
Rpnt pntANDpnt functionsubroutine type complex real integer double char / coma )default case elsewhere else return call write read if do selectwhere forall pntnotpunto : id ( abs sqrt len trim maxvalpr
esicion int floor ceiling minval close index reshape openiachar achar mod pnttruepnt pntfalsepnt cca
r cstr cent crealcdob ccom end

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 84/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 85/149
nullable endable
no yes
yes no
yes no
yes no
yes yes
no yes
no no
yes no
no no
no yes
no no
no no
yes no
yes no
no no
yes no
no no
yes no
no no
yes no
yes no
yes no

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 86/149
no no
yes no
yes no
no no
yes no
no no
yes no
no no
no no

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 87/149
yes no
no no
no no
yes no
no no
yes no
yes no
yes no
yes no
yes no

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 88/149
yes no
yes no
no no
no no
no no
no no
no no
yes no
yes no
yes no

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 89/149
no no
yes no
yes no
no noyes no
yes no
yes no
yes no
yes no

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 90/149
yes no
yes no
yes no
no no

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 91/149
Z1%Z2%Z3%DecProg%DecSubr%Z4
DecEst%Z1
666
DecModulo%Z2
666
DecFun%Z3
666DecSubr%Z4
666
program%id%implicit%A1%A2%end%program%id
Tipo%(%id%A3%)%A4
none%A4%Sent
Sent%A2
666
,%id%A3
666
DecVar
use%OR%DecVar
type%id%DecVar%end%type
subroutine%id%DecPar%DecVar%Sent%B%end%subroutine
Sent%B
666
function%Tipo%id%DecPar%DecVar%Sent%A2%end%function
Sent%C
666
modulo%id%DecEst%D1%DecVar%D2%DecFun%D3%end%modulo%id
DecEst%D1
666DecVar%D2
666
DecFun%D3
666
id%E
coma%id%E
666
type%id
complex
real
integer
double
char%(%len%=%OR%)
parameter
instrinsic
private
public
dimension%(%OR%F%)
intent%(%G1%)

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 92/149
out
in%G2
out
666
,%OR%F
666
EXP_PAS%J.AND.%EXP_PAS%J
666
AND%K
.OR.%AND%K
.XOR.%AND%K
666
-%TP%L
+%TP%L
666
FACTOR%M
**%FACTOR%M
666
ELEVACION%N
*%ELEVACION%N
/%ELEVACION%N
666
=
+=
-=
/=
*=.true.
.false.
ccar
cstr
cent
creal
cdob
ccom
SEP%X
.LT.%SEP%X
.LE.%SEP%X
.EQ.%SEP%X
.NE.%SEP%X
.GE.%SEP%X
.GT.%SEP%X
=%OR <<<< aki puse el igual OR del H2
TP%L
H1%id%H2%H3
subroutine%

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 93/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 94/149
OR%O5
/%/%OR%O5
666
,%OR%O5
/%/
OR
return%ORcall%OR
write%(%P1%,%*%)%OR%P2
read%(%P1%,%*%)%OR%P2
if%(%OR%)%P3
do%P4%Sent%A2%end%do
select%case%(%OR%)%case%(%OR%)%Sent%P6%end%select
where%(%OR%)%Sent%P7%end%where
forall%(%id%=%OR%P8%,%OR%)%Sent%A2%end%forall
cent agregar epsilon a Sent
*
,%OR%P2
666
then%Sent%P10%end%if
exit
id%=%OR%,%OR%P11
666
Sent%P5
666
Sent%P6
default%Sent%A2
case%(%OR%)%Sent%P6666
Sent%P7
elsewhere%Sent%A2
666
id%=%OR%P8
666
Sent%P9
666
Sent%P10
else%Sent%A2
,%OR
666
Sent%P12
666
Sent%P13
666
Sent%P14
666

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 95/149
1 Ppal-> Z1 Z2 Z3 DecProg Z4.
2 Z1-> DecEst Z1
3 | . estas son las y
4 Z2->DecModulo Z2 pero no apare
5 | . simplemente h
6 Z3->DecFun Z3
7 | .8 Z4->DecSubr Z4
9 | .
10 DecProg-> program id implicit A1 A2 end program id.
11 A1-> Tipo ( id A3 ) A4
12 | none A4 Sent.
13 A2-> Sent A2
14 | .
15 A3-> coma id A3
16 | .
17 A4-> DecVar
18 | use OR DecVar.
19 DecEst-> type id DecVar end type.
20 DecSubr-> subroutine id DecPar DecVar Sent A2 end subroutine.
23 DecFun-> function Tipo id DecPar DecVar Sent A2 end function.
26 DecModulo-> modulo id DecEst D1 DecVar D2 DecFun D3 end modulo id.
27 D1-> DecEst D1
28 | .
29 D2-> DecVar D2
30 | .
31 D3->DecFun D3
32 | .33 DecPar-> id E.
34 E-> coma id E
35 | .
36 Tipo-> type id
37 | complex
38 | real
39 | integer
40 | double
41 | char ( len igual OR ).
42 Atrib-> parameter
43 | instrinsic
44 | private
45 | public
46 | dimension ( OR F )
47 |intent ( G1 ).
48 G1-> out
49 |in G2.
50 G2->out
51 | .

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 96/149
52 F-> coma OR F
53 | .
54 AND-> EXP_PAS J.
55 J-> pntANDpnt EXP_PAS J
56 | .
57 OR-> AND K.
58 K-> pntORpnt AND K 59 | pntXORpnt AND K
60 | .
61 L-> menos TP L
62 | mas TP L
63 | .
64 ELEVACION -> FACTOR M.
65 M-> astast FACTOR M
66 | .
67 TP-> ELEVACION N.
68 N-> ast ELEVACION N
69 | / ELEVACION N
70 | .
71 Asig-> igual
72 | masigual
73 | menosigual
74 | /igual
75 | astigual.
76 Const-> pnttruepnt
77 | pntfalsepnt
78 | ccar
79 | cstr 80 | cent
81 | creal
82 | cdob
83 | ccom.
84 EXP_PAS-> SEP X.
85 X-> pntLTpnt SEP X
86 | pntLEpnt SEP X
87 | pntEQpnt SEP X
88 | pntNEpnt SEP X
89 | pntGEpnt SEP X
90 | pntGTpnt SEP X
91 | .
92 SEP-> TP L.
93 DecVar-> H1 id H2 H3.
94 H1-> subroutine
95 | Tipo H4 : :.
96 H2-> H7
97 | H8
98 | igual OR

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 97/149
99 | .
100 H3-> Tipo H4
101 | .
102 H4-> ( OR H5 ) H10 | H10 | .
103 H5-> coma OR H5
104 | .
105 H6-> coma OR H6106 | .
H7 -> coma id H2
107 | .
108 H8-> ( H9 )
109 | .
110 H9-> OR H6
111 | .
112 H10-> coma Atrib.
113 Funcion-> abs ( OR )
114 | sqrt ( OR )
115 | len ( OR )
116 | trim ( OR )
117 | maxval ( OR )
118 | presicion ( OR )
119 | int ( OR )
120 | floor ( OR )
121 | ceiling ( OR )
122 | minval ( OR )
123 | close ( OR )
124 | index ( OR coma OR coma OR )
125 | reshape ( OR coma OR coma OR )126 | open ( OR coma OR coma OR )
127 | iachar ( OR coma OR )
128 | achar ( OR coma OR )
129 | mod ( OR coma OR ).
130 FACTOR-> Funcion
131 | pntnotpunto ( OR )
132 | Const O1
133 |: O2
134 | id O3
135 |( O4 ).
136 O1-> : O2
137 | .
138 O2-> OR
139 | .
O3-> Asig OR
140 | (O4)
141 | : OR
142 | .
143 O4-> OR O5

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 98/149
144 | / / OR O5
145 | .
146 O5-> coma OR O5
147 | / /
148 | .
149 Sent -> return OR
150 |call OR151 | write ( P1 coma ast ) OR P2
152 |read ( P1 coma ast ) OR P2
153 |if ( OR ) P3
154 | do P4 Sent A2 end do
155 | OR
156 | select case ( OR ) case ( OR ) Sent P6 end select
157 | where ( OR ) Sent P7 end where
158 |forall ( id igual OR P8 coma OR ) Sent A2 end forall
159 | .
160 P1 -> cent
161 | ast.
162 P2 -> coma OR P2
163 | .
164 P3 -> then Sent P10 end if
165 | exit.
166 P4 -> id igual OR coma OR P11
169 | .
170 P6 -> Sent P6
171 | default Sent A2
172 | case ( OR ) Sent P6
173 | .174 P7 -> Sent P7
175 | elsewhere Sent A2
176 | .
177 P8 -> id igual OR P8
180 | .
181 P10 -> Sent P10
182 | else Sent A2
183 | .
184 P11 -> coma OR
| .

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 99/149
a corregidas
en asi porque no keria reescribir la matriz
ice los cambios y los comente en la otra hoja de producciones

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 100/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 101/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 102/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 103/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 104/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 105/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 106/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 107/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 108/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 109/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 110/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 111/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 112/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 113/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 114/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 115/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 116/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 117/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 118/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 119/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 120/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 121/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 122/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 123/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 124/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 125/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 126/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 127/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 128/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 129/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 130/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 131/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 132/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 133/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 134/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 135/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 136/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 137/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 138/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 139/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 140/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 141/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 142/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 143/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 144/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 145/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 146/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 147/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 148/149

8/13/2019 Nueva Sintaxis
http://slidepdf.com/reader/full/nueva-sintaxis 149/149