Интерпретация блок-схем
Рефераты >> Программирование и компьютеры >> Интерпретация блок-схем

Пример 2. Сортировка методом пузырька (Windows версия).

Пример3. Вычислительная программа (MS-Dos версия)

Приложение 2: Матрицы переходов анализаторов

Матрица лексического анализатора (сканера)

 

0

(

)

+

-

/

*

<

>

=

^

|

!

[

]

,

;

&

.

"

0

‘’

0

1

2

22

22

9

12

14

15

17

24

14

18

23

22

22

22

22

22

3

-9

E

0

4

6

1

1

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

-1

-1

-1

0

-1

-1

2

-1

2

-1

0

0

0

0

0

0

0

0

0

0

-1

0

0

0

0

3

-1

-1

0

-1

-1

3

-1

3

-1

0

0

0

0

0

0

0

0

0

0

-1

0

0

0

0

-1

-1

-1

0

-1

-1

4

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

5

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

7

-1

6

6

6

6

6

6

6

6

6

6

6

6

6

6

6

6

6

6

6

6

6

-1

6

6

8

7

-1

-1

-1

0

0

0

0

0

0

0

0

0

0

0

-1

0

-1

0

0

-1

-1

0

-1

-1

8

-1

-1

-1

0

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

0

0

-1

-1

-1

-1

0

-1

9

0

0

0

-1

10

-1

-1

-1

-1

-1

11

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

0

-1

10

-1

-1

-1

0

-1

-1

0

0

0

0

-1

0

0

0

-1

0

0

0

0

-1

-1

-1

0

-1

11

0

0

0

-1

-1

0

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

0

0

12

0

0

0

-1

-1

13

-1

-1

-1

-1

11

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

0

0

13

-1

-1

-1

-1

0

-1

0

0

0

0

-1

0

0

0

-1

0

0

0

0

-1

-1

-1

0

-1

14

0

0

0

-1

-1

-1

-1

-1

-1

-1

11

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

0

0

15

0

0

0

-1

-1

0

-1

-1

16

0

11

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

0

0

16

0

0

0

-1

-1

-1

-1

-1

-1

-1

11

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

17

0

0

0

-1

-1

0

-1

-1

-1

16

11

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

0

0

18

0

0

0

-1

-1

0

-1

-1

-1

-1

11

-1

19

-1

-1

-1

-1

-1

-1

0

-1

-1

0

0

19

0

0

0

-1

-1

0

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

-1

-1

-1

0

-1

-1

0

0

20

0

0

0

-1

-1

-1

-1

-1

-1

-1

11

-1

-1

0

-1

-1

-1

-1

21

0

-1

-1

0

0

21

0

0

0

-1

-1

0

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

-1

-1

-1

0

-1

-1

0

0

22

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

23

0

0

0

-1

-1

-1

-1

-1

-1

-1

11

-1

-1

0

-1

-1

-1

-1

-1

0

-1

-1

0

0

24

0

0

0

-1

-1

0

-1

-1

-1

-1

11

-1

-1

-1

-1

-1

-1

-1

-1

0

-1

-1

0

0


Страница: