Course_Design_of_Compiling/tokenList.txt

50 lines
414 B
Plaintext
Raw Normal View History

2022-03-17 13:53:42 +08:00
1 2 program
1 23 p
2 4 type
2 23 t
2 27 =
2 21 integer
2 37 ;
2022-03-23 18:01:59 +08:00
3 23 c
3 27 =
3 22 char
2022-03-17 13:53:42 +08:00
3 37 ;
2022-03-23 18:01:59 +08:00
4 5 var
4 21 integer
4 23 v7
2022-03-23 18:01:59 +08:00
4 38 ,
4 23 v8
2022-03-17 13:53:42 +08:00
4 37 ;
2022-03-23 18:01:59 +08:00
5 22 char
5 23 v9
2022-03-23 18:01:59 +08:00
5 37 ;
6 21 integer
6 23 v4
6 37 ;
7 13 begin
8 23 v1
8 26 :=
8 23 v2
8 29 +
8 24 10
2022-03-18 23:16:53 +08:00
8 37 ;
9 23 v3
9 26 :=
9 23 v4
9 29 +
9 23 v5
9 37 ;
10 23 v6
10 26 :=
10 24 10
10 29 +
10 24 10
10 37 ;
11 16 write
2022-03-23 18:01:59 +08:00
11 33 (
11 23 v1
2022-03-23 18:01:59 +08:00
11 34 )
12 14 end
12 35 .
13 0 <20>