Проектировании транслятора (язык проектирования Си++) с языка Си++ на язык Ассемблер (Лабораторная работа № 1-4), страница 2

Terminals

Jump

Accept

Stack

Return

Error

1

main

2

1

0

0

1

2

(

3

1

0

0

1

3

)

4

1

0

0

1

4

{

5

1

0

0

1

5

int name while { ;

7

0

1

0

1

6

}

0

1

0

1

1

7

int

10

0

0

0

0

8

name while { ;

14

0

0

0

0

9

;

16

0

0

0

1

10

int

11

1

0

0

1

11

name

17

0

1

0

1

12

;

13

1

0

0

1

13

int name while { ;

7

0

0

0

1

14

name while { ;

34

0

0

0

1

15

int name while { ;

7

0

0

0

1

16

;

0

1

0

1

1

17

name

18

0

0

0

1

18

name

19

1

0

0

1

19

=   ,   ;

20

0

0

0

1

20

=

22

0

0

0

0

21

,  ;

24

0

0

0

1

22

=

23

1

0

0

1

23

( name const

51

0

1

0

1

24

,  ;

28

0

0

0

1

25

,

27

0

0

0

0

26

;

29

0

0

0

1

27

,

28

1

0

0

1

28

name

17

0

0

0

1

29

;

0

0

0

1

1

30

name

32

0

0

0

0

31

const

33

0

0

0

1

32

name

0

1

0

1

1

33

const

0

1

0

1

1

34

name

38

0

0

0

0

35

while

42

0

0

0

0

36

{

47

0

0

0

0

37

;

50

0

0

0

1

38

name

39

1

0

0

1

39

=

40

1

0

0

1

40

( name const

51

0

1

0

1

41

;

0

1

0

1

1

42

while

43

1

0

0

1

43

(

44

1

0

0

1

44

( name const

51

0

1

0

1

45

)

46

1

0

0

1

46

name while { ;

34

0

0

0

1

47

{

48

1

0

0

1

48

int name while { ;

7

0

1

0

1

49

}

0

1

0

1

1

50

;

0

1

0

1

1

51

(

53

0

0

0

0

52

name const

56

0

0

0

1

53

(

54

1

0

0

1

54

( name const

51

0

1

0

1

55

)

0

1

0

1

1

56

name const

30

0

1

0

1

57

+ - <= >= < >  )  ;  ,

58

0

0

0

1

58

+ - <= >= < >

60

0

0

0

1

59

)  ;  ,

62

0

0

0

1

60

+ - <= >= < >

63

0

1

0

1

61

( name const

51

0

0

0

1

62

)  ;  ,

0

0

0

1

1

63

+

69

0

0

0

0

64

-

70

0

0

0

0

65

<=

71

0

0

0

0

66

>=

72

0

0

0

0

67

73

0

0

0

0

68

74

0

0

0

1

69

+

0

1

0

1

1

70

-

0

1

0

1

1

71

<=

0

1

0

1

1

72

>=

0

1

0

1

1

73

0

1

0

1

1

74

0

1

0

1

1