abdullah's picture
Add files using upload-large-folder tool
a6daeb8 verified
raw
history blame
71.3 kB
1
00:00:20,690 --> 00:00:22,990
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ุงู„ุตู„ุงุฉ ูˆุงู„ุณู„ุงู… ุนู„ูŠูƒู… ูˆุฑุญู…ุฉ
2
00:00:22,990 --> 00:00:23,270
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
3
00:00:23,270 --> 00:00:23,770
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
4
00:00:23,770 --> 00:00:25,610
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
5
00:00:25,610 --> 00:00:26,470
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
6
00:00:26,470 --> 00:00:30,370
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
7
00:00:30,370 --> 00:00:35,950
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
8
00:00:35,950 --> 00:00:38,230
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
9
00:00:38,230 --> 00:00:40,890
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
10
00:00:40,890 --> 00:00:49,330
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
11
00:00:49,330 --> 00:00:53,450
ูˆุฑู…ูˆุถูˆุน ุงู„ parse trees ูƒูŠู ุฃู†ู†ุง ู†ุดูƒู„ parse tree ู…ู†
12
00:00:53,450 --> 00:00:58,550
ุฎู„ุงู„ ุจุนุถ ุงู„ derivation ูˆุฃูŠุถุง ู†ุดูˆู ุงู„ู…ูู‡ูˆู… ุงู„
13
00:00:58,550 --> 00:01:04,550
ambiguity ุงู„ู„ูŠ ู‡ูˆ ุงู„ู„ุจุณ ูŠุนู†ูŠ ุจู…ุนู†ู‰ ุฃู† ู†ูุณ ุงู„ input
14
00:01:04,550 --> 00:01:09,290
ู…ู…ูƒู† ูŠุชุนู…ู„ ุฃูƒุชุฑ ู…ู† ุงู„ derivation ูˆูƒู„ derivation
15
00:01:09,290 --> 00:01:13,570
ุชูุถูŠ ุฅู„ู‰ parse tree ู…ุฎุชู„ูุฉ ูˆูƒูŠู ุฃู† ู‡ุฐุง ุงู„ูƒู„ุงู… ูŠู†ุชุฌ
16
00:01:13,570 --> 00:01:18,810
ุนู†ู‡ semantics ู…ุฎุชู„ูุฉูŠูุณู‘ู‡ ุฅุฐุง ููุณู‘ุฑ ู‡ูŠูƒ ุจูŠู†ุชุฌ
17
00:01:18,810 --> 00:01:23,330
value ุชุจุนู‡ ุดูŠุก ู…ุฎุชู„ู ุนู† ู„ูˆ ุชู… ุชูุณูŠุฑู‡ ุจุดูƒู„ ุขุฎุฑ ุจุนุฏ
18
00:01:23,330 --> 00:01:25,710
ุฐู„ูƒ ุจุฑุถู‡ ูƒู…ุงู† ุงุชู†ุงูˆู„ู†ุง ุงู„ู…ูˆุถูˆุน ุงู„ associativity of
19
00:01:25,710 --> 00:01:29,510
operators ูˆ ุงู„ precedence of operators ูุนู…ู„ูŠุฉ ุงุญู†ุง
20
00:01:29,510 --> 00:01:33,810
ุงู†ุชู‡ูŠู†ุง ู…ู† section 2.2 ูŠุนู†ูŠ ุงู„ุดูŠุก ุจุฏู†ุง ู†ุชุฌู„ ุงู„ุงู†
21
00:01:33,810 --> 00:01:37,790
ุฅู„ู‰ section2.3 ู‡ูˆ syntax-directed translation
22
00:01:37,790 --> 00:01:41,930
syntax-directed translation ุจู†ุดูˆู ู…ุซุงู„ ู…ุจุณุท ุฌุฏุง
23
00:01:41,930 --> 00:01:47,550
ุนู„ู‰ ูƒูŠู ุจุนุฏ ุงู„ syntax analysis ุจูŠุชู… ุฃูˆ ุฃุซู†ุงุก ุจุฑุถู‡
24
00:01:47,550 --> 00:01:51,170
ุงู„ syntax analysis ู…ู…ูƒู† ูŠู†ุนู…ู„ ุดูƒู„ ู…ู† ุฃุดูƒุงู„
25
00:01:51,170 --> 00:01:56,710
translation translation ุจู…ุนู†ู‰ ุชุญูˆูŠู„ ุงู„ input ุฅู„ู‰
26
00:01:56,710 --> 00:02:03,990
ุงู„ output ุงู„ู…ุถู„ูˆุจู…ุงุดูŠ ุจุณ ู‡ุฐุง ุงุดูŠ ู…ุจุณุท ุฌุฏุง ุจุณ ุนุดุงู†
27
00:02:03,990 --> 00:02:07,930
ูŠูˆุถุญูƒ ุงู„ููƒุฑุฉ ุงู†ู…ุง ุนู…ู„ูŠุฉ ุงู„ compilation ููŠู‡ุง
28
00:02:07,930 --> 00:02:13,050
ุชุนู‚ูŠุฏุงุช ุงูƒุชุฑ ู…ู† ู‡ูŠูƒ ูุงู†ุง ุงู„ุขู† ุจุฏูŠ ุงู…ุฑ ุนู„ู‰ ุงู„ู„ูŠ ู‡ูˆ
29
00:02:13,050 --> 00:02:19,250
ุจุฏูŠ ุงู†ุชู‚ู„ ุงู„ู‰ section 2.3 ุงู„ู„ูŠ ูƒู„ู‡ ู…ุฑู…ูŠู† ุนู„ูŠู‡
30
00:02:19,250 --> 00:02:22,230
ุงู„ู…ุญุงุถุฑ ุงู„ู…ุงุถูŠ ููŠ ู†ู‡ุงูŠุฉ ุงู„ section 2.2 ููŠ
31
00:02:22,230 --> 00:02:27,590
exercises ุงู†ุง ู‡ู†ุง ุจุณ ุญุงุทุช ุจุณ ุงุชู†ูŠู† ู…ู†ู‡ุง two two
32
00:02:27,590 --> 00:02:33,170
one ูˆ two two twoููŠ ู„ุบุงูŠุฉ ุงู„ู€ 2.2.6 ุจู†ุตุญูƒู… ุชุทู„ุนูˆุง
33
00:02:33,170 --> 00:02:38,370
ุนู„ูŠู‡ุง ููŠ ูˆู‚ุชูƒู… ุนู„ู‰ ุณุจุจ ุงู†ู‡ ุชู…ุงุฑู†ูˆุง ุนู„ู‰ ู…ุณุงุฆู„ ู…ู…ูƒู†
34
00:02:38,370 --> 00:02:43,290
ูŠุฌูŠ ู…ุซู„ู‡ุง ููŠ ุงู„ุงุจุชุญุงู†ุงุช ุงู„ุงู† ุงู„ section 2.3 ุงู„ู„ูŠ
35
00:02:43,290 --> 00:02:47,490
ู‡ูˆ syntax directed translation ู†ุดูˆู ู…ุซู„ุง ุฒูŠ ู…ุง ู‚ู„ุช
36
00:02:47,490 --> 00:02:51,330
ุนู„ู‰ translation ุจูŠูƒูˆู† syntax directed ุจู…ุนู†ู‰ ุงู†ู‡
37
00:02:51,330 --> 00:02:57,630
ู…ูˆุฌู‡ ุงูˆ based ุนู„ู‰ ุงู„ syntax analysis ุญู†ุดูˆู ู…ุซู„ู‡ุง
38
00:02:57,630 --> 00:03:02,440
ุนู„ู‰ ุฏุฑุฌุฉู„ูˆ ุงู†ุง ุนู†ุฏู‰ ู‡ู†ุง ู‡ุฏู‰ ุงูŠุด production ุตุญ ุงู„
39
00:03:02,440 --> 00:03:05,420
production ุจุชู‚ูˆู„ ุงู†ู‡ ุงู„ expression can have the
40
00:03:05,420 --> 00:03:11,260
form expression ุฒูŠ ุงู„ term ุตุญ okay ุงู„ุงู† ู‡ุฏุง ุงู„ ..
41
00:03:11,260 --> 00:03:16,940
ู‡ุฏุง ุงู„ expression ุงุญู†ุง .. ุงูˆ ู‡ุฏุง ุงู„ translator
42
00:03:16,940 --> 00:03:20,460
ุงู„ู„ู‰ ุจุฏู‰ ูŠุชุฑุฌู… ุนุงู…ู„ุง ุงูŠุด ุจุชุณูˆูŠุŸ ุจุช .. ุจุช .. ุงุฐุง
43
00:03:20,460 --> 00:03:26,440
ุจุชุนุฑู ุญุงู„ูŠุง ุงุณู…ู‡ุง post-fixed notation ู‡ูŠ ูƒู„ ูˆุงุญุฏุฉ
44
00:03:26,440 --> 00:03:33,060
ุงู†ุง ู…ุด ุนุงุฑู ุฃุณุฃู„ูƒู…ูˆููŠ ุงู†ููƒุณ ู†ุธุฑูˆุง ุงู†ููƒุณ ู„ูˆ ุงู†ุง ุฌูŠุช
45
00:03:33,060 --> 00:03:42,100
ุนู†ุฏูŠ ุงุดูŠ ุฒูŠ .. ุฒูŠ
46
00:03:42,100 --> 00:03:45,940
ู‡ูŠูƒ ุฏูŠ ุงุถุบุทู‡ ููŠ ุงู„ุตู„ุงุฉ ุฏุงู„ูŠ ููŠ ุนู†ุฏูŠ expression ุฒูŠ
47
00:03:45,940 --> 00:03:53,520
ู‡ุฐุง ูˆ ุจุฏู‰ ุงุญุงูˆู„ู‡ ู‡ู„ุงู‚ุงุด ุงู†ููƒุณ ูˆ ู„ุง postfixู‡ุฐุง a
48
00:03:53,520 --> 00:03:56,860
fixed ู…ู† ุฃูŠู† ุฌุงุก ุงู„ู…ุตุทู„ุญ ู‡ุฐุง ุงู† ุงู„ operator ุงู„ู„ูŠ
49
00:03:56,860 --> 00:04:01,300
ู‡ูˆ ุงู„ู†ุงู‚ุต ูˆุงู„ุฒุงุฆุฏ ุฌุงุก inside ู…ุง ุจูŠู† ุงู„ operands
50
00:04:01,300 --> 00:04:05,500
ุงู„ู„ูŠ ู‡ู… ุงู„ุชุณุนุฉ ู…ู† ู†ุงุญูŠุฉ ูˆุงู„ุฎู…ุณุฉ ู…ู† ู†ุงุญูŠุฉ ูˆุงุถุญ ู„ูˆ
51
00:04:05,500 --> 00:04:11,280
ุจุฏูŠ ุงุญุงูˆู„ ู„ post fixed ุจุญุท ุงู„ operator ุจุนุฏ ุงู„
52
00:04:11,280 --> 00:04:14,360
operands ูŠุนู†ูŠ ุจุชุฌูŠุจ ุงู„ุชุณุนุฉ ูˆ ุจุญุท ูˆุฑุง ุงู„ ุฎู…ุณุฉ ูˆ
53
00:04:14,360 --> 00:04:20,980
ุจุนุฏูŠู† ุงูŠุด ุงู„ู†ุงู‚ุต ุฒูŠูƒ ุนู…ู„ูŠุง ู‡ุฐุง ุงู„ expression ูƒู„ู‡
54
00:04:21,290 --> 00:04:26,190
ุจุชุญูˆู„ ุฅู„ู‰ ุชุณุนุฉ ูˆ ุฎู…ุณุฉ ู†ุงู‚ุต ุงุชู†ูŠู† ุฒุงุฆุฏ ุชู…ุงู… ุชุณุนุฉ ูˆ
55
00:04:26,190 --> 00:04:30,430
ุฎู…ุณุฉ ู†ุงู‚ุต ู‡ุฏูˆู„ุฉ ุงู„ู†ุงุชุฌ ุชุจู‚ู‰ ู‡ูˆู† ุจูŠุตูŠุฑ ู‡ูˆ ุงู„ over
56
00:04:30,430 --> 00:04:35,710
end ุงู„ุชุงู†ูŠ ู…ุน ุงู„ุงุชู†ูŠู† ู„ุนู…ู„ูŠุฉ ุงู„ุฌู…ุน okay ูุงู„ุงู†
57
00:04:35,710 --> 00:04:39,770
ูุงูƒุฑูŠ ุจุฏู†ุง ู†ุนู…ู„ translator ุงู„ู„ูŠ ุชู„ู‚ุงุฆูŠ ุงู„ู„ูŠ ู‡ุนุทูŠู‡
58
00:04:39,770 --> 00:04:44,330
ุงู†ููŠูƒุณ expression ุจุฏูŠุด ูŠุญุณุจู„ูŠ ูƒุฏู‡ ู‚ูŠู…ุชู‡ ุงู†ู‡ ุชุณุนุฉ ูˆ
59
00:04:44,330 --> 00:04:50,150
ู†ุงู‚ุต ูˆ ุฎู…ุณุฉ ุฒุงุฆุฏ ู„ุฃ ุจุฏูŠ ุงุญูˆู„ู„ูŠู‡ ุงู„ู‰ postfix ู„ูŠุดุŸู„ุฃ
60
00:04:50,150 --> 00:04:53,690
ูŠุนู†ูŠู†ุง ู„ุฃ ุฑุจู…ุง ู†ุนุทูŠู‡ุง stack ู…ุงุดูŠูŠู† ุนู„ุดุงู† ุชุญุณุจูˆุง
61
00:04:53,690 --> 00:04:57,450
ุงู„ู„ูŠ ู„ุฃ ุงู„ู…ู‡ู… ุงู† ุงุญู†ุง ุจุธูŠูุฉ ุงู„ translator ุงู„ู„ูŠ
62
00:04:57,450 --> 00:05:02,310
ุจุฏู†ุง ู†ุญูƒูŠ ุนู†ู‡ ู‡ูŠ ุงู†ู‡ ูŠุญูˆู„ ู…ู† ุงูŠุด ุงู„ู‰ postfix
63
00:05:02,310 --> 00:05:07,150
ุจุงู„ุธุจุท ูุงู„ุงู† ุงู†ุง ุจุฑุฌุน ุฌูˆุง ููŠ ุงู„ slides ุงู„ slide
64
00:05:07,150 --> 00:05:12,820
ุงู„ุฃูˆู„ู‰ ุงู„ู„ูŠ ูƒู†ุง ููŠู‡ุง ุงู„ุงู† expression ู†ูุณู‡ุงู„ู€
65
00:05:12,820 --> 00:05:16,820
Definition ุชุจุนู‡ ู‡ูˆ ุนุจุงุฑุฉ ุนู† expression ุฒูŠ ุงู„ term
66
00:05:16,820 --> 00:05:22,280
ุฃูˆ expression ู†ุงู‚ุต term ู…ุธุจูˆุท ูู„ูˆ ูƒุงู† ุนู†ุฏูŠ ุงู„ rule
67
00:05:22,280 --> 00:05:25,920
ู‡ุฐู‡ ุงู„ production ู‡ุฐู‡ expression ุฒูŠ ุงู„ term ู„ูˆ ูƒุงู†
68
00:05:25,920 --> 00:05:31,640
ุนู†ุฏูŠ expression ูˆ ูƒุงู† ูุนู„ุง ุงุดูŠ ุฒูŠูƒ ู…ุซู„ุง ูู‡ูˆ
69
00:05:31,640 --> 00:05:35,080
expression ุฒูŠ ุงู„ term ุตุญ ุงู„ุชุณุนุฉ ุงู„ู„ูŠ ุจุชุชุงุฎุฏ ุนู„ูŠู‡ุง
70
00:05:35,080 --> 00:05:39,340
term ูˆ ุงู„ term ุจุชุชุงุฎุฏ ุนู„ูŠู‡ุง ุชุณุนุฉ ุงู„ุชุณุนุฉ ู‡ูŠ ุงู„
71
00:05:39,340 --> 00:05:42,040
expressionูˆ ุงู„ expression ู‡ูŠ ุงู„ term ูˆ ุงู„ term ู‡ูŠ
72
00:05:42,040 --> 00:05:46,920
ุงู„ digit ูˆ ุงู„ digit ู‡ูŠ ุงู„ุชุณุนุฉ ูˆ ุงู„ ุฎู…ุณุฉ ู‡ูŠ ุงู„
73
00:05:46,920 --> 00:05:50,240
digit ูˆ ุงู„ digit ู‡ูŠ ุงู„ุฎู…ุณุฉ ูุงู„ rule ู‡ุฐู‡ ุงูˆ ุงู„
74
00:05:50,240 --> 00:05:57,580
production ู‡ุฐู‡ ุจุชุทุงุจู‚ ู‡ุฐุง ุงู„ input ุฅุฐุง ุนู†ุฏูŠ ู‡ุฐุง ุงู„
75
00:05:57,580 --> 00:06:01,480
input ูŠุฑูŠุฏ ุฃู† ูŠุชุฑุฌู… ูƒูŠูุŸ ูŠุฑูŠุฏ ุฃู† ูŠุชุฑุฌู… ุฅู„ู‰ ุชุณุนุฉ
76
00:06:01,480 --> 00:06:05,320
ุฎู…ุณุฉ ุฐุงุช ุฅูŠุด ู…ุนู†ุงู‡ ู‡ุฐุงุŸ ู…ุนู†ุงู‡ ุฃู†ู†ุง ู†ุญุท ุงู„
77
00:06:05,320 --> 00:06:10,360
expression ุงู„ุฃูˆู„ุงู†ูŠ ุงู„ expressionุจู†ุญุท ุงู„ term ุซู…
78
00:06:10,360 --> 00:06:20,380
ุจุนุฏ ูƒุฏู‡ ุจู†ุญุท ุงู„ุฒุงุฆุฏ ู…ุธุจูˆุทุŸ ู‡ุฐู‡ ุงู„ุฃู† ู‡ุฐู‡
79
00:06:20,380 --> 00:06:23,680
ุงู„ expression ู‡ุฐู‡ ู‚ุฏ ูŠูƒูˆู† ุดูŠุก ุจุณูŠุท ุฒูŠ ุชุณุนุฉ ูˆ ู‚ุฏ
80
00:06:23,680 --> 00:06:32,220
ูŠูƒูˆู† ุดูŠุก ู…ุฑูƒุจ ูŠุนู†ูŠ ู…ู…ูƒู† ูŠุฌูŠ ุชุณุนุฉ ู†ุงู‚ุต ุงุชู†ูŠู† ูˆ
81
00:06:32,220 --> 00:06:37,250
ุจุนุฏูŠู† ุฒุงุฆุฏ ูˆ ุจุนุฏูŠู† ุงู„ุฎู…ุณุฉ ููŠ ู‡ุฐุง ุงู„ุญุงู„ุฉููŠ ู‡ุฐู‡
82
00:06:37,250 --> 00:06:42,690
ุงู„ุญุงู„ุฉ ุงู„ expression ู„ุงุฒู… ุงุฑุฌุน ุงุญู„ู„ู‡ ุงูˆ ุงู„
83
00:06:42,690 --> 00:06:46,810
translator ู„ุณู‡ ููŠ ุงู„ุฃูˆู„ ูŠุญู„ู„ู‡ ูˆ ูŠุทู„ุน ุงู„ุชุฑุฌู…ุฉ ุชุจุนุชู‡
84
00:06:46,810 --> 00:06:54,290
ูˆ ู†ุงุชุฌ ุงู„ุชุฑุฌู…ุฉ ุชุจุนุชู‡ ูŠูŠุฌูŠ ุซู… ุจุนุฏูŠู† ู†ุงุชุฌ ุงู„ุชุฑุฌู…ุฉ
85
00:06:54,290 --> 00:06:59,130
ุชุจุนุฉ ุงู„ term ูŠูŠุฌูŠ ูˆุฑุงู‡ ุซู… ุจุนุฏูŠู† ุงู„ุฅุดุงุฑุฉ ุชุฒุงุฑูƒ ุชูŠุฌูŠ
86
00:06:59,130 --> 00:07:02,450
ููŠ ู‡ุฐู‡ ุงู„ุญุงู„ุฉ ูƒู„ู…ุฉ translate expression ู‡ู†ุง
87
00:07:02,450 --> 00:07:11,370
ู…ุนู†ุงุชู‡ุง ุฅุฐุง ุนู†ุฏูŠ ู‡ุฐู‡ ุงู„ ruleู…ุทุจู‚ุงุช ุงูŠุด ู‡ุฐุง ุงู„ุดู‚
88
00:07:11,370 --> 00:07:17,090
ุงู„ู„ูŠ expression one ุนุงู„ุฌู‡ ุจุดูƒู„ recursive ุงูˆ ุจุดูƒู„
89
00:07:17,090 --> 00:07:21,870
nested ูŠุนู†ูŠ ุนุงู„ุฌู‡ ุงู„ output ุชุจุนู‡ ู„ู„ุชุฑุฌู…ุฉ ุชุจุนุช ู‡ุฐุง
90
00:07:21,870 --> 00:07:27,270
ุชู†ุญุท ุซู… ุฎุด ุนู„ู‰ ู‡ุฐุง ุนุงู„ุฌู‡ ุงู„ุชุฑุฌู…ุฉ ุชุจุนุชู‡ ุชู†ุญุทู‡ุง
91
00:07:27,270 --> 00:07:31,570
ุจุนุฏูŠู† ูˆ ุจุนุฏูŠู† ู‡ุญุท ุงู„ .. ูˆุงุถุญ ู…ู† ุงู„ recursion ุงู„ุงู†ุŸ
92
00:07:31,570 --> 00:07:37,250
okay ูู‡ุฐุง ุงู„ุฃู…ุฑ ุงุญู†ุง ุงู„ุงู† ุจุฏู†ุง ู†ุตูŠุจู‡ ุจุดูƒู„ุงู„ู„ูŠ ูŠู‚ุฏุฑ
93
00:07:37,250 --> 00:07:41,990
ุงู„ system ู‡ุฐุง ุงู„ translator ู‡ุฐุง ุงู†ูุธู‡ ุจุฑุถู‡ ุงู„
94
00:07:41,990 --> 00:07:44,690
attributes ู‡ุชุฑุฌุนู„ู‡ุง ูƒู…ุงู† ุดูˆูŠุฉ ูˆ ุงู„ slide ู‡ุชุฑุฌุนู„ู‡ุง
95
00:07:44,690 --> 00:07:52,230
ูุงุญู†ุง ุงู„ุขู† ุนู…ู„ูŠุฉ ุงู„ุชุฑุฌู…ุฉ ู‡ุฐู‡ ุจุชุฎูŠู„ู‡ุง ุนู…ู„ูŠุฉ ุงู„ุชุฑุฌู…ุฉ
96
00:07:52,230 --> 00:07:56,490
ู…ู† infix ู„ postfix ุชุฎูŠู„ู‡ุง ูƒุงู„ุชุงู„ูŠ ุงู† ุงู†ุง ุฌูŠู†ุง ู„ู„
97
00:07:56,490 --> 00:08:00,150
expression ุงู„ู„ูŠ ู‡ูˆ ุชุณุนุฉ ู†ุงู‚ุต ุฎู…ุณ ุฒุงุฆุฏ ุงุชู†ูŠู† ูˆ
98
00:08:00,150 --> 00:08:05,450
ุนู…ู„ู†ุง ู„ู‡ parsing ุณูŠุจูŠู†ุง ู…ู† ุงู„ tree ู‡ุฐู‡ุฃู†ุง ุจุฏูŠ ุฃูƒุชุฑ
99
00:08:05,450 --> 00:08:09,070
.. ุจุฏูŠ ุฃุนู…ู„ ุทุฑูŠู‚ุฉ ุฃุจุณุท ู…ู†ู‡ุง ุงู„ู„ูŠ ู‡ูŠ ุงู†ู‡ ุงู„ .. ุงู„
100
00:08:09,070 --> 00:08:13,810
.. ุงู„ .. ุงู„ .. ูƒู„ู‡ ู‡ุฐุง ูƒ expression ุงุชุญู„ู„ ุฅู„ู‰ ุฅูŠุด
101
00:08:13,810 --> 00:08:20,950
ุฅู„ู‰ expression ู†ุงู‚ุต ุฒุงุฆุฏ term ู…ุธุจูˆุท ุงู„ expression
102
00:08:20,950 --> 00:08:23,970
ุงู„ุฃูˆู„ู‰ ูŠุนู†ูŠ ุงู„ู„ูŠ ู‡ูˆ ู‡ู„ุฃ ุชุณุนุฉ ู†ุงู‚ุต ุฎู…ุณุฉ ุงุชุญู„ู„ ุฅู„ู‰
103
00:08:23,970 --> 00:08:29,390
ุฅูŠุด expression ู†ุงู‚ุต ู†ุงู‚ุต ูˆ term ู…ุธุจูˆุท ุงู„
104
00:08:29,390 --> 00:08:33,310
expression ู‡ุฐุง ุงุชุญู„ู„ ุฅู„ู‰ termุฃู†ุง ู…ู† ูˆูŠู† ุฌุงู…ูŠ ุจุฌูŠุจ
105
00:08:33,310 --> 00:08:37,710
ุงู„ูƒู„ุงู… ู‡ุฐุง ู…ุด ู…ู† ู…ุฎูŠ ู…ู† ุงู„ definition ู‡ุฐุง ุงู„ู„ูŠ ู‡ูˆ
106
00:08:37,710 --> 00:08:43,710
ุงุญู†ุง ู…ุฑ ุนู„ูŠู†ุง ู…ุญุงุถุฑุฉ ู…ุงุถูŠุฉ ุงู„ู„ูŠ ู‡ูˆ ูˆูŠู† ูƒุงู† ูˆูŠู† ุฑุงุญ
107
00:08:43,710 --> 00:08:50,510
ุจุนูŠุฏ ุงุชุนู†ู‰ ูƒุชูŠุฑ ุฌุจู„
108
00:08:50,510 --> 00:08:55,790
ุฌุจู„ ุตุญ ู‡ูŠ ุงุชูˆู„ุงุฏ ู‡ุฐุง ู…ุธุจูˆุท ู‡ูŠ rules ู‡ุฐูŠ ุงู†ุง ู…ุด
109
00:08:55,790 --> 00:08:58,850
ุฌุงู…ูŠ ู…ู† ู…ุฎูŠ ุจุณ ุงู†ุง ุชู‚ุฑูŠุจุง ูŠุนู†ูŠ ุฐุงูƒุฑู‡ุง special is a
110
00:08:58,850 --> 00:09:01,520
term special is not a termูˆ ุงู„ term ู‡ูŠ ุนุจุงุฑุฉ ุนู†
111
00:09:01,520 --> 00:09:03,780
term ุฏู‡ ูˆ ุงู„ factor term ู‡ู†ุง ู…ุงู‚ู„ู†ุงุด ุงุญู†ุง ููŠ
112
00:09:03,780 --> 00:09:10,040
ุงู„ุญุงู„ุช ูˆู‚ุชู†ุง ู…ุด ู‡ู†ุชู‚ู„ุจ ุงู„ู‰ ุงูŠ ู…ู† ู‡ุฐุง ุงู„ term is a
113
00:09:10,040 --> 00:09:14,120
factor ูˆ ุงู„ factor can be a digit ู‡ู†ุง ุงู„ term is a
114
00:09:14,120 --> 00:09:20,140
factor ูˆ ุงู„ factor is a digit ูˆ ุงู„ digit is 9 ู‡ู†ุง
115
00:09:20,140 --> 00:09:26,480
ุจุฑุถู‡ factor is a digit ูˆ ุงู„ digit is 5 ูˆ ู‡ู†ุง ุงูŠุด
116
00:09:26,480 --> 00:09:35,430
ุจุฑุถู‡ factor is a digit 2ุงู„ุงู† ุจุฑุฌุน ู„ slide ุงู„ู„ู‰ ูƒู†ุง
117
00:09:35,430 --> 00:09:41,050
ููŠู‡ุง ู†ูุณ
118
00:09:41,050 --> 00:09:46,470
ุงู„ุดูŠุก ุจุณ ุงู„ู„ู‡ู… ุงู„ term ุนู„ู‰ ุทูˆู„ ู…ุฎุชุตุฑ ู‡ูˆ ุงู„ term
119
00:09:46,470 --> 00:09:52,610
ูˆู…ุนุทูŠู‡ุง digital ูŠุนู†ูŠ ูƒุฃู†ู‡ ุชุฌุงูˆุฒ ุนู† ุงู„ุชุญู„ูŠู„ ู‡ุฐุง
120
00:09:52,610 --> 00:09:59,190
ุจุณูŠุท ุจุณูŠุท ุฒู‰ ู…ุง ู‡ูˆ ุจุณูŠุท ูˆ term ุนู„ู‰ ุทูˆู„ู‡ุง
121
00:10:02,230 --> 00:10:05,770
ู„ุฃ ุชุจุณูŠุท ู‡ุฐุง ุงู„ูƒู„ุงู… ู…ุด .. ุชุณุนุฉ .. ู…ุด ุงู†ู‡ ูŠุนู†ูŠ ุชุณุนุฉ
122
00:10:05,770 --> 00:10:08,110
ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู†
123
00:10:08,110 --> 00:10:08,710
.. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ
124
00:10:08,710 --> 00:10:12,610
ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† ..
125
00:10:12,610 --> 00:10:18,590
ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ
126
00:10:18,590 --> 00:10:20,010
ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† ..
127
00:10:20,010 --> 00:10:27,570
ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ
128
00:10:27,570 --> 00:10:35,150
ุงุชู†ูŠู† .. ุชุณุนุฉ ุฎู…ุณุฉ ุงุชู†attributes ูˆmethods ุงุนุชุจุฑ
129
00:10:35,150 --> 00:10:40,470
ุนู†ุฏูƒ attribute ุงุณู…ู‡ุง T T ู‡ุฐุง ุงุฎุชุตุงุฑ ู„ู„ุชุฑุฌู…ุฉ ูƒู„
130
00:10:40,470 --> 00:10:46,570
node ุนู†ุฏูƒ ูƒู„ node ู„ู€ non-terminal ุงุนุชุจุฑู‡ุง object ูˆ
131
00:10:46,570 --> 00:10:55,510
ุงู„ object ู‡ุฐุง ุงูŠู‡ ู„ู‡ dot T attribute dot
132
00:10:55,510 --> 00:11:01,300
T attribute ู‡ุฐู‡ ุจุชุญู…ู„ู‚ูŠู…ุฉ ู„ู€ Translation ุชุจุน ู…ุง
133
00:11:01,300 --> 00:11:08,100
ุชุญุชู‡ุง ูŠุนู†ูŠ ุงู„ุชุฑู… ู‡ุฐุง ุงู„ู„ูŠ ู‡ูˆ ุงู„ุฎู…ุณุฉ ุฅูŠุด ุงู„
134
00:11:08,100 --> 00:11:15,140
translation ุชุจุน ุงู„ุฎู…ุณุฉ ู„ุญุงู„ู‡ุง ู‡ูŠ ุงู„ุฎู…ุณุฉ ู†ูุณู‡ุง ุฅูŠุด
135
00:11:15,140 --> 00:11:19,880
ุงู„ translation ุชุจุน ุงู„ุชุณุนุฉ
136
00:11:19,880 --> 00:11:24,920
ู†ูุณู‡ุง ู…ุงููŠ translation ู„ู„ุชุณุนุฉ ุฅู„ุง ู‡ูŠ ู†ูุณู‡ุง ุจุชุชุฒู†
137
00:11:24,920 --> 00:11:30,660
ุฒูŠ ู…ุง ู‡ูŠ ู‡ุฐุง ุงู„ุขู† ุงู„ expressionุงู„ู€ T ุชุจุนู‡ ู‡ูŠ ุงู„
138
00:11:30,660 --> 00:11:33,700
translation ุชุจุน ู…ุง ุชุญุชู‡ุง ุทุจ ุฅูŠุด ู…ุง ุชุญุชู‡ุง ู‡ูˆ ุจุณ ู‡ุฐุง
139
00:11:33,700 --> 00:11:39,100
ูŠุจู‚ู‰ ู‡ู‰ ู†ูุณู‡ุง ุจูŠู†ู…ุง ู‡ุฐุง ุงู„ T ุงู„ุชุฑุงู†ุณู„ูŠุดู† ุชุจุน ุงู„ู„ู‰
140
00:11:39,100 --> 00:11:47,420
ุชุญุชู‡ุง ุนุจุงุฑุฉ ุนู† ุงู„ุชุฑุงู†ุณู„ูŠุดู† ุชุจุน ู‡ุฐุง ู…ุทุจูˆุนุฉ ุจุงู„ุฅุดุนุฉ
141
00:11:47,420 --> 00:11:54,000
ุงู„ู†ู‚ุต ู…ุทุจูˆุนุฉ ุจุงู„ุฅุดุนุฉ ุงู„ู†ู‚ุต ู…ุธุจูˆุท ูŠุจู‚ู‰ ุงู„ T ุจุชุณุงูˆูŠ
142
00:11:54,000 --> 00:12:00,290
ุงู„ expression dot Tู‡ู†ุง ุจุถุน one ุนุดุงู† ุงู…ูŠุฒ ู…ุง ุจูŠู† ุงู„
143
00:12:00,290 --> 00:12:03,710
parent ูˆ ู…ุง ุจูŠู† ุงู„ child ุฏู‡ ุจู‚ูˆู„ expression one
144
00:12:03,710 --> 00:12:07,110
expression
145
00:12:07,110 --> 00:12:16,090
one ูˆ dot T ูˆ ุงู„ุญู… ูˆุฑุงู‡ุง ุงูŠุด ู‡ุฐุง ุงู„ double bar
146
00:12:16,090 --> 00:12:22,590
concatenation ูŠุนู†ูŠ ุงู„ุญู… ูˆุฑุงู‡ุง ุงูŠุด ุงู„ู†ู‚ุต ูˆู„ุง ุงู„ุฎู…ุณุฉ
147
00:12:22,590 --> 00:12:29,490
ุงู„ term dot T ูˆ ุงู„ุญู… ุจุนุฏู‡ุง ู†ู‚ุตุงู„ู†ู‚ุต ูƒู…ุง ู‡ูˆ ุนู„ู‰ ุดูƒู„
148
00:12:29,490 --> 00:12:36,430
ุงู„ string ุฃูˆ ุงู„ character ู†ูุณ ุงู„ุฃุดูŠ ู‡ู†ุง
149
00:12:36,430 --> 00:12:43,150
ุจุณ ุจุฏู„ ุงู„ู†ู‚ุต ุงู„ุฒุงุฆุฏ ุจุฑุถู‡ ู‡ู†ุง ุจุญุท expression one
150
00:12:43,150 --> 00:12:45,410
ุชู…ูŠูŠุฒ ุงู† ุงู†ุง ุจุญูƒูŠ ุนู† ุงู„ child
151
00:13:09,550 --> 00:13:16,130
ุฎุทูˆุฉ ู…ู…ุชุงุฒุฉ ุงู„ุงู† ู†ุงุฎุฏ ู‡ุฐุง ุงู„ูƒู„ุงู… ูˆ ู†ุถุนู‡ ู…ุน ุงู„
152
00:13:16,130 --> 00:13:22,170
production ุจุญูŠุซ ุงู† ุงู„ parser ูŠู‚ูˆู… ุจุชุฑุฌู…ุฉ ูˆ ูŠู‚ูˆู…
153
00:13:22,170 --> 00:13:25,270
ุจุชุฑุฌู…ุฉ ููŠ ุฃู†ู‡ูŠ ุงู„ู…ุนุงู‡ุฏ ู†ูุณ ุงู„ูˆุงุฌู‡ุฉ ุงู„ู„ูŠ ู‡ูˆ ุงู„ูƒุชู„
154
00:13:26,420 --> 00:13:34,180
ุฃู…ุณุญ ู‡ุฐุง ุงู„ูƒู„ุงู… ุฎู„ุงุต ูˆุงุถุญ ู‡ุฏูˆู„ุฉ
155
00:13:34,180 --> 00:13:38,740
productions ุชู…ุงู… ู‡ุฏูˆู„ุฉ ุดุบู„ ุงู„ parser ุงู„ู„ูŠ ุจูŠุณูˆูŠู‡
156
00:13:38,740 --> 00:13:42,900
ุจุชู†ุงูˆู„ู‡ู… ุนุดุงู† ูŠุนู…ู„ parsing ููŠ ู†ูุณ ุงู„ูˆู‚ุช ุงู„ู„ูŠ ุจูŠุตูŠุฑ
157
00:13:42,900 --> 00:13:45,360
ููŠ ุงู„ parsing ุจุฏู†ุง ุจุฑุถู‡ ูƒู…ุงู† ูŠุตูŠุฑ translation
158
00:13:45,360 --> 00:13:49,440
ู‡ุฏูˆู„ุฉ productions ู‡ุฏูˆู„ุฉ ุฅูŠุด ุงุณู…ู‡ู… rules semantic
159
00:13:49,440 --> 00:13:54,220
rules ุงู† ู‡ุฐุง ุงู„ rule ุชุนู†ูŠ ุงู† ุงู„ ู†ุงุฏุด ู„ู„
160
00:13:54,220 --> 00:13:59,010
translation ุจุฏูŠ ูŠูƒูˆู† ู‡ูŠูƒู…ุงุดูŠ .. ุงู…ุชู‰ ุจูŠุชุทุจู‚ ู‡ุฐู‡ ..
161
00:13:59,010 --> 00:14:02,870
ู‡ุฐู‡ ุจุฏุฃุช ุชุชู†ูุณ ุงู…ุชู‰ ุจุชุชู†ูุณ .. ู„ู…ุง ูŠูƒุชู…ู„ ุงู„ parsing
162
00:14:02,870 --> 00:14:06,810
ุชุจุน ู‡ุฐุง ุงู„ non-terminal ุจู†ุงุก ุนู„ู‰ ู‡ุฐู‡ ุงู„ production
163
00:14:06,810 --> 00:14:12,110
ู‡ุฐุง ุงู„ non-terminal ุจู†ุงุก ุนู„ู‰ ู‡ุฐู‡ ุงู„ production ู„ู…ุง
164
00:14:12,110 --> 00:14:18,750
ูŠูƒุชู…ู„ู‡ุง ูˆุฌุฏุช ุจุชุชู†ูุณ ู‡ุฐู‡ ุงู„ rule ุชุชู†ูุณ .. ุจู…ุนู†ู‰ ุงู†ู‡
165
00:14:18,750 --> 00:14:24,010
ุจู†ุนุทูŠ ุงู„ top T attribute ุชุจุนุฉ ุงู„ expression ู„ุฃูŠ
166
00:14:24,010 --> 00:14:27,330
expression ุงู„ู„ูŠ ู‡ูˆ ู‡ุฐุง ุงู„ non-terminalู†ุนุทูŠู‡ ู‚ูŠู…ุฉ
167
00:14:27,330 --> 00:14:33,310
ุงู„ู€ dot T ู…ุทุจูˆุนุฉ
168
00:14:33,310 --> 00:14:37,370
ุจุงู„ุฅุดุงุฑุฉ ุงู„ุฒุงุฆุฏุฉ
169
00:14:41,020 --> 00:14:46,560
ุจุงู„ู€ syntax-directed translation Translation ุนู„ู‰
170
00:14:46,560 --> 00:14:52,460
ุฃุณุงุณ ุงู„ู€ syntax analysis ู‡ุฐุง ู„ู…ุง ุฃู†ุง ุจุฌูŠุจ ุงู„
171
00:14:52,460 --> 00:14:55,480
productions ูˆ ุจุญุท ู…ู‚ุงุจู„ ูƒู„ production ุงู„ rule
172
00:14:55,480 --> 00:15:02,520
ุงู„ู…ุตุงุญุจุฉ ู„ู‡ุง ู„ุชุชู†ูุณ ุนู†ุฏ ุงุฌุชู…ุงู„ ุชุทุจูŠู‚ุฉ ู‡ุฐุง ุจูŠุตูŠุฑ
173
00:15:02,520 --> 00:15:08,160
syntax-directed definition ู‡ูˆ ุจุงู„ุงุตู„ definition ุฏู‡
174
00:15:08,160 --> 00:15:13,290
ุงู„ grammarุฃุณู‡ู„ ุงู„ุขู† ู‡ูŠ ุนุจุงุฑุฉ ุนู† syntax directed
175
00:15:13,290 --> 00:15:20,610
definition ู„ุฌุฑู…ู‡ ูˆู„ู„ุชุฑุฌู…ุฉ syntax
176
00:15:20,610 --> 00:15:25,250
directed definition for infix to postfix
177
00:15:25,250 --> 00:15:29,530
translation ู„ู„ุชุญูˆูŠู„ ู…ู† infix to postfix ุงู„ุงู† ุฑุงุญุฒูŠ
178
00:15:29,530 --> 00:15:35,370
ุงู† ู‡ูŠ ุงู„ rules ุงูˆ ุงู„ production ุณุจุนุฉ ุงู„ term ูƒุงู†
179
00:15:35,370 --> 00:15:39,510
ููŠ ุงู„ุฃูˆู„ ูŠูˆู… ุนู„ู‰ ุณุทุฑ ูˆุงุญุฏ ูˆูุตู„ู‡ู… ุงู„ุงู† ูƒู„ ูˆุงุญุฏ ุนู„ู‰
180
00:15:39,870 --> 00:15:43,890
ุณุทุฑ ู„ุญุงู„ู‡ ูˆ ุฌุงุก ุฅู†ู‡ ุฅุฐุง ู‡ูˆ zero ูุนู„ู‰ ุทูˆู„ ุทู„ู‘ุน ุงู„
181
00:15:43,890 --> 00:15:48,810
zero ุฒูŠ ู…ุง ู‡ูŠ ุฅุถุงูุฉ T ู„ุชุฃุฎุฏ ุดูƒู„ู‡ ุงู„ zero ุงู„
182
00:15:48,810 --> 00:15:54,530
character ูุงุญู†ุง ุงู„ุขู† ุจุฏู†ุง ู†ุฑุฌุน ุดูˆูŠุฉ ุจุณ ุนุดุงู† ู†ุชุจุน
183
00:15:54,530 --> 00:15:58,510
ุงู„ุญุงุฌุฉ ุงู„ู„ูŠ ุณู‚ู†ุงู‡ุง ุงู„ู„ูŠ ุงู„ุฃูˆู„ ุฃุตุจุญุช ุงู„ู…ูู‡ูˆู… ุฃู„ู†ุง
184
00:15:58,510 --> 00:16:03,750
ู‡ุงูŠ ุจุฏุงูŠุฉ ุงู„ section ุงุชู†ูŠู† ุชู„ุงุชุฉ ู…ูู‡ูˆู… ุงู„
185
00:16:03,750 --> 00:16:08,840
attribute ูˆู…ูู‡ูˆู… ุงู„ translation schemeTranslation
186
00:16:08,840 --> 00:16:12,540
Scheme Translation Scheme ู‡ูˆ ุนุจุงุฑุฉ ุนู† ุงู„ุฌุฏูˆู„ ู‡ุฐุง
187
00:16:12,540 --> 00:16:14,540
ุงู„ู„ูŠ ุดูˆูู†ุงู‡ ู‡ูˆ ุนุจุงุฑุฉ ุนู† Translation Scheme ู‡ูˆ
188
00:16:14,540 --> 00:16:21,200
ุนุจุงุฑุฉ ุนู† Rules ู…ุตุงุญุจุฉ ู„ุฅูŠุด ู„Productions ุงู„
189
00:16:21,200 --> 00:16:24,260
Attributes Attributes is any quantity associated
190
00:16:24,260 --> 00:16:27,880
with a programming construct Programming Construct
191
00:16:27,880 --> 00:16:33,060
ุฅู† ู‡ู†ุง ู‡ูˆ ุงู„ non terminal ูˆ ุฃูŠุถุง ูƒู…ุงู† ุนู„ู‰ ููƒุฑุฉ
192
00:16:33,060 --> 00:16:35,780
ุงู„ู„ูŠ ู‡ูˆ ุงู„ terminals ุงู„ one ูˆ ุงู„ zero ุงู„ุชุฑุงู†ุณู„ูŠุดู†
193
00:16:35,780 --> 00:16:39,710
ุชุจุนู‡ู… ู‡ูˆ ุงู„ู„ูŠ ู‡ูˆ ุงู„ุชุฑุงู†ุณู„ูŠุดู†ุจุณ ุฃู… ุงู„ู€ 1 ูˆ ุงู„ู€ 0
194
00:16:39,710 --> 00:16:43,930
ู‡ุคู„ุงุก ู…ุนุจู‘ุฑ ุนู†ู‡ู… ุจู€ non-terminal ุงุณู…ู‡ term ุตุญุŸ non
195
00:16:43,930 --> 00:16:47,870
-terminal ุงุณู…ู‡ term an attribute is any quantity
196
00:16:47,870 --> 00:16:51,810
associated with a programming construct ู‡ุฐุง
197
00:16:51,810 --> 00:16:53,970
ุงู„ุชุนุฑูŠู ุงู„ุนุงู…ู„ ู„ู„attribute ุนู†ุฏู†ุง ููŠ ุงู„ุญู„ู‚ุฉ .. ููŠ
198
00:16:53,970 --> 00:16:57,090
ุงู„ example ู‡ุฐุง ุดูˆูู†ุง attribute ุงู„ู„ูŠ ู‡ูŠ ุงู„ุฎุงุตุฉ ุจุงู„ู€
199
00:16:57,090 --> 00:17:01,210
translation ููŠ attributes ุชุงู†ูŠุฉ ู‚ุฏุงู… ู†ุญูƒูŠ ุนู† ุงู„
200
00:17:01,210 --> 00:17:04,970
parsing ุจุดูƒู„ ู…ูุตู„ ู‡ู†ุดูˆู ุฃู†ูˆุงุน attribute ุงู„ู„ูŠ ู‡ูŠ
201
00:17:04,970 --> 00:17:10,460
ูˆุธุงุฆู ุฃุฎุฑู‰ ุบูŠุฑ ุฃู†ู‡ุง ุชุญู…ู„ุงู„ู‚ูŠู…ุฉ ุงู„ู€ Translation ุงู†
202
00:17:10,460 --> 00:17:15,840
ู‡ูŠ ููŠู‡ุง attributes ู„ู„ data type ู‡ุฐุง ุงู„ู€ non
203
00:17:15,840 --> 00:17:23,580
terminal ูŠู…ุซู„ ู…ุชุบูŠุฑ ูˆ ู„ุง ูŠู…ุซู„ identifier ุจู„ุฒู…ู†ูŠ
204
00:17:23,580 --> 00:17:27,960
ุงุนุฑู ุงู„ data type ู‡ูˆ ุงู†ุชุฌุฑ ุงูˆ float ุงูˆ ูƒุฏู‡ ูุจูŠูƒูˆู†
205
00:17:27,960 --> 00:17:33,680
ููŠู‡ attribute ุฎุงุตุฉ ู„ุงู†ู‡ุง ุชุญู…ู„ ุงู„ data type ุชุจุน ุงู„
206
00:17:33,680 --> 00:17:38,480
construct ู‡ุฐุงูุงู†ุช ุชุชุฎุฐู† ุงู„ object ู…ุง ู„ู‡ูˆุด ุจุณ ุงู„
207
00:17:38,480 --> 00:17:41,960
dot T attribute ู„ุฃ ู…ู…ูƒู† ูŠุฌูŠู„ู‡ ุงู„ dot T ูŠุนู†ูŠ
208
00:17:41,960 --> 00:17:45,720
translate ูˆ ุงู„ dot T is the type ูˆ ุงู„ dot T ูˆุงุญุฏุฉ
209
00:17:45,720 --> 00:17:48,600
ุชุงู†ูŠุฉ ูŠุนู†ูŠ ุงู„ value ุงู„ value ุทุจุนุง ุฅุฐุง ู‡ูˆ
210
00:17:48,600 --> 00:17:51,740
expression ู…ู…ูƒู† ุงู„ value ุงู„ู†ู‡ุงุฆูŠ ูŠุนู†ูŠ ุชุณุนุฉ ู†ุงู‚ุต
211
00:17:51,740 --> 00:17:56,560
ุฎู…ุณ ูŠุณูˆู‰ ุฃุฑุจุน ุฒุงุฆุฏ ุงุชู†ูŠู† ูŠุณูˆู‰ ุณุชุฉ ุงู„ุณุชุฉ ู‡ุฐู‡ ุชุชุฎุฐู†
212
00:17:56,560 --> 00:18:00,080
ููŠ attribute ุงุณู…ู‡ุง ุงู„ dot value ูู‡ุฐุง ูƒู„ ูƒู„ุงู… ุฌุฏุง
213
00:18:00,080 --> 00:18:04,420
ุจู†ุดูˆูู‡ ุจุดูƒู„ ู…ูุตู„ู‡ุฐุง ู‡ูˆ ู…ูู‡ูˆู… ุงู„ู€ Attribute ูˆู‡ุฐุง ู‡ูˆ
214
00:18:04,420 --> 00:18:07,360
ู…ูู‡ูˆู… ุงู„ู€ Translation Scheme Translation Scheme ู‡ูˆ
215
00:18:07,360 --> 00:18:13,840
ู…ูู‡ูˆู… ู„ู€ Attaching Program fragments Program
216
00:18:13,840 --> 00:18:21,480
fragments ูŠุนู†ูŠ ุฌุฒุก ู…ู† ุงู„ู€ code ุจุฑู…ุฌูŠ ู…ุน ู…ู†ุŸ ู…ุน ุงู„
217
00:18:21,480 --> 00:18:28,180
production ู‡ุฐุง ุงู„ุขู† ูƒุฃู†ู‡
218
00:18:29,380 --> 00:18:32,720
code fragment ู„ุฃู†ู‡ ุจู‚ู‰ ูŠู‚ูˆู„ ู„ูŠ ุงู„ attribute ู‡ูŠ ู‡ุฐู‡
219
00:18:32,720 --> 00:18:36,660
ุงู„ value ุชุจู‚ู‰ ู‡ูŠูƒ ู‡ุฐู‡ ูƒุฃู†ู‡ ุณุทุฑ ููŠ ุจุฑู†ุงู…ุฌ ุจูŠุนุทูŠ
220
00:18:36,660 --> 00:18:44,440
ู‚ูŠู…ุฉ ู„ attribute ุชู…ุงู…
221
00:18:44,440 --> 00:18:50,300
ูุฅุฑูุงู‚
222
00:18:50,300 --> 00:18:54,600
ุฃูˆ attaching program fragments ู…ุน productions
223
00:18:54,600 --> 00:19:03,270
ุจูŠุดูƒู„ ู„ูŠ ุงู„ุงุด ุงู„translation scheme ูˆ ุขุฎุฑ ุดูŠุก ุงู† ุงู„
224
00:19:03,270 --> 00:19:08,470
production ูˆุงุญุฏุฉ ู…ู…ูƒู† ูŠุตุญุจู‡ุง rule ูŠุนู†ูŠ fragment
225
00:19:08,470 --> 00:19:14,510
ุณุทุฑ ูˆุงุญุฏ ุงูˆ ุงูƒุชุฑ ู…ู…ูƒู† ุชุจู‚ู‰ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ fragments
226
00:19:14,510 --> 00:19:22,950
ุงู„ู„ูŠ ุชุชู†ูุฐ ุนู†ุฏ ุงูƒุชู…ุงู„ ุงู„ู„ูŠ ู‡ูˆ ุงู„ parsing
227
00:19:26,770 --> 00:19:31,870
ุจุนุฑููƒ ุงูŠุด ู‡ูŠ post-extension ูˆ ุชุญูˆูŠู„ู‡ุง ูˆู‡ูŠ example
228
00:19:31,870 --> 00:19:40,870
ูˆู‡ูŠ ุงู„ tree ูˆู‡ูŠ ุงู„ syntax directed definition ุงู„ุงู†
229
00:19:40,870 --> 00:19:45,930
ุงู„ tree ู‡ุฐู‡ ุฒูŠ ู…ุง ุงู†ุชูˆุง ุดุงูŠููŠู† ุงู„ value ุชุจุน ุงู„ dot
230
00:19:45,930 --> 00:19:52,250
T ู‡ุฐุง ู…ุงุจุญุตู„ ุนู„ูŠู‡ ุงู„ุง ู…ู† ุจุนุฏ ู…ุง ุงุชุญุฏู‰ ุงู„ value ุชุจุน
231
00:19:52,250 --> 00:19:56,930
ุงู„ู„ูŠ ุชุญุชู‡ุง ูˆู‡ุฐู‡ ุงู„ูƒุงู…ุฑุฉ ูƒุญุงู„ุฉุงู„ู€ tree ุงู„ู€
232
00:19:56,930 --> 00:20:03,270
traversal ู„ุงุฒู… ูŠุชู… dip first ุตุญุŸ ู„ุฃู† ู„ุงุฒู… ุงู†ุง ุฃุฎุด
233
00:20:03,270 --> 00:20:08,290
ู‡ูŠูƒ ุฃุทู„ุน ุงู„ value ุชุจุน ุงู„ T ู‡ุฐู‡ ุฃุฑุญู„ู‡ ุฅู„ู‰ ู‡ู†ุง ุนู„ูŠู†ุง
234
00:20:08,290 --> 00:20:15,010
ุฃุฎุด ู‡ูŠูƒ ู‡ุฐู‡ ู…ุงููŠุด ุฅู„ู‡ุง T ุฃุฎุด ู‡ูŠูƒ ู…ุธุจูˆุทุŸ ุงู‡ ุจุนุฏ ูƒุฏู‡
235
00:20:15,010 --> 00:20:18,730
ุฃุฌู…ุน ุงู„ value ุชุจุน ุงู„ T ู‡ุฐู‡ ู…ู† ุงู„ T ู‡ุฐู‡ ู…ู† ุงู„ T ู‡ุฐู‡
236
00:20:18,730 --> 00:20:22,980
ู…ู† ู‡ุฐุง ู…ุธุจูˆุทุŸ ุงู‡ูƒู„ู…ุฉ ุฃุฌู…ุน ุงู„ู€ value ุจุงู„ู€
237
00:20:22,980 --> 00:20:27,940
concatenation ุจุงู„ุฅู†ุฌู„ูŠุฒูŠ synthesize ุจุฌู…ุน ุฃูˆ ุจุฑูƒู‘ุจ
238
00:20:27,940 --> 00:20:32,840
.. ุฃู‡ .. synthesize ุนุดุงู† ู‡ูŠูƒ ู‡ุฐุง ุงู„ attribute
239
00:20:32,840 --> 00:20:37,880
ุจู†ุนุชุจุฑู‡ุง synthesized attribute ุทูŠุจ ู…ุง ู‡ูŠ ูƒู„ ุงู„
240
00:20:37,880 --> 00:20:40,740
attributes synthesized ุชูŠุฌูŠ ุงู„ value ุชุจุนู‡ุง ู…ู†
241
00:20:40,740 --> 00:20:43,560
ุงู„ุชุญุชุŸ ู…ุธุจูˆุทุŸ ู„ุฃ ู…ุด ูƒู„ู‡ู…ุŒ ููŠ ุฃู†ูˆุงุน ู…ู† ุงู„
242
00:20:43,560 --> 00:20:46,400
attributes ู‚ุฏุงู…ู‡ุง ู†ุดูˆู ุงุณู…ู‡ู… inherited attributes
243
00:20:46,400 --> 00:20:52,940
ุจูŠุฌูŠ ุงู„ value ุชุจุนู‡ุง ู…ู† siblingุฃูˆ ู…ู† parent ุจุณ ุงู„ู„ูŠ
244
00:20:52,940 --> 00:20:55,060
ุจูŠุฌูŠ ุงู„ value ุชุจุนู‡ุง ู…ู† ุชุญุช ู‡ูŠ ุงู„ู„ูŠ ุจูŠู‚ูˆู„ ุนู†ู‡ุง
245
00:20:55,060 --> 00:20:58,060
synthesized ุบูŠุฑ ู‡ูŠ ุงู„ู„ูŠ ุจูŠู‚ูˆู„ ุนู†ู‡ุง inherited ุงู„ู…ู‡ู…
246
00:20:58,060 --> 00:21:02,160
ุฃุญู†ุง ุจู‚ุงู„ ู„ุฅู† ุจุณ ูŠุนู†ูŠ ู„ูˆ ุฃุฌูŠ ูˆุงุญุฏ ู‚ุงู„ ุทูŠุจ ู‡ูŠ
247
00:21:02,160 --> 00:21:04,420
attribute ู„ูŠุด ุณูŠู‚ูˆู…ูˆู‡ุง ุงู„ synthesized ู‡ูŠ attribute
248
00:21:04,420 --> 00:21:11,160
ูุจุณ ุฅุฐุง ุญุฏ ุนู†ุฏู‡ ู‡ุฐุง ุงู„ุชุณุงุฑุน ุญุงุจุจ ูŠุนู„ู† ุนู†ู‡ okay
249
00:21:11,160 --> 00:21:18,230
ุงู„ุขู† ู‡ุฐุง simple syntax directed definitionูˆู‡ูŠ ุงู„ู€
250
00:21:18,230 --> 00:21:21,130
tree traversal ุงู„ู€ tree traversal ูƒู†ุง ู†ุฏู„ ููŠ ุงู„
251
00:21:21,130 --> 00:21:29,910
first ุงู†ู‡ ูˆุงู†ุง ูˆู‚ุนุฏุช ุนู„ู‰ note N ู‡ูŠ procedure ุงุณู…ู‡ุง
252
00:21:29,910 --> 00:21:33,550
visit visit ูŠุนู†ูŠ ู…ู† ุฃุฒูˆุฑู‡ุง ูˆ ุฃุฒูˆุฑ ูƒู„ ู…ุง ุงุชูุฑุฌ ุนู†ู‡ุง
253
00:21:33,550 --> 00:21:38,810
for each child C of N ู‡ุงูŠ N ู‡ุฐุง child ูˆู‡ุฐุง child
254
00:21:38,810 --> 00:21:41,710
from left to right visit C
255
00:21:46,170 --> 00:21:50,110
ุฃูˆ recursive call ุฅู„ู‰ ู†ูุณู‡ุง ุทุจ ุงู„ุขู† ุฃู†ุง ูƒู†ุช ุนู„ู‰
256
00:21:50,110 --> 00:21:53,890
ู‡ุฐู‡ ุตุฑุช ุงู„ุขู† ู‡ู†ุง visit ู‡ุฐู‡ ู…ุนู†ุงุชู‡ ุดูˆู ุงู„ children
257
00:21:53,890 --> 00:21:58,350
ุชุจุนู‡ุง ูˆ visit ุงู„ู„ูŠ ู‡ู… ู…ู† left to right ูˆ ุฌูุช ุนู„ูŠุง
258
00:21:58,350 --> 00:22:04,550
child ุฅุฐุง ุฅู„ู‡ ู„ุณู‡ children ุจุฏู‡ ุฃุถู…ู†ูŠ ุฃู„ุงู† ู„ู…ุง ุฎู„ุงุต
259
00:22:04,550 --> 00:22:09,390
ู…ุงููŠุด ุดูŠุก ู„ู…ุง ุฃุฎู„ุต visiting ุงู„ู„ูŠ ุฃู†ุง ู…ูˆุฌูˆุฏ ุนู„ู‰ ุงู„
260
00:22:09,390 --> 00:22:12,790
node ูˆ ู…ุงู„ู‡ุงุด ุงู„ children ู evaluate ุงู„ semantic
261
00:22:12,790 --> 00:22:16,610
rules at node nุงู„ู„ูŠ ุงู†ุง ุนุงุฑู ุนู„ูŠู‡ุง evaluate ูˆุจุนุทูŠ
262
00:22:16,610 --> 00:22:20,510
ู‚ูŠู…ุฉ ูˆุจุฃุทู„ุน ู…ู†ู‡ุง ุนู„ู‰ ุงู„ู„ูŠ ุจุนุฏู‡ุง ูˆุงู„ู„ูŠ ุจุนุฏู‡ุง ู„ุฅู†
263
00:22:20,510 --> 00:22:26,030
ู„ู…ุง ุฃุฑุฌุน ู„ููˆู‚ ุจู‚ุงุด ุงู„ู‚ูŠู… ุชุจุนุช ุงู„ู„ูŠ ุชุญุช ุจูŠุฌู…ุนูˆู„ูŠ
264
00:22:26,030 --> 00:22:32,450
ุงู„ู‚ูŠู… ุชุจุนุช ุงู„ู†ูˆุถ ุงู„ู„ูŠ ู…ู† ููˆู‚ ุงู„ translation
265
00:22:32,450 --> 00:22:37,150
schemes ุงู„ู„ูŠ ู…ู…ูƒู† ุชูŠุฌูŠ ุนู„ู‰ ุดูƒู„ ุฅูŠุด ุฃู†ู‡ ุงู„ rule
266
00:22:37,150 --> 00:22:43,330
ู†ูุณู‡ุง ู‡ูŠ ุนู†ุฏูŠ rule rest can
267
00:22:43,330 --> 00:22:51,510
have a formplus ูŠุชุจุนู‡ุง term ูŠุชุจุนู‡ุง rest ูˆุงุญุฏ ู‡ุฐู‡
268
00:22:51,510 --> 00:22:55,890
ู…ุซุงู„ ุนู„ู‰ production production ู‡ุฐู‡ ุงู„ production
269
00:22:55,890 --> 00:23:04,790
ู‡ุฐู‡ ุงู†ุง ู…ู…ูƒู† ุงู„ุณู‚ ุจู‡ุง code ู‡ุฐุง code ู‡ุฐุง ุงู„ู„ูŠ ุจูŠู†
270
00:23:04,790 --> 00:23:09,850
ุงู„ curly braces ุฏูˆู„ุฉ code ุฃูˆุณู‚ุชู‡ ุจู†ูุณ ุงู„
271
00:23:09,850 --> 00:23:16,520
production ููŠู‡ุง ู†ูุณู‡ุง ู…ุด ุงู† ุนู…ู„ุช ruleู…ุตุงุญุจุฉ ู…ุด ุงู†
272
00:23:16,520 --> 00:23:21,260
ุงู†ุง ุนู…ู„ุช ู…ูˆุฑ ู…ุตุงุญุจุฉ ู„ุฃ ุงู„ุณูƒุชุฑ ุงุจู‡ุจ ูˆ ุญุทูŠุช ุงู„ code
273
00:23:21,260 --> 00:23:27,480
ู‡ุฐุง ููŠ ุงู„ู…ุต ู‡ู†ุง ู…ุงุจูŠู† term ูˆ ู…ุงุจูŠู† rest ุงุตูุญ ุงู„
274
00:23:27,480 --> 00:23:32,880
parser ู„ูˆ ุฏุฎู„ ุนู„ู‰ ู‡ุฐุง ุงู„ production ู‡ุดูˆู ุงู„ plus
275
00:23:32,880 --> 00:23:37,200
ู‡ุดูˆู ุงู„ term ูŠุนู…ู„ู‡ analysis ู„ู…ุง ูŠุทู„ุน ุฌุจู„ ู…ุง ูŠุดูˆู
276
00:23:37,200 --> 00:23:42,380
ุงู„ rest ุฑุงุญ ูŠู†ูุฐ ู‡ุฐุง ู‡ุฐุง ุงุดูŠ ุจุชู†ูุฐ ุงู„ู„ูŠ ู‡ูˆ print
277
00:23:42,380 --> 00:23:51,360
plusู‡ุฑูˆุญ ูŠุทุจุน ุงู„ plus ุซู… ูŠูƒู…ู„ ุงู„ุญู„ู„ ุงู„ rest ูุฌุงุนุช
278
00:23:51,360 --> 00:23:58,320
ุจุชุฑุฌู… ููŠ ู†ุต ู…ุง ู‡ูˆ ุจูŠุญู„ู„ ูู‡ุฐู‡ ุงู„ุขู† ู„ู…ุง ุงุญู†ุง ุจู†ุนู…ู„
279
00:23:58,320 --> 00:24:04,240
code fragment ู‡ุฐู‡ code fragment ูˆุงู„ุณู‚ู†ุงู‡ุง
280
00:24:04,240 --> 00:24:10,580
ุจุงู„ production ู…ู…ูƒู† ุชูŠุฌูŠ ููŠ ูˆุณุท ุงู„ body ู…ู…ูƒู† ุชูŠุฌูŠ
281
00:24:10,580 --> 00:24:14,730
ููŠ ุจุฏุงูŠุชู‡ ู…ู…ูƒู† ุชูŠุฌูŠ ููŠ ุขุฎุฑู‡ููŠ ุญุงู„ุงุช ู…ุฎุชู„ูุฉ ุงู„ู…ู‡ู…
282
00:24:14,730 --> 00:24:19,250
ุฃู†ู†ุง ู†ู„ุชู‚ุทู‡ุง
283
00:24:19,250 --> 00:24:24,490
ู…ุน ุงู„ body ุชุจุน ุงู„ production ุฅูŠุด
284
00:24:24,490 --> 00:24:27,410
ุจูŠุชุฑุชุจ ุนู„ู‰ ู‡ุฐุง ุงู„ูƒู„ุงู… ู„ูˆ ุฃู†ุง ุนู†ุฏูŠ ุงู„ productions
285
00:24:27,410 --> 00:24:34,770
ุฒูŠ ู‡ูŠูƒุฉ ู‡ุนู†ุฏูŠ ุจ grammar ุจุงู„ุงุตู„ expression ูƒู†ุง
286
00:24:34,770 --> 00:24:38,210
ู†ุฏูุนู‡ expression ุฒูŠ ุงู„ term ู‡ุฐุง ุฌุฏูŠุฏ ุนู„ูŠู†ุง ู„ุฃ
287
00:24:38,210 --> 00:24:41,180
expression ูƒู†ุง ู†ุฏูุนู‡ expression ู†ุงู‚ุต termุงู„ู€
288
00:24:41,180 --> 00:24:44,400
expression is a term ูˆ ุงู„ term ูˆุงุญุฏ ู…ู† ุงู„ digits
289
00:24:44,400 --> 00:24:50,980
ุงู„ุงู† ุนู†ุฏูŠ expression ุฒูŠ ู‡ุฐุง ุชุณุนุฉ ู†ู‚ุต ุฎู…ุณ ุฒูŠ
290
00:24:50,980 --> 00:24:56,440
ุงู„ุฅุชู†ูŠู† ูˆ ุจุฏูŠ ุฃุนู…ู„ู‡ parsing ุจุงุณุชุฎุฏุงู… ู„ translation
291
00:24:56,440 --> 00:25:03,720
scheme ู‡ุฐุง ุฌุงูŠ ู„ู„ print ู…ุฑุงุณู‚ุฉ ู„ู„ body ุชุจุน ุงู„
292
00:25:03,720 --> 00:25:09,220
production ูˆ ุฌุงูŠ ุฏุงูŠู…ุง ููŠ ุงู„ุขุฎุฑ ู…ุงููŠุด ุญุงุฌุฉ ููŠ
293
00:25:09,220 --> 00:25:13,590
ุงู„ูˆุณุท ุฃูˆ ููŠ ุงู„ุจุฏุงูŠุฉุชุฎูŠู„ ุงูŠุด ุงู„ู„ูŠ ู‡ูŠุญุตู„ ุงู„ุงู† ุงู†ุง
294
00:25:13,590 --> 00:25:19,510
ุนู…ู„ุช ุฏุฎู„ุช ุนู„ู‰ ุงู„ input ุงุฎุฏุช ุงู„ input ูˆุญู„ู„ุชู‡ ุนู„ู‰
295
00:25:19,510 --> 00:25:23,450
ุงุณุงุณ ุงู†ู‡ูŠุงุด expression ุฒุงุฆุฏ term ู‡ูŠ expression ูˆู‡ูŠ
296
00:25:23,450 --> 00:25:31,210
ุฒุงุฆุฏ ูˆู‡ูŠ term ุฎู„ุตุช ู…ู† ุชุญู„ูŠู„ ุงู„ expression ู‡ุฐุง ู„ุฃ
297
00:25:31,210 --> 00:25:34,030
ู„ุณู‡ ุฏุฎู„ุช ุนู„ู‰ ุชุญู„ูŠู„ ุงู„ expression ู‡ุฐุง ุงู„ู„ูŠ ู‡ูŠ 9
298
00:25:34,030 --> 00:25:40,290
ู†ุงู‚ุต ุงู„ุฎู…ุณุฉ ุตุญ ุงุฎุฏุช ุนู„ู‰ ุงุณุงุณ ุงู†ู‡ูŠุงุด rule ุฑู‚ู… ุงุชู†ูŠู†
299
00:25:40,290 --> 00:25:41,030
ุตุญ
300
00:25:46,230 --> 00:25:49,070
Okay ูุฃุฎุฏุชู‡ุง ุนู„ู‰ ุฃุณุงุณ ุฃู†ู‡ุง ู‡ุฐู‡ ุงู„ุชุณุนุฉ expressions
301
00:25:49,070 --> 00:25:52,950
ูˆุงู„ุฎู…ุณุฉ ุฅูŠุด term ู„ุฃู† ู‡ุฐุง ุงู„ expression ู‡ุฐู‡ ุงู„ู„ูŠ ู‡ูŠ
302
00:25:52,950 --> 00:25:55,950
ุงู„ expression ุฃุฎุฏุชู‡ุง ุนู„ู‰ ุฃุณุงุณ ุฃู†ู‡ุง term ูŠุนู†ูŠ
303
00:25:55,950 --> 00:26:00,310
expressions is a term ุนู†ุฏู†ุง ู†ุฑูˆุญ ุฑู‚ู… ุชู„ุงุชุฉ okay
304
00:26:00,310 --> 00:26:06,090
ุงู„ุงู† ุฎู„ุตุช term ู„ุฃ ู…ุฎู„ุตุชุด ุงู„ term ู‡ูŠ ุงู„ู„ูŠ ุจุฏูŠ ุฃุฎุฏู‡ุง
305
00:26:06,090 --> 00:26:09,790
ุนู„ู‰ ุฃุณุงุณ ุฃู†ู‡ุง ุฅูŠุด ุชุณุนุฉ ุนู„ู‰ ุฃุณุงุณ ุฃู†ู‡ุง ุชุณุนุฉ ุตุญ ูŠุฌุจ
306
00:26:09,790 --> 00:26:14,120
ู†ุฑูˆุญ ุฑู‚ู… ู‡ุงูŠ ุนุดุฑุฉุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
307
00:26:14,120 --> 00:26:15,080
ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
308
00:26:15,080 --> 00:26:18,220
ุชู„ุงุชุฉ ูˆ
309
00:26:18,220 --> 00:26:25,640
ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
310
00:26:25,640 --> 00:26:26,300
ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
311
00:26:26,300 --> 00:26:27,600
ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
312
00:26:27,600 --> 00:26:27,600
ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
313
00:26:27,600 --> 00:26:30,240
ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
314
00:26:30,240 --> 00:26:39,560
ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ ุชู„ุงุชุฉ ูˆ
315
00:26:39,560 --> 00:26:41,220
ุชู„ุงุชุฉ
316
00:26:42,970 --> 00:26:52,930
ุงู„ุงู† ุฑุฌุนุช ุนู„ู‰ ุงู„ู†ุงู‚ุต ูˆ ุจุฏู‰ ุงุดูˆู ู‡ุฐู‡ ุงู„ุฎู…ุณุฉ ุงุฎุฏุชู‡ุง
317
00:26:52,930 --> 00:26:59,070
ุนู„ู‰ ุงุณุงุณ ุงู†ู‡ุง term ุชู…ุงู… ู‡ุงูŠ term ูˆ ุงู„ term ู‡ูˆ
318
00:26:59,070 --> 00:27:04,390
ุนุจุงุฑุฉ ุนู† ู…ูŠู† ุจุงู„ุงู† ุนู„ู‰ ุงู„ rule ุงู„ู„ู‰ ู‡ุชูƒูˆู† ู‡ู†ุง ุงู„
319
00:27:04,390 --> 00:27:10,090
term can have four terms ุตุญ ู„ุงู† ู‡ุฐู‡ ุจุฑุถูˆ ู‡ูŠูˆุฌู‡
320
00:27:10,090 --> 00:27:15,170
ููŠู‡ุงcode fragment ุจูŠู‚ูˆู„ูŠ ุฃุชุจุงุน ุฎู…ุณุฉ ูุงู†ุง ู‡ูŠ ุงุชู†ูŠู†
321
00:27:15,170 --> 00:27:20,870
ุฎู„ุตุชู‡ ุฏุฑุฌุฉ ู‚ุจู„ ู…ุง ุงุชุฌู‡ ุจุฃุชุจุงุน ุฎู…ุณุฉ ุจู†ูุฐ ุงู„ู‡ุฏุง ุงู„ุงู†
322
00:27:20,870 --> 00:27:28,250
ุงูƒุชู…ู„ ุชุญู„ูŠู„ ุงู„ production ู‡ุฐู‡ ุงู„ู„ูŠ ู‡ูŠ ุฑู‚ู… ุงุชู†ูŠู†
323
00:27:28,250 --> 00:27:33,250
ุจุนุฏ ู…ุง ุงูƒุชู…ู„ุช ุฌุฒุก ู‡ุฏุง ูƒ expression one ูˆ ุจุนุฏูŠู† ู†ู‚ุต
324
00:27:33,250 --> 00:27:37,610
ูˆ ุจุนุฏูŠู† ุชุงู… ุงูŠุด ุจุฏูŠ ุงุนู…ู„ู‡ ุจู†ูุฐ ุงู„ fragment ุงู„ู„ูŠ
325
00:27:37,610 --> 00:27:42,180
ุจูŠู‚ูˆู„ูŠ ู†ู‚ุต ุงูƒุชู…ู„ ู‡ุฐุง ุงู„ูƒู„ุงู… ุงู„ุงู† ุงู†ุง ุงูƒุชู…ู„ ู‡ุฐุงู„ุฃู†
326
00:27:42,180 --> 00:27:47,780
ุฃู†ุง ุจุฑุฌุน ุฑุงุฌุน ุนู„ู‰ ุฑู‚ู… ูˆุงุญุฏ ุงูƒู…ู„ ุงู‡ ู‡ุฐุง ุฎู„ุต ุฎู„ุต
327
00:27:47,780 --> 00:27:52,000
ุงู„ุฒุงูŠุฏ ุถุงูŠู„ ู‡ุฐุง ู‡ุฐุง ุงูŠุด ุจุณ ุงูˆู„ ุงุดูŠ ุจุฑูˆุญ ุนู„ู‰ ุงุชู†ูŠู†
328
00:27:52,000 --> 00:27:58,040
ุตุญูŠุญ ุงู†ุง ู‡ุฐุง ู…ุงุนู†ูˆุด ุงูŠ ู†ูˆุน ู…ู† ุงู„ analysis ุงู† ุฎู„ุต
329
00:27:58,040 --> 00:28:00,940
ุงู„ุฒุงูŠุฏ ุงู†ุง ุจุฑูˆุญ ุนู„ู‰ ุงู„ term ุงู„ term ุจุงุฎุฏ ุนู„ู‰ ุงุณุงุณ
330
00:28:00,940 --> 00:28:06,200
ุงู† ุงุชู†ูŠู† ุงุชู†ูŠู† ู‡ูŠู‚ูˆู„ูŠ ุงุทุจุน ูู‡ุทุจุน ุงุชู†ูŠู† ุตุญ ุจุนุฏ ู…ุง
331
00:28:06,200 --> 00:28:11,020
ุงุทุจุน ุงุชู†ูŠู† ุจุฑุฌุน ุชุงู†ูŠ ุงู„ุขู† ุฎู„ุตุช ุงู†ุง ุงู„ุขู† ู…ู† ู‡ุฐุงุงู„ุงู†
332
00:28:11,020 --> 00:28:15,920
ูˆุตู„ุช ู‡ู†ุง ูุจู‚ูˆู„ ุงุทุจุน ุงุฒุงูŠ ุงุทุจุน ุงุฒุงูŠ ุตุญูŠุญ ู„ุฃ ูู‡ุฏูˆู„ุฉ
333
00:28:15,920 --> 00:28:20,040
ุฃุณู„ูˆุจูŠู† ููŠ ุงู„ุชุนุงู…ู„ ู…ุน ุนู…ู„ูŠุฉ ุงู„ุชุฑุฌู…ุฉ ุงู„ุณู„ูˆุจ ุงู„ุฃูˆู„
334
00:28:20,040 --> 00:28:28,100
ูƒุงู† ุงู† ุงู†ุง ุจุงุฌู…ุน ุงู„ translation ุชุฑุงูƒู…ูŠุง ุจูˆุงุณุทุฉ ุงู„
335
00:28:28,100 --> 00:28:33,020
attributes ูˆุงู„ุชุฑุฌู…ุฉ ุงู„ู†ู‡ุงุฆูŠุฉ ุจุชูƒูˆู† ุงู„ุชุฌู…ุนุช ู„ุฏูŠ ููŠ
336
00:28:33,020 --> 00:28:36,920
ุงู„ root node ููŠ ุงู„ dot T attribute ุชุจุน ุงู„ root
337
00:28:36,920 --> 00:28:40,800
node ุจุนุฏ ู‡ูŠูƒ ุจุณ ุฎู„ุงุต ุจุฑูˆุญ ู…ุฑุฉ ูˆุงุญุฏุฉ ุจุงุทุจุนู‡ุงุฃูˆ
338
00:28:40,800 --> 00:28:47,720
ุจุตุฏุฑู‡ุง ูŠุนู†ูŠ ู„ู„ุงุณุชุฏุนุงู… ุจูŠู†ู…ุง ููŠ ุงู„ .. ููŠ
339
00:28:47,720 --> 00:28:54,920
translation schemes ุฃู†ุง ุจุทู„ุน output ุฃุซู†ุงุก ุนู…ู„ูŠุฉ ุงู„
340
00:28:54,920 --> 00:29:03,440
parsing ู„ุฃู† ุงู„ actions ู…ุฏู…ุฌุฉ ุจุฏุงุฎู„ ุงู„ body ุจุฏุงุฎู„
341
00:29:03,440 --> 00:29:07,240
ุงู„ productions ูˆุงุถุญุฉ ุจุชู‡ูŠุฃู„ูŠ ู‡ุฏูˆู„ ุฃุณู„ูˆุจูŠู† ู…ุฎุชู„ููŠู†
342
00:29:07,240 --> 00:29:15,210
ููŠ ุนู…ู„ูŠุฉ ุงู„ translationูˆ ูƒู„ุง ู‡ู…ุง .. ูƒู„ุง ู‡ู…ุง ุฅูŠุดุŸ
343
00:29:15,210 --> 00:29:23,150
syntax directed ู„ุฃู†ู‡ ูƒู„ุง ู‡ู…ุง ุฃู†ุง ุฃุฏู…ุฌุช ุนู…ู„ูŠุฉ ุงู„
344
00:29:23,150 --> 00:29:27,290
translation ุฃุซู†ุงุก ุนู…ู„ูŠุฉ ุงู„ parsing ุจุณ ูˆุงุญุฏุฉ ู…ู†
345
00:29:27,290 --> 00:29:30,910
ุฎู„ุงู„ ุงู„ attributes ูˆ ูˆุงุญุฏุฉ ู…ู† ุฎู„ุงู„ ุงู„ู„ูŠ ู‡ูŠ ุงู„ code
346
00:29:30,910 --> 00:29:31,530
fragments
347
00:29:42,720 --> 00:29:47,700
ู‡ุฐุง ุงู„ุฑุณู… ูŠุชุนุจุฑ ุนู† ู…ุง ู‡ูˆ ู…ูุฑูˆุถ ุงู„ code fragments
348
00:29:47,700 --> 00:29:54,200
ุงู„ู„ูŠ ุจุชูŠุฌูŠ ููŠ ูˆุณุท ุงู„ code ู‡ุฐู‡ ุงู„ุฎุทุฉ ุงู„ู…ุชู‚ุทุฉ ู…ุนู†ุงุชู‡
349
00:29:54,200 --> 00:29:57,700
ุงู†ู‡ ู…ุด ุนู…ู„ูŠุฉ passing ู‡ูŠ ุนู…ู„ูŠุฉ action ุจุชุชู†ูุณ ุงู„ู„ูŠ
350
00:29:57,700 --> 00:30:03,240
ู‡ูˆ ุงู„ printing ูˆู‡ู†ุง ู‡ูŠ ุทุจุนุง ู†ูุณ ุงู„ูƒู„ู…ุฉ ุงู„ู„ูŠ
351
00:30:03,240 --> 00:30:09,700
ุณูˆูŠู†ุงู‡ุง ู…ุนุจุฑูƒ ุงู†ู‡ ุจุนุฏ ู…ุง ุงู†ุชู‡ู‰ ุงู„ analysis ู‡ุฐุงุฃุฎุฐุช
352
00:30:09,700 --> 00:30:14,100
ุชุณุนุฉ ูˆุงู†ุชู‡ูŠู†ุง ู…ู† ู‡ุฐุง ุงู„ูƒู„ุงู… ุชู… ุชู†ููŠุฐ ุงู„ุทุจุงุนุฉ ุจุนุฏ
353
00:30:14,100 --> 00:30:20,300
ุชุณุนุฉ ุซู… ุทุจุงุนุฉ ุฎู…ุณุฉ ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู…
354
00:30:20,300 --> 00:30:21,060
ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู†
355
00:30:21,060 --> 00:30:21,980
ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู…
356
00:30:21,980 --> 00:30:22,480
ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู†
357
00:30:22,480 --> 00:30:26,580
ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู…
358
00:30:26,580 --> 00:30:36,360
ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุชู†ูŠู† ุซู… ุงุช
359
00:30:37,090 --> 00:30:39,530
ุงู„ุนู…ู„ูŠุฉ ุงู„ู€ syntax-directed translation ุดูˆูู†ุง ุงู„
360
00:30:39,530 --> 00:30:44,450
post-augmentation ููŠู‡ุง ุงู„ู€ syntax ุงู„ู€ synthesizer
361
00:30:44,450 --> 00:30:47,010
attribute ุจุชุนุฑูู†ุง ุนู„ูŠู‡ุง ุงู„ู€ simple syntax-directed
362
00:30:47,010 --> 00:30:49,750
definition ุจุชุนุฑูู†ุง ุนู„ูŠู‡ุง ุงู„ู€ tree traversal ู‡ูˆ ุงู„
363
00:30:49,750 --> 00:30:53,570
.. ุงู„ .. ุงู„ button ููŠ ุงู„ .. ุงู„ depth first ูˆ ุงู„
364
00:30:53,570 --> 00:30:57,230
translation schemes ุงู„ู„ูŠ ู‡ูŠ ุจูŠูƒูˆู† ููŠู‡ุง ุงู„ code
365
00:30:57,230 --> 00:31:02,970
fragments ู…ุฏู…ุฌุฉ ู…ุน ุงู„ .. ุงู„ .. okay ู…ุน ุงู„ุงุด .. ู…ุน
366
00:31:02,970 --> 00:31:08,200
ุงู„ productionsุฎู„ู‘ูŠ ุจุงู„ูƒ ุงู† ู‡ู†ุง ุชุจุฏุฃ ู‡ุฐุง ูˆ ู‡ุฐุง
367
00:31:08,200 --> 00:31:12,380
ุจูŠุตูŠุจ ูˆ ูŠูƒูˆู† ููŠ ุนู†ุฏูŠ table ูŠุญุชูˆูŠ ุนู„ู‰ ุนู…ูˆุฏูŠู† ุนู…ูˆุฏ
368
00:31:12,380 --> 00:31:16,100
ุงู„ productions ูˆ ุนู…ูˆุฏ ุงู„ rules ูˆ ุงู„ rules ุจูŠู†ู…ุง
369
00:31:16,100 --> 00:31:20,660
ู‡ู†ุง ุนู…ูˆุฏ ูˆุงุญุฏ ุจุชูƒูˆู† ุงู„ fragments ุงู„ semantic
370
00:31:20,660 --> 00:31:25,960
actions ุงุณู…ู‡ุง ุงุฐุง ู„ุงุญุธุชู‡ ููŠ ุงู„ slide ุชูƒูˆู† ู…ุฏู…ุฌุฉ
371
00:31:25,960 --> 00:31:29,220
ุจุฏุงุฎู„
372
00:31:29,220 --> 00:31:33,020
ุงู„ productions
373
00:31:33,020 --> 00:31:39,130
ุตุญุŸู…ุฏู…ุฌุฉ ุฅู…ุง ููŠ ู†ุต ุงู„ body ุฃูˆ ุนู„ู‰ ุขุฎุฑู‡ ุฃูˆ ุญุชู‰ ู…ู…ูƒู†
374
00:31:39,130 --> 00:31:43,430
ุชูŠุฌูŠ ููŠ ุจุฏุงูŠุชู‡ ููŠ ุจุนุถ ุงู„ุญู„ู‚ุงุช ูŠุนู†ูŠ ุฎู„ุตู†ุง ุงุญู†ุง ุงู„ุขู†
375
00:31:43,430 --> 00:31:47,490
ุนู„ู‰ ุจุงุจ ุงู„ู„ูŠ ู‡ูˆ ู…ุดุงุฑู ุงู„ parsing ุงู„ parsing ุงู„ู„ูŠ
376
00:31:47,490 --> 00:31:53,170
ู‡ูŠ ุฅูŠุด ุจุฑุถู‡ ูƒู…ุงู† syntax analysis ููŠู‡ุง ุงู„ top-down
377
00:31:53,170 --> 00:31:56,650
parsing ูˆ ูˆุงุญุฏ ู…ู†ู‡ู…ุง ุงู„ู„ูŠ ู‡ูˆ predictive parsing
378
00:31:56,650 --> 00:32:03,470
ูˆุจุนุฏูŠู† ูƒุฏู‡ ุจูŠุดูˆู ุจูŠูƒู…ู„ designing a predictive
379
00:32:03,470 --> 00:32:09,210
parserูˆุจุนุฏู‡ุง ู†ู†ุธุฑ ุฅู„ู‰ ุฃุณุฆู„ุฉ ุงู„ recursion ู‡ู†ุงูƒ ู†ูˆุน
380
00:32:09,210 --> 00:32:11,930
ู…ู† ุงู„ recursion ุงุณู…ู‡ left recursion ู‡ุฐุง ููŠ ุงู„
381
00:32:11,930 --> 00:32:16,970
grammar ู…ู…ูƒู† ูŠู…ุฑ ุนู„ูŠูƒู… ู„ู…ุงุฐุงุŸ ููŠ ุงู„ู…ุจุงุฏุฆุŸ ู„ุฃ ุนู…ูˆู…ุง
382
00:32:16,970 --> 00:32:23,210
ุฅุฐุง ุฏู„ุช ู…ุนุงู†ุง ูˆุฌู‡ุฉ ู†ุญู† ู†ุฌูŠู„ู‡ุง ูˆุจุชุดูˆู ุฃูŠุด ุถุฑุฑ ุชุจุนู‡ุง
383
00:32:23,210 --> 00:32:27,090
ูˆูƒูŠู ู…ู…ูƒู† ุฃู† ู†ุนุงู„ุฌู‡ ุจุชุบูŠูŠุฑ ุงู„ grammar ุจุญูŠุซ ุฃู†ู‡ุง
384
00:32:27,090 --> 00:32:33,490
ุชุตุจุญ ู…ุด left recursion ู„ุฅู† ุงุญู†ุง ุจู†ุฑูˆุญ ุนู„ู‰ 2.4 ุงู„ู„ูŠ
385
00:32:33,490 --> 00:32:33,810
ู‡ูˆ
386
00:32:40,050 --> 00:32:50,730
ุงู„ู€ Top-Down Parsing 2.4 ูˆ2.4.1 ู‡ู„
387
00:32:50,730 --> 00:33:04,930
ูŠูˆุฌุฏ ุฃุญุฏ ุนู†ุฏู‡ ุณุคุงู„ ููŠ ุงู„ูุงุชุฑุŸ ู†ุชูู‚ู†
388
00:33:04,930 --> 00:33:12,300
ุนู„ู‰ ุฃู† ุงู„ู€ Parsing ู‡ูˆ ุงู„process ofHow the input
389
00:33:12,300 --> 00:33:16,980
string can be generated by a grammarุŸ ุงู„ grammar
390
00:33:16,980 --> 00:33:20,540
ุดูˆ ู‡ูŠุŸ ุงู„ู…ุฌู…ูˆุนุงุช ุงู„ู„ูŠ ุฅูŠุดุŸ ู‡ูŠ ุงู„ definition ุงู„ู„ูŠ
391
00:33:20,540 --> 00:33:23,360
ูŠุชูƒูˆู† ู…ู† ู…ุฌู…ูˆุนุงุช ุงู„ productions ูƒูŠู ุฃู†ุง ุจุณุชุฎุฏู… ู‡ุฐู‡
392
00:33:23,360 --> 00:33:27,240
ุงู„ definitions to generate ุงู„ inputุŸ ูƒูŠู ุฃู†ุง ู‡ูˆ
393
00:33:27,240 --> 00:33:31,120
ุฃู†ุง ุฃุตู„ุง ู…ุธูŠูุชูŠ ุฃู†ุง ุฃุทู„ุน ุงู„ inputุŸ ู„ุฃ ุงู„ input
394
00:33:31,120 --> 00:33:35,340
ู‡ูŠุฏุฎู„ูŠ ุจุณ ุฅุฐุง ุฃู†ุง ุงู„ู„ูŠ ุฏุฎู„ูŠู‡ุง ู„ุฃ I could generate
395
00:33:35,340 --> 00:33:41,750
itุฅุฐุง ุงู†ุง ุงู‚ุฏุฑุช ุงู† ุงุนู…ู„ ู…ุทุงุจู‚ ู„ู‡ ู…ุน ุฃู† ุฏุงู„ูƒ ู‡ุฐุง
396
00:33:41,750 --> 00:33:47,230
ุงู„ู„ูŠ ุฏุฎู„ ุณู„ูŠู… ู‚ูˆุงุนุฏูŠุง Gramatically ูŠุนู†ูŠ ููŠ ุงู„
397
00:33:47,230 --> 00:33:51,970
parsing ู‡ูˆ ูˆุธูŠูุชู‡ ุงู„ุชุฃูƒุฏ ู…ู† ุณู„ุงู…ุฉ ุตุญุฉ ุงู„ input
398
00:33:51,970 --> 00:33:54,570
ุนุดุงู† ูŠุชุฃูƒุฏ ู…ู† ุตุญุชู‡ ูˆ ูŠุดูˆู ู‡ู„ ุงุณุชุทูŠุน ุงู†ู‡ ุช
399
00:33:54,570 --> 00:34:00,070
regenerate it ุจู†ุงุก ุนู„ู‰ rules ุจู†ุงุก ุนู„ู‰ productions
400
00:34:00,070 --> 00:34:04,090
ุจุจุฏุง ู…ู† ุงู„ุงุด ู…ู† ุงู„ star symbol ูˆ ู…ู† ุฎู„ุงู„ ุนู…ู„ูŠุฉ
401
00:34:04,090 --> 00:34:11,140
ุงู„ุงุณุชุจุฏุงู„ุจุดูˆู ู‡ู„ ูŠู…ูƒู† ูˆุตูˆู„ ุฅู„ู‰ form ู…ุทุงุจู‚ ู„ู„form
402
00:34:11,140 --> 00:34:17,940
ุชุจุนูŠู† okay ู how a string of terminals ุงู„ input ู‡ูˆ
403
00:34:17,940 --> 00:34:21,460
ุนุจุงุฑุฉ ุนู† string of terminals ู„ูˆ ุชุณุนุฉ ู†ู‚ุต ูƒู…ุณ ุฒูŠ
404
00:34:21,460 --> 00:34:24,620
ุงุชู†ูŠู† ู‡ุฏูˆู„ุฉ symbols ู‡ูŠ ุนุจุงุฑุฉ ุนู† terminals ู„ูˆ if
405
00:34:24,620 --> 00:34:28,600
statement if goes expression ูƒุฏู‡ ูŠูˆุฌูˆู‡ ู…ุด ุญุงุฌุฉ ุงู†
406
00:34:28,600 --> 00:34:32,420
ู…ุบุงุฑุฉ ู…ุด ูƒุงุชุจู„ูŠ ูƒู„ู…ุฉ expression ุตุญ ู‡ูŠู…ูƒู† ุชุญุทุทู„ูŠ
407
00:34:32,420 --> 00:34:34,400
expression ูุนู„ูŠ
408
00:34:37,690 --> 00:34:41,310
ู‡ุฐุง ูˆู‡ุฐุง ุงู„ expression ุงู„ูุนู„ ู‡ูˆ ุนุจุงุฑุฉ ุนู† symbols ูˆ
409
00:34:41,310 --> 00:34:45,090
ุงู„ symbols ู‡ุฏู‰ terminals ูู‡ูˆ ุงู„ู‡ุฏู ููŠ ุงู„ parsing
410
00:34:45,090 --> 00:34:48,190
is the process of determining how a string of
411
00:34:48,190 --> 00:34:51,390
terminals can be generated by a grammar ุฃูˆ
412
00:34:51,390 --> 00:34:55,170
regenerated by a grammar ุทูŠุจ ุงู„ุขู† ุงุญู†ุง ู‡ูŠ ู…ุซู„ุง
413
00:34:55,170 --> 00:34:58,690
ู…ุซุงู„ ุจุณูŠุทุฉ ุนู†ุฏู†ุง ุงู„ู„ูŠ ู‡ูˆ ูˆู‡ุฐุง ุงู„ู„ูŠ ูƒุงู† ุฃุณู…ุน ู…ุด
414
00:34:58,690 --> 00:35:02,770
ูŠุฏูŠุฏ ุนู„ูŠู†ุง ู‡ุฐุง definition a grammar for some
415
00:35:02,770 --> 00:35:06,050
statements in C and Java a statement is an
416
00:35:06,050 --> 00:35:13,640
expressionุฃูˆ if ุฃูˆ for ุฃูˆ some other ุดูƒู„ ุขุฎุฑ ู…ู†
417
00:35:13,640 --> 00:35:19,880
ุฃุดูƒุงู„ ุงู„ statements ูˆุนู†ุฏูŠ ู‡ู†ุง ุงู„ for ู…ุซู„ุง ุงู„ุงุณู… ุงู„
418
00:35:19,880 --> 00:35:23,560
if ุชุญุชูˆูŠ ุนู„ู‰ ุฃู‚ุต ูˆ expression ูˆ statement ุฅุฐุง
419
00:35:23,560 --> 00:35:26,640
ุฃุชุญู‚ู‚ ู‡ุฐุง ุงู„ expression ุชุชู†ูุฐ ู‡ุฐุง ุงู„ statement
420
00:35:26,640 --> 00:35:31,280
ุทุจุนุง ุงู„ for ุงู„ if ู„ู‡ุง ุดูƒู„ ุขุฎุฑ ุงู„ู„ูŠ ู‡ูˆ ุงู„ else ุงู„
421
00:35:31,280 --> 00:35:37,020
if else ุจุณ ู‡ู†ุง ุฃุญู†ุง ู‡ุฐุง ุชุจุณูŠุท ู…ุด ุฏุงุฎู„ุงู„ู€ four
422
00:35:37,020 --> 00:35:40,520
ุนุจุงุฑุฉ ุนู† ุจูุณ ููŠู‡ ู‡ุฏูŠ ุงู„ initialization ููŠู‡ ู‡ุฏูŠ ุงู„
423
00:35:40,520 --> 00:35:44,080
condition ูˆููŠู‡ ู‡ุฏูŠ ุงู„ action ุงู„ู„ูŠ ูŠุชู†ูุณ ููŠ ูƒู„ ุฏูˆุฑุฉ
424
00:35:44,080 --> 00:35:48,660
ุฏูˆุฑุชู‡ ูˆููŠู‡ ู‡ุฏูŠ ุงู„ู„ูŠ ู‡ูˆ ุงู„ statement ุฃูŠุถุง ุงู„ู„ูŠ
425
00:35:48,660 --> 00:35:51,540
ุจุชู†ูุณ ู‡ุฐุง ุงู„ู„ูŠ ุจูŠูƒูˆู† implementation ุงูˆ decrement
426
00:35:51,540 --> 00:35:54,580
ูˆู‡ุฏูˆู„
427
00:35:54,580 --> 00:35:58,040
ุงู„ expressions ุงู„ู„ูŠ ู‡ู†ุง ุจุณู…ูŠู‡ู… ุงูˆ ุนุงู…ู„ู‡ู… non
428
00:35:58,040 --> 00:36:01,180
-terminal ุงุณู…ู‡ optional expression optional
429
00:36:01,180 --> 00:36:02,980
expression optional expression optional expression
430
00:36:03,540 --> 00:36:10,520
ุงู„ุฃุนุถุงุก ู‡ุฐู‡ ุญุงุทุทู‡ุง ุจุณ ูŠุนู†ูŠ ุนุดุงู† ูƒู†ุงูŠุฉ ุนู† ูƒู„ ุงู„
431
00:36:10,520 --> 00:36:13,720
other forms of the statement ู„ุฃู† ู‡ุฐุง ุงู„ optional
432
00:36:13,720 --> 00:36:16,820
expression ู…ู…ูƒู† ูŠุจู‚ู‰ ุฅุจุณู„ูˆู† ุฅุจุณู„ูˆู† ูŠุนู†ูŠ ุฅูŠุด ูˆู„ุง ุฅุด
433
00:36:16,820 --> 00:36:22,300
ูˆู„ุง ุดูŠุก ุจุงู„ุธุจุท ุฃูˆ ูŠุจู‚ู‰ expression ูู‡ูŠ ู‡ุฐู‡ ุงู„ูˆุณูŠู„ุฉ
434
00:36:22,300 --> 00:36:26,780
ุชุจุนุชู†ุง ูŠุนู†ูŠ ุฑุงุญู†ุง ุจู†ุญุท ุงู„ุฅุจุณู„ูˆู† ุจู†ุญุทู‡ ูƒูˆุณูŠู„ุฉ
435
00:36:26,780 --> 00:36:32,890
ู„ู„ูƒู†ุงูŠุฉ ุนู† ุฃูˆ ู„ู„ุชุฎุตูŠุต ุฃู†ู‡ ู‡ุฐุง ุงู„ุดูŠุก optionalูŠุง
436
00:36:32,890 --> 00:36:36,410
ุงู„ู…ูุงุถ ูŠุง ุงู…ุง ูƒุฏู‡ ูŠุจู‚ู‰ ู‡ุฐุง ุงู„ุดูŠุก ูŠูƒูˆู† ุงูˆ ู‡ุฐุง
437
00:36:36,410 --> 00:36:40,910
ุงู„ู…ู†ุชุฌ ูŠูƒูˆู† optional ุงู„ุงู† ุงู†ุง ุจูƒูˆู† ููŠู‡ุง expression
438
00:36:40,910 --> 00:36:46,490
input ุฏุงุฎู„ ุฒูŠูƒ ุทุจุนุง ุงู†ุง ู‚ูˆู„ุช ู…ุฑุฉ ุงุฎุฑู‰ ุจู‚ูˆู„ ู…ุฑุฉ
439
00:36:46,490 --> 00:36:49,870
ุงุฎุฑู‰ ุงู† ุงู„ programmer ู…ุด ู‡ูŠูƒุชุจ ูƒู„ู…ุฉ expression
440
00:36:49,870 --> 00:36:54,150
expr ู‡ูŠุจู‚ู‰ ุญุงุถุฑ ุงู„ expression ุจุณ ุงุญู†ุง ุชุฌุงูˆุฒุง ุนุดุงู†
441
00:36:54,150 --> 00:36:57,990
ู†ูˆุถุญ ุงู„ููƒุฑุฉ ููƒุฑุฉ ุงู„ top-down parsing ุจุฅู†ู†ุง ู†ุนุชุจุฑ
442
00:36:57,990 --> 00:37:01,990
ุงู†ู‡ุงู„ุฃุญุฑู ู‡ุฐู‡ ูุนู„ุง ู‡ูŠ ุงู„ู„ูŠ ุฏุงุฎู„ุฉ ููŠ ุงู„ input EXPR
443
00:37:01,990 --> 00:37:08,150
EXPR ูˆูƒู„ู…ุฉ other ูˆุฅูŠู‡ ุงู„ู„ูŠ ู„ุงุฒู… ุฃุถุนู‡ุŸ ุฃูŠ ุญุงุฌุฉ ุฒูŠ
444
00:37:08,150 --> 00:37:12,850
ุฐู„ูƒ ู‡ูŠูุดู„ ุนู…ู„ูŠุฉ ุงู„ parsing ู„ุฃู† ุงู„ grammar ู„ู‡ุง ุชุฏุนู…
445
00:37:12,850 --> 00:37:21,310
ุณูˆุงุก ู‡ู„ุฃ ูƒุฏู‡ ุงู„ parser
446
00:37:21,310 --> 00:37:27,470
should be able to build a parse tree parse tree
447
00:37:28,340 --> 00:37:32,660
ุงู„ุชูŠ ุชุชูƒูˆู‘ู† ู…ู† ู†ูˆุช ูˆ ุฃุทูุงู„ ู‡ุฏุงูŠุฉ ู…ู† ุงู„ู€ star
448
00:37:32,660 --> 00:37:39,100
symbol ุงู„ู‰ ุงู„ .. ูุงู„
449
00:37:39,100 --> 00:37:46,120
process ู‡ุฐู‡ ุชุจุนุฏ building ุงู„ tree ุชุจุฏุฃ
450
00:37:46,120 --> 00:37:50,620
ุฃู†ู‡ ุงู„ node in ู†ุนู…ู„
451
00:37:50,620 --> 00:38:01,990
node ู†ุฑู…ุฒ ุนู„ูŠู‡ุง ุจูŠู†ุจู†ุนุทูŠู‡ุง label ุงู„ label ุชุจุนู‡ุง
452
00:38:01,990 --> 00:38:08,050
ุจูŠูƒูˆู† ุงุณู… ุงู„ non terminal ุงู„ู„ูŠ ูˆุงู‚ููŠู† ุนู„ูŠู‡ ูˆุงู‚ููŠู†
453
00:38:08,050 --> 00:38:13,530
ุนู„ูŠู‡ ููŠ ุงู„ input ูˆ ุงู„ู„ูŠ ูˆุงู‚ููŠู† ุนู„ูŠู‡ ููŠ ุงู„ rule ู‡ูˆ
454
00:38:13,530 --> 00:38:17,630
ุงู„ input ู…ุด ู‡ูŠุฌูŠู†ูŠ ุจุฏุงุฎู„ู‡ ุงุณู… ุงู„ non terminal ู…ุด
455
00:38:17,630 --> 00:38:24,400
ู‡ุชูŠุฌูŠ ูƒู„ู…ุฉ statement ูˆู„ุง ูƒุฏู‡ ุฃู†ุง ุนู†ุฏูŠ ุงู„ inputู…ู†
456
00:38:24,400 --> 00:38:28,100
ู†ุงุญูŠุฉ ูˆ ุนู†ุฏ ุงู„ rules ู…ู† ู†ุงุญูŠุฉ ุงูˆู„ ู…ุง ุจุฏุฃ ุจุจุฏุฃ ุจู…ูŠู†
457
00:38:28,100 --> 00:38:34,580
ุจุงู„ start symbol ูุงู†ุง ุงู„ุงู† ุงู„ start symbol ุงู†ุง
458
00:38:34,580 --> 00:38:39,580
ูˆุงู‚ู ุนู„ูŠู‡ ูู‡ูˆ ุงู„ current node ุชุจุนุชูŠ ูู„ุงุฒู… ูŠู†ุนู…ู„ู‡
459
00:38:39,580 --> 00:38:43,840
node ู„ุงุฒู… ูŠู†ุนู…ู„ู‡ ุงู„ statement ู„ุงุฒู… ูŠู†ุนู…ู„ู‡ node ูู‡ูŠ
460
00:38:43,840 --> 00:38:47,600
ุงู†ุนู…ู„ุช node ุงู„
461
00:38:47,600 --> 00:38:52,250
node in labelled with non terminal aู†ู†ุชุฑู†ุงู„ A ุงู„ุงู†
462
00:38:52,250 --> 00:38:56,870
ููŠ ุงู„ุจุฏุงูŠุฉ ู‡ูˆ ุงู„ start symbol STMT ุชู…ุงู… ูŠุนู†ูŠ
463
00:38:56,870 --> 00:39:00,570
select one of the productions ุชุจุนุช ู‡ุฐุง ุงู„ู†ุชุฑู†ุงู„
464
00:39:00,570 --> 00:39:12,970
ุงูŠู‡ ุงู„ production ุงู„ุงู† ู‡ู†ุง ุงุฑุจุนุฉ ู…ุด ุชู„ุงุชุฉ ู‡ู…
465
00:39:12,970 --> 00:39:19,010
ุงุฑุจุน ุตุญ ุณู†ุฉ ุจุชู†ุชู‡ูŠ ุตุญ ุตุญ ู‡ู… ุงุฑุจุน ู‡ูŠ ูˆุงุญุฏ ู‡ูŠ ุชู†ุชูŠู†
466
00:39:19,010 --> 00:39:24,270
ู‡ูŠ ุชู„ุงุชุฉ ู‡ูŠ ุงุฑุจุนOkay Select one ูƒู„ู…ุฉ select one
467
00:39:24,270 --> 00:39:30,790
ู‡ุฐุง ุญูุท ุชุญุชู‡ุง ุนุดุฑูŠู† ุฃู„ู ุฎุท Okay ู„ุฃู†ู‡ุง ู‡ุฐู‡ ู‚ุถูŠุฉ
468
00:39:30,790 --> 00:39:37,070
ู…ุญูˆุฑ ู…ูุฑู‚ูŠุฉ ู„ุฃู†ู‡ ุจุชุฃุซุฑ ุนู„ู‰ ุฃุฏุงุก ุงู„ parser ุฅุฐุง
469
00:39:37,070 --> 00:39:44,430
ุงุฎุชุงุฑ ูˆุงุญุฏุฉ ูˆู…ุดูŠ ููŠ ุงู„ุชุญู„ูŠู„ ูˆุทู„ุนุช ู…ุด ุดูŠุก ุตุญูŠุญุฉ ุจุฏูŠ
470
00:39:44,430 --> 00:39:48,070
ูŠุฑุฏ ูˆูŠุฑุฌุน ูŠุฎุชุงุฑ ุงู„ู„ูŠ ุจุนุฏู‡ุง ุนู…ู„ุช ุงู„ุงุฎุชูŠุงุฑ ู‡ุฐุง ุงู„ุฎุทุฃ
471
00:39:48,070 --> 00:39:53,490
ุฃูˆ ุงู„ุตุญุจุชุงุฎุฏ budget ุงู„ู…ูุฑูˆุถ ูŠูƒูˆู† ููŠู‡ ุดูŠุก ูŠู‚ูˆู„ู‡
472
00:39:53,490 --> 00:39:57,330
ุงุฑูˆุญ ุนู„ู‰ ู‡ุฐุง ุงู„ production ุนู„ู‰ ุทูˆู„ ุจุฏูˆู† ู…ุง ูŠุฌุฑุจูˆุง
473
00:39:57,330 --> 00:40:00,890
ูŠุฎุชุงุฑูˆุง ุงู„ู…ู‡ู… select one of the productions for A
474
00:40:00,890 --> 00:40:06,790
ุงู„ู„ูŠ ู‡ูˆ ุงูŠู‡ ุงู„ู„ูŠ ู‡ูˆ ุงู„ symbol ุงู„ุญุงู„ูŠ and construct
475
00:40:06,790 --> 00:40:11,390
children ุนู†ุฏ ุงู„ node ุงู„ู„ูŠ ุงู†ุช ุนู…ู„ุชู‡ุง ู„ุง ุงู„ node
476
00:40:11,390 --> 00:40:14,870
ุงู„ู„ูŠ ุงู†ุช ุนู…ู„ุชู‡ุง ุฏูŠ construct children for the
477
00:40:14,870 --> 00:40:19,750
symbols ุงู„ู„ูŠ ููŠ ุงู„ production bodyุงุฎุชูู†ุง ู‡ุฐู‡
478
00:40:19,750 --> 00:40:24,670
ุงู„ู‚ูˆูŠุฉ ู…ุนู†ุงู‡ ุฐู„ูƒ ุงูŠุดุŸ ู…ุฏู‰ ุงูŠุด ุงูˆู„ statementุŸ ุงู„ู„ู‰
479
00:40:24,670 --> 00:40:28,310
ู‡ู‰ ุงู„ carrot node ูˆ ุงุนู…ู„ ุงูƒู… node ุงูƒู… childุŸ ุงุชู†ูŠู†
480
00:40:28,310 --> 00:40:32,230
ุงูˆ ุชู„ุงุชุฉุŸ
481
00:40:32,230 --> 00:40:40,630
ุงุชู†ูŠู† ูˆุงุญุฏุฉ ู„ุฃ ู‡ุฐุง ุงู„ symbol ูˆ ู‡ุฐุง ู„ุงูŠูˆุฌุฏ ู‡ู†ุง ุงู„
482
00:40:40,630 --> 00:40:42,750
production ู‡ุฐุง ูƒู… symbol ููŠู‡ุงุŸ ูˆุงุญุฏ ุงุชู†ูŠู† ุชู„ุงุชุฉ
483
00:40:42,750 --> 00:40:48,190
ุงุฑุจุนุฉ ุฎู…ุณุฉ ูˆุงุญุฏ ุงุชู†ูŠู† ุชู„ุงุชุฉ ุงุฑุจุนุฉุฎู…ุณุฉ .. ุณุชุฉ ..
484
00:40:48,190 --> 00:40:51,470
ุณุจุนุฉ .. ุชู…ุงู†ูŠุฉ .. ุชุณุนุฉ .. ุตุญุŸ ู‡ุฏูˆู„ ุงู„ symbols ุจุนุถ
485
00:40:51,470 --> 00:40:55,410
ู…ู†ู‡ู… terminals ูˆ ุจุนุถ ู…ู†ู‡ู… non-terminals ุจุณ ูƒู„ ูˆุงุญุฏ
486
00:40:55,410 --> 00:40:59,170
ู…ู†ู‡ู… ุงู„ symbols ุงู„ู„ูŠ ู‚ู„ู†ุงู‡ ุนู…ุงู„ ูŠุดู‡ุฏ child ุนู…ู„ู†ุง
487
00:40:59,170 --> 00:41:04,250
ุงู„ุขู† ุฎู„ุตู†ุง ุงู„ุงู† find the next node at which a sub
488
00:41:04,250 --> 00:41:08,290
-tree is to be constructed ู…ูŠู† ุงู„ุขู†ุŸ ู‡ูŠ ุนู…ู„ู†ุง sub
489
00:41:08,290 --> 00:41:11,730
-tree .. ุนู…ู„ู†ุง ุงู„ node ู‡ุฐู‡ sub-tree ุงู„ู„ูŠ ู‡ูŠ ุงู„ ..
490
00:41:11,730 --> 00:41:15,800
ุงู„ children ุงู„ุฏูˆู„ ุจูŠุฌูŠ ุนู„ู‰ ู…ูŠู†ุŸ ู†ุจุฏุฃ ู…ู† ุงู„ุดู…ุงู„ู‡ุฐู‡
491
00:41:15,800 --> 00:41:19,840
ุงู„ุงู† ุจุฏู†ุง ู†ุนู…ู„ู‡ุง sub tree ูุจู†ุฑูˆุญ ู‡ุฐุง ุงู„ non
492
00:41:19,840 --> 00:41:25,780
terminal ุฅุฐุง ูˆุงู„ู„ู‡ ูƒุงู† ุฒูŠ ุงู„ F ุฒูŠ ู‡ุฐู‡ ูƒุงู† ุนุจุงุฑุฉ ุนู†
493
00:41:25,780 --> 00:41:29,900
terminal ู…ุงู„ูˆุด sub tree ุจุฑูˆุญ ุนู„ู‰ ุงู„ู„ูŠ ุจุนุฏู‡ ุงู„ุขู†
494
00:41:29,900 --> 00:41:35,660
ุตุญุŸ ูŠุนู†ูŠ ู†ูุชุฑุถ ุฅู† ู‡ุฐู‡ ูƒุงู†ุช F ูˆูƒุงู†ุช ู‡ุฐู‡ course
495
00:41:35,660 --> 00:41:39,860
ูˆูƒุงู†ุช ู‡ุฐู‡ expression ูˆ .. ู„ุฃู† ู‡ุฐุง ุฏู‡ ู‚ุงู„ ุงู„ุฏูˆุฑ ุงู„
496
00:41:39,860 --> 00:41:43,650
Fุจุทู„ุน ู„ู‡ุง sub-treeุŸ ู…ุงุทู„ุนุด ู„ุฃู†ู‡ุง terminal ู„ูŠุด
497
00:41:43,650 --> 00:41:48,170
ุงุณู…ู‡ุง .. ุณู…ู†ู‡ุง terminalุŸ ู„ุฃู†ู‡ ู…ุงููŠ ุจุชูุฑุน ู…ู†ู‡ุง ุฃูŠ
498
00:41:48,170 --> 00:41:53,170
ุดูŠุก ู‡ุฐุง ุงุญู†ุง ุงู„ุฃู† ู…ุงุฎุฏูŠู† ุงู„ู„ูŠ ู‡ูŠ ุงู„ production
499
00:41:53,170 --> 00:41:59,790
ุฃูˆู„ู‰ expression ูˆ ุงู„ุฃู† ุจุฏูŠ ุฃุฌู ู‡ู†ุง ุงู„ end ุชุจุนุชูŠ
500
00:41:59,790 --> 00:42:03,930
ุงู„ุฃู† ุจูŠุตูŠุฑ ู‡ุฐูŠ ู‡ูŠ ุงู„ pointer ุงุณู…ู‡ M ุจูŠุตูŠุฑ ุฃุดุฑุงู‡
501
00:42:03,930 --> 00:42:07,780
ู‡ุฐูŠ ู‡ุฐุง ุงู„ุฃู† ุจุฏูŠ ุฃุนู…ู„ู‡ุง sub-treeุจุงู„ุฏุฑุฌุฉ ุจู†ูุณ
502
00:42:07,780 --> 00:42:11,280
ุงู„ู‚ู„ูŠู„ ุงุดูˆู ุงูŠุด ุงู„ production ุชุจุนุชู‡ุง ุฏุง non
503
00:42:11,280 --> 00:42:17,660
terminal ูˆ ุงุฎุชุงุฑ ูˆุงุญุฏุฉ ู…ู†ู‡ู… ูˆ ุงุนู…ู„ nodes children
504
00:42:17,660 --> 00:42:23,320
ุจุนู†ุฏู…ูŠู† ู…ู‚ุงุจู„ ุงู„ symbols ุชุจุนุชู‡ุง ุงู„ production ุงูŠ
505
00:42:23,320 --> 00:42:28,340
expression ูˆุงู† expression ูุดูŠ ุตุญ ู„ูˆ ููŠู‡ ุจูŠุจู‚ูˆุง
506
00:42:28,340 --> 00:42:35,420
ุนุงู…ู„ูˆุง ู†ูุณ ุงู„ุดูŠุก ุงู„ุงู† ุงุญู†ุง ู‡ู†ูŠุฌูŠ ู†ุนู…ู„ build ุงู„ุงู†
507
00:42:35,420 --> 00:42:36,000
ุงุฐุง ูƒุงู†
508
00:42:39,490 --> 00:42:43,150
find the next which subtree is to be constructed
509
00:42:43,150 --> 00:42:47,630
typically the leftmost unexplained none terminal
510
00:42:47,630 --> 00:42:50,450
of the tree ู‡ุฐุง ุงู„ูƒู„ุงู… ุงู„ุญูƒูŠู…ูŠ ุงู„ู„ูŠ ู‡ูˆ ุงู†ู‡ ู†ุงุฎุฏ
511
00:42:50,450 --> 00:42:56,610
ุงู„ุดู…ุงู„ ุงู„ุงู† ู‡ุฐุง ุงู„ูƒู„ุงู… expression ู„ูˆ ููŠู‡ ุจู† ุงูŠุดุŸ
512
00:42:56,610 --> 00:43:01,530
ุจู† ู…ุตุฏุฑ ุงู„ุงู† ุงู†ุง ู„ุงุฒู… ุงุฌู ุงู†ุช ุจุนุฏูŠู† ุงุฌูŠ ุงู„ุงู‚ูŠ
513
00:43:01,530 --> 00:43:07,210
terminal Fุฅุฐุง ุฃู†ุง ุฌูŠุช ููŠ Terminal F ูˆ ู„ุง 4 ูˆ ู„ุง
514
00:43:07,210 --> 00:43:11,430
ูƒุฐุง ุจุฏูŠ ุฃุดูˆู ู‡ู„ ุงู„ Terminal ู‡ูŠ ุฏู‡ ูŠุทุงุจู‚ ุงู„
515
00:43:11,430 --> 00:43:16,250
Terminal ุงู„ู„ูŠ ุฃู†ุง ุนุงุฑู ุนู„ูŠู‡ ุญุงู„ูŠุง ููŠ ุงู„ input ุฅุฐุง
516
00:43:16,250 --> 00:43:20,190
ููŠู‡ ู…ุทุงุจู‚ุฉ ูŠุนู†ูŠ ุฃู†ุง ู„ุบุงูŠุฉ ู…ุงููŠุด ู…ุฌุงู„ ู„ุฃูƒู…ู„ ูู„ุฃ
517
00:43:20,190 --> 00:43:23,950
ุณุงู„ุจ ูŠู‚ูˆู„ dead end ุฅุฐุง ู‡ุฐุง ุงู„ dead end ุฃูˆ leaf
518
00:43:23,950 --> 00:43:26,670
note ุฅุฐุง ู‡ุฐุง ุงู„ leaf note ูŠุทุงุจู‚ ุงู„ input ุงู„ู„ูŠ
519
00:43:26,670 --> 00:43:30,950
ู…ุนุงูŠุง ูŠู…ูƒู† ุฃู† ุฃู‚ุฏู… ุฎุทูˆุฉ ุฃุฎุฑู‰ ููŠ ุนู…ู„ูŠุฉ ุงู„ matching
520
00:43:30,950 --> 00:43:36,720
Matching ุตุญุŸ ูˆุฅู„ุงู…ุนู†ุงุชู‡ ุงู†ุง ูˆุตู„ุช ุงู„ู‰ error error
521
00:43:36,720 --> 00:43:41,000
ุงู‡ error ู…ุนู†ุงู‡ ุฏู‡ ุงู„ู„ูŠ ุฌูŠุด ุจุฏูŠ ุงุนู…ู„ backtracking ูˆ
522
00:43:41,000 --> 00:43:47,020
ุงุชุฑุงุฌุน ุจุฏูŠ ุงุจุฏู„ ุงู„ production ุฃุฎุฑู‰ ู…ุด ุจุงู„ุถุฑูˆุฑุฉ
523
00:43:47,020 --> 00:43:51,320
ู…ุถุฑุจูˆู‡ ู…ู…ูƒู† ู…ู† ู‡ู†ุง ุงู„ู…ุดูƒู„ุฉ ูƒุงู†ุช ูŠุนู†ูŠ ู‡ุฐุง ุงู„
524
00:43:51,320 --> 00:43:54,840
expression ุงู„ู…ู‡ู… ุงู†ุง ุงุฎุชุฑุช ุงู„ production ุงู„ุจุฏุงูŠุฉ
525
00:43:54,840 --> 00:43:58,540
ุชุจุนุชู‡ ู„ุงุช ู…ุทุงุจู‚ ูู…ุฏูŠ ุงุฌูŠุจ ุงู„ production ุฃุฎุฑู‰ ูˆ
526
00:43:58,540 --> 00:44:04,130
ุงุฌุฑุจ ู„ูˆ ุงุฌูŠุช ูƒู„ ุงู„ production ุณุจุนุช ู‡ุฐุง ูุงุดู„ุชุฅุฐุง ู‡ูˆ
527
00:44:04,130 --> 00:44:08,770
ูุงุดู„ ุฅุฐุง ุงู„ production ุงู„ู„ูŠ ู‡ูˆ ุฃุฌุง ู…ู†ู‡ุง ุจุฏูŠ ุฃุจุฏู„ู‡ุง
528
00:44:08,770 --> 00:44:13,950
ูˆ ุฃุฌูŠุจ production ุฃุฎุฑู‰ ูููŠ ุงู„ู†ู‡ุงูŠุฉ ุญุตู„ ุฅู„ู‰ ุจุนุถูƒ ุฅู†
529
00:44:13,950 --> 00:44:20,590
ูˆุงู„ู„ู‡ statement ู‡ุฐู‡ ุจุนุฏ
530
00:44:20,590 --> 00:44:24,790
ู…ุง ุญุงูˆู„ุช ู‡ุฐู‡ ูˆ ูุดู„ุช ูˆ ุญุงูˆู„ุช ู‡ุฐู‡ ูˆ ูุดู„ุช ู‡ู‚ุนุฏุด ุนู„ู‰
531
00:44:24,790 --> 00:44:29,030
ู‡ุฐู‡ ู‡ูŠู‚ูˆู„ ู„ูŠ ุฃู† ู‡ูŠ top ู…ู…ูƒู† ุฃุฑุณู…ู‡ุง ู…ู† ุฌุฏูŠุฏ ู‡ูŠ four
532
00:44:29,030 --> 00:44:36,220
ูˆ ุจุต ูˆ expression ูˆ ู‡ุฐุง ุฐู„ูƒู…ุทุงุจู‚ุฉ if that I can
533
00:44:36,220 --> 00:44:42,560
move ููŠ ุงู„ matching ูˆ ู‡ุฐู‡ ู…ุทุงุจู‚ุฉ ูŠุง ุญู„ูˆ ุทูŠุจ ู‡ุฐู‡ ุงู„
534
00:44:42,560 --> 00:44:49,260
semi colon ุงู†ุง ุดุงูŠู ู‡ู†ุง ุงู„ semi colon ุตุญูŠุญ ู„ูƒู†
535
00:44:49,260 --> 00:44:52,360
ุนู†ุฏูŠ ููŠ ุงู„ parsing ู„ุณู‡ ู…ุด ุดุงูŠู ุงู„ semi colon ุงู†ุง
536
00:44:52,360 --> 00:45:01,160
ุดุงูŠู ู‡ุฐุง ู‡ู„ ู‡ุฐุง .. ู‡ู„ ู‡ุฐุง ูŠุทุงุจู‚ ุงู„ .. ุงู„ .. ูŠุนู†ูŠ
537
00:45:01,160 --> 00:45:07,410
ู…ู…ูƒู† ุงุชุฌุงูˆุฒู‡ุฅุฐุง ู‡ุฐุง ูƒู†ุงู† ุชุฑู†ุงู„ุฏ ุฅู„ู‡ production
538
00:45:07,410 --> 00:45:12,930
ุฅู…ุชูŠ ู…ุนู†ุงู‡ ุฏู‡ ุฃู†ุง ู…ู‚ุฏุฑ ุฃุชุฌุงูˆุฒู‡ ูˆู‡ูˆ ูุนู„ุง ุฅู„ู‡ ุฅู…ุชูŠ
539
00:45:12,930 --> 00:45:17,430
ูŠุนู†ูŠ ุฃู†ุง ู‡ู†ุง ูŠุง ุฅู…ุง ุจู‚ุงุจู‚ ู‡ุฐุง ู…ุน ุงู„ู„ูŠ ุฃู†ุง ู…ุงุนุฑู
540
00:45:17,430 --> 00:45:22,250
ุนู„ูŠู‡ ูŠุง ุฅู…ุง ุจู„ุงู‚ูŠ ุฅู„ู‡ ุฅู…ุชูŠ ุจู…ุนู†ุงู‡ ุฅู†ู‡ ุฃุชุฌุงูˆุฒู‡ ูˆู‡ูˆ
541
00:45:22,250 --> 00:45:25,450
ูุนู„ุง ุฅู„ู‡ ุงู„ epsilon production ูู‡ูˆ ูุนู„ุง ุฃุชุฌุงูˆุฒู‡
542
00:45:25,450 --> 00:45:28,590
ุจุตูŠุฑ ุฃู†ุง ูˆุงู‚ู ู‡ู†ุง ุนู„ู‰ ุงู„ุณูŠู… ูƒูˆุฑู† ุงู„ุณูŠู… ูƒูˆุฑู† ุนู„ู‰
543
00:45:28,590 --> 00:45:31,290
ุงู„ุณูŠู… ูƒูˆุฑู† ูŠุจู‚ู‰ ุจุฌุฏู‘ู… ูˆุงุญุธ ุฅุฐุง ู…ุงููŠู‡ matching ุฅูŠุด
544
00:45:31,290 --> 00:45:36,390
ุจุณูˆูŠ ุจุฌุฏู‘ู…ููŠ ุงู„ .. ููŠ ุงู„ two tracks ููŠ ุงู„ู…ุณุงุฑูŠู†
545
00:45:36,390 --> 00:45:45,070
ุจุงุฌุฏู‘ู… ุตุญุŸ ุงุฌุฏู‘ู…ุชุŒ ุงู„ุขู† ุฃู†ุง ุตุฑุช ู‡ู†ุง ูˆุตุฑุช ู‡ู†ุง ู„ุฃู†
546
00:45:45,070 --> 00:45:48,950
ู‡ุฐู‡ optional expression ูˆู‡ู†ุง ุนู†ุฏูŠ terminal
547
00:45:48,950 --> 00:45:54,590
expression ู‡ู„ ููŠ ู„ู„ optional expression ุดูƒู„ ุงูˆ ..
548
00:45:54,590 --> 00:45:56,770
ุงูˆ production ูŠุนู†ูŠุŒ ุงูŠุด production ุณุจุจุŸ ููŠ ุงู„
549
00:45:56,770 --> 00:46:01,970
epsilon ูˆููŠ ุงู„ expression ุงู„ epsilon ู„ุฃ ุงู„
550
00:46:01,970 --> 00:46:08,220
expression ุงู‡ูุทุงุจู‚ ู‡ุฐุง ู…ุน ู‡ุฐุง ุงู„ุขู† ุจุนุฏู‰ ุนู† ู‡ุฐุง ูˆ
551
00:46:08,220 --> 00:46:12,360
ุจุนุฏู‰ ุนู† ู‡ุฐุง ุตุญ ู‡ู†ุง ุจู†ุชู‚ู„ ู‡ู†ุง ุทูŠุจ ู‡ุฐุง ู„ู…ุง ุฃุณูŠุจู‡ ูˆ
552
00:46:12,360 --> 00:46:17,920
ุงู†ุง ุฃุฑูˆุญ ู…ุงููŠุด sibling ุจุฑุฌุน ู„ู„ parent ูˆ ุจูƒู…ู„ ุงู„
553
00:46:17,920 --> 00:46:23,000
sibling ุชุจุน ุงู„ parent ุตุญุŸ ุจู„ุงู‚ูŠ ููŠู‡ match ุจูƒู…ู„ ู†ูุณ
554
00:46:23,000 --> 00:46:27,940
ุงู„ุนู…ู„ูŠุฉ era and era ู‡ู†ุง ุตุงุฑ .. ุชูƒูˆู† ุชู…ุช ุนู…ู„ูŠุฉ ุงู„
555
00:46:27,940 --> 00:46:33,630
parsing ูˆ ุจุดูƒู„ top-down ู…ู† ููˆู‚ ุฅู„ู‰ู…ู† ุฃุนู„ู‰ ุฅู„ู‰ ุฃุณูู„
556
00:46:33,630 --> 00:46:37,290
ูŠุนู†ูŠ ุฅุญู†ุง ุจู†ู…ุดูŠ ู…ู† ู‡ู†ุงูƒ ูˆ ุจู†ุฏุฎู„ ุนู„ู‰ ุงู„ children ูˆ
557
00:46:37,290 --> 00:46:39,870
ุงู„ children ุชุจุนุฏ ุงู„ children ุฅู„ู‰ ุฃู† ู†ุตู„ ู„ leaf
558
00:46:39,870 --> 00:46:47,390
node ูˆ ู†ุนู…ู„ matching ู‡ุฐู‡ ู‡ูŠ ุงุณุชุฑุงุชูŠุฌูŠุฉ ุงู„ top-down
559
00:46:47,390 --> 00:46:54,470
parsing ุนู…ู„ูŠุง ูˆ ู‡ุฐู‡ ุงู„ุชูˆุถูŠุญ ุฎุทูˆุฉ ู„ุฎุทูˆุฉ ูŠุนู†ูŠ ู†ูุณ
560
00:46:54,470 --> 00:46:58,570
ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ู‚ู„ุชู‡ ุฃู†ุง ุดุฑุญุชู‡ message ู‡ูˆ ุงุนู…ู„ูƒูŠ ุฎุทูˆุฉ
561
00:46:58,570 --> 00:47:02,540
ู„ุฎุทูˆุฉ ุงูˆู„ ุดูŠุก ุงูˆู„ ุดูŠุก ุนู…ู„ node ูˆุงุญุฏุฉู„ู„ statement
562
00:47:02,540 --> 00:47:06,500
non terminal ูˆ ุงู„ pointer ุนู„ูŠู‡ุง ูˆ ููŠ ุงู„ input ุงู„
563
00:47:06,500 --> 00:47:10,020
pointer ุนู„ูŠ ุงู„ non terminal ุชุจุน ุงู„ four ุตุญุŸ ููŠ
564
00:47:10,020 --> 00:47:14,060
ุงู„ุฎุทูˆุฉ ุงู„ุชุงู†ูŠุฉ ุทุจุนุง ู‡ูˆ ุจุนุฏ ู…ุง ุฌุฑู‘ุฑ ุฎู„ูŠู†ุง ู†ู‚ูˆู„ ุฃูˆ
565
00:47:14,060 --> 00:47:17,360
ู†ุตุฑู‡ ุงู† ู‡ูˆ ุนู…ู„ selection ู„ู‡ุง ู…ู† ุงู„ุจุฏุงูŠุฉ ุฏูˆู† ..
566
00:47:17,360 --> 00:47:24,520
ุงู„ุขู† four ู…ุน ุตุงุฑ ุงู„ pointer ู…ุชุฌุฑ ู…ู† ู‡ู†ุง ุฅู„ู‰ ุงู„
567
00:47:24,520 --> 00:47:28,560
four ุชุจุน ุงู„ three ูˆ ุนู„ู‰ ุงู„ input ุนู„ู‰ ุงู„ four ู‡ูˆ
568
00:47:28,560 --> 00:47:33,860
ู‡ุงูŠ ุงู„ input ุตุญุŸูŠุนู†ูŠ ู‡ุฐู‡ ู…ุฑุญู„ุฉ ูˆู‡ุฐู‡ ู…ุฑุญู„ุฉ ูˆู‡ุฐู‡
569
00:47:33,860 --> 00:47:37,500
ู…ุฑุญู„ุฉ ูˆ ู‡ุฐุง ุฒูŠ ู…ุง ุงู†ุง ุญูƒูŠุชู‡ ุทุจุนุง ูŠุนู†ูŠ ู…ุงููŠุด ุฏุงุนูŠ
570
00:47:37,500 --> 00:47:41,860
ู†ููŠุฏู‡ ู…ู†ูŠ ุงู„ุงู† ุงู„ุงู…ุฑ
571
00:47:41,860 --> 00:47:48,960
ู‡ุฐุง ุจูŠุทุจู‚ ุนู…ู„ูŠุง ู…ู† ุฎู„ุงู„ ู…ู† ุฎู„ุงู„ ุฅูŠุด ุงู„ู„ูŠ ู‡ูˆ ุงู„
572
00:47:48,960 --> 00:47:52,440
recursive descent parsing ุงู„ recursive descent
573
00:47:52,440 --> 00:47:57,460
parsing ุฅุฐุง top down ุฎู„ูŠ ุงู„ predictive parsing
574
00:47:57,460 --> 00:48:02,660
ุจุญูƒูŠ ุฅูŠุดูŠุนู†ูŠ ู„ูŠุด ุงู„ recursive descent ู‚ุงุณูŠ ู…ู†
575
00:48:02,660 --> 00:48:06,920
ุฃู†ูˆุงุน ู…ู† ุฃู†ูˆุงุน ุงู„ predictive ุจุณ recursive descent
576
00:48:06,920 --> 00:48:10,540
ุฅูŠุด ุนู† ุงู„ descent ูŠุนู†ูŠ ู‡ุจูˆุช ู‚ู†ุฒูˆู„ ูˆ recursive ูŠุนู†ูŠ
577
00:48:10,540 --> 00:48:13,780
ุจุงุณุชุฎุฏุงู… ู‚ู„ูŠุฉ ุงู„ recursion ู‚ู„ูŠุฉ ุงู„ recursion ู‡ูŠ
578
00:48:13,780 --> 00:48:17,140
ุงุณุชุฏุนุงุก ุฐุงุชูŠ ูŠุนู†ูŠ ุนู„ู‰ ุทูˆู„ ุจุญุท ููŠ ุฏู…ุงุบูŠ ุฃู†ู‡ ููŠ
579
00:48:17,140 --> 00:48:22,060
function ุจุฏุฃ ุชู‚ูˆู… ุจุงู„ุดุบู„ ูˆ ุจุฏุฃ ุชู‚ูˆู… ููŠ ู‡ุฐุง ุงู„ุดุบู„
580
00:48:22,060 --> 00:48:26,300
ู…ู† ุฎู„ุงู„ ุงุณุชุฏุนุงุก ุฐุงุชูŠ ู„ู†ูุณู‡ุง ูˆ descent ุจู…ุนู†ู‰ ุฅู†ู‡ ู…
581
00:48:26,300 --> 00:48:31,130
top-downdescent ูŠุนู†ูŠ ู‡ุจูˆุท and top-down ู‡ูŠ is a top
582
00:48:31,130 --> 00:48:35,010
-down method of syntax analysis in which ู„ุณู‡
583
00:48:35,010 --> 00:48:37,970
analysis ู…ุงููŠุด translation ุนุงู…ุฉ a set of recursive
584
00:48:37,970 --> 00:48:41,890
procedures ู…ุฎุชู„ูุฉ
585
00:48:41,890 --> 00:48:46,690
ูƒู„ ูˆุงุญุฏ ู„ุฏูŠู‡ุง ุฏูˆุฑู‡ุง ูˆุญุชู‰ ู„ูˆ ุจุฏุฃุช ู†ูุณ ุฏูˆุฑู‡ุง ู…ู…ูƒู†
586
00:48:46,690 --> 00:48:51,810
ุชุณุชุฏุนูŠ ู†ูุณู‡ุง ุฃูƒุชุฑ ู…ู† ู…ุฑุฉ is used to process the
587
00:48:51,810 --> 00:48:57,940
input one procedureis associated with each non
588
00:48:57,940 --> 00:49:00,560
-terminal ูŠุนู†ูŠ ูƒู„ non-terminal ููŠ ุงู„grammar
589
00:49:00,560 --> 00:49:04,420
ุจู†ุจู†ุงู„ู‡ procedure ุฅุฐุง ุนู†ุฏูŠ non-terminal ูŠุณู…ู‡
590
00:49:04,420 --> 00:49:08,580
expression ุญูŠูƒูˆู† ุนู†ุฏูŠ procedure ุฃูˆ function ุงุณู…ู‡ุง
591
00:49:08,580 --> 00:49:13,400
expression ู‡ุฐุง
592
00:49:13,400 --> 00:49:19,280
non-terminal ููŠ ู‡ุฐู‡ method ุฃูˆ procedure ู‡ุฐุง
593
00:49:19,280 --> 00:49:25,720
statement non-terminal ููŠ ุชู…ุงู…ุŸ
594
00:49:26,430 --> 00:49:29,710
one procedure is associated with each non-terminal
595
00:49:29,710 --> 00:49:35,210
of a grammar ู‡ุงูŠ statement a procedure to mean a
596
00:49:35,210 --> 00:49:43,410
statement non-terminal ุฅูŠุด ุจูŠุณุชูˆูŠ ุงู„ุงู†
597
00:49:43,410 --> 00:49:53,870
ู‡ุฏูˆู„ ุงู„ cases ุนู†ุฏูƒ ููƒุฑุฉ ุฅูŠุด ู‡ู…ุŸ ู‡ุฏูˆู„
598
00:49:53,870 --> 00:49:57,390
ู‡ู… children of one statementู‡ุฐู‡ ุงู„ gossip ุงู„ุฃูˆู„
599
00:49:57,390 --> 00:50:00,510
ู‡ุฏูˆู„
600
00:50:00,510 --> 00:50:06,090
ุงู„ู‚ูŠู…
601
00:50:06,090 --> 00:50:10,450
ุฃุณู ู‡ุฏูˆู„ ุนุจุงุฑุฉ ุนู† ุงู„ .. ุงู„ .. ุงู„ .. ุงู„ .. ุงู„
602
00:50:10,450 --> 00:50:14,470
symbols ุงู„ู„ูŠ ุจูŠุฌูˆุง ููŠ ุจุฏุงูŠุฉ ุงู„ productions ุชุจุน ุงู„
603
00:50:14,470 --> 00:50:19,090
statement ุงู„ุญูŠู† ุตุนุจ ุฃู† ู†ุทู„ุน ูˆ ู†ู†ุฒู„ ุจุณ ุฅุฐุง ุจุชุฐูƒุฑูˆุง
604
00:50:19,090 --> 00:50:20,590
ุงู„ statement ูƒุงู† ู„ุฏูŠ ุนุฏุฉ productions
605
00:50:25,650 --> 00:50:31,270
ูˆ ูˆุงุญุฏุฉ ู…ู†ู‡ู… F ูˆ ุจุนุฏูŠู† ูƒุฏู‡ ูƒุฏู‡ ูˆ ุจุนุฏ ุชุงู†ูŠ four ูˆ
606
00:50:31,270 --> 00:50:36,430
ูƒุฏู‡ ูƒุฏู‡ ูˆ ุจุนุฏ ุชุงู†ูŠ other ุตุญ ู‡ุฏูˆู„ุฉ other ูˆ four ูˆ F
607
00:50:36,430 --> 00:50:41,350
ูˆ expression ู‡ู… ุจุฏุงูŠุงุช ุงู„ bodies ุชุจุนุช ุงู„
608
00:50:41,350 --> 00:50:45,930
productions ุชุจุนุช ุงู„ statement ููƒุฃู†ู‡ ุจูŠู‚ูˆู„ ู„ูŠ ุฅู†ู‡
609
00:50:45,930 --> 00:50:50,210
ุฅุฐุง ุฃู†ุง .. ุฅุฐุง ุฃู†ุช ุงู„ุขู† ูˆุงู‚ู ุนู„ู‰ ุงู„ statement ูุงู„
610
00:50:50,210 --> 00:50:55,050
children ุชุจุนูˆู†ู‡ุงุงุญุชู…ุงู„ ูŠูƒูˆู† ุงูˆู„ ูˆุงุญุฏ ููŠู‡ู… ุงู…ุง
611
00:50:55,050 --> 00:50:59,430
expression ุงูˆ ุงูˆู„ ูˆุงุญุฏ ู…ู†ู‡ู… if ุงูˆ other ุงูˆ for ุงูˆ
612
00:50:59,430 --> 00:51:07,750
other ูุงุฐุง ูƒุงู† if ู…ุนู†ุงู‡ ุฐู„ูƒ ุณูˆูŠ ูƒุฏู‡ ูƒุฏู‡ ุงุฐุง ูƒุงู†
613
00:51:07,750 --> 00:51:12,130
expression ู…ุนู†ุงู‡ ุฐู„ูƒ ุจุฏูƒ ุชุณุชุฏุนูŠ ุงู„ expression
614
00:51:12,130 --> 00:51:18,590
recursive procedure ุนุดุงู† ุชุดูˆู ุงู„ subtree ุชุจุน ุงู„
615
00:51:18,590 --> 00:51:21,090
expression ุงุฐุง
616
00:51:22,380 --> 00:51:26,500
ุงู„ู€ Lookahead ู‡ูˆ ุนุจุงุฑุฉ ุนู† ุงู„ู€ pointer ุชุจุน ุงู„ node
617
00:51:26,500 --> 00:51:33,020
.. ุขุณู ู…ุด ุชุจุน ุงู„ node .. ุชุจุน ุงู„ input ุงู„ pointer
618
00:51:33,020 --> 00:51:36,940
ุชุจุน ุงู„ input ุงุณู… ุงู„ lookahead ู‡ุฐุง ุจูŠุดูŠุฑ ุฅู„ู‰ ุงู„
619
00:51:36,940 --> 00:51:39,220
token ุงู„ู„ูŠ ูˆุงู‚ููŠู† ุนู„ูŠู‡ ููŠ ุงู„ input ู…ุง ุงุญู†ุง ุงู„
620
00:51:39,220 --> 00:51:44,160
input ุชุจุนู†ุง tokens ู…ุด characters ุงุญู†ุง ู…ุงุฎุฏูŠู† a
621
00:51:44,160 --> 00:51:47,520
sequence of tokens ู…ู† ู…ูŠู†ุŸู…ู† ุงู„ู€ Lexical Analyzer
622
00:51:47,520 --> 00:51:50,220
Lexical Analyzer ุจุดูˆู characters ูˆ ุจุณู„ู…ู†ุง ู…ูŠู†
623
00:51:50,220 --> 00:51:54,360
ุจุณู„ู…ู†ุง ู…ูŠู† ุงู„ tokens ูุงู†ุง ูˆุงู‚ู ุนู„ู‰ .. ุงู…ุงู…ูŠ ููŠ
624
00:51:54,360 --> 00:52:00,340
sequence of tokens ูˆ ุงู„ pointer ุงุณู…ู‡ ุงู„ lookahead
625
00:52:00,340 --> 00:52:05,320
ุจุดุงูˆุฑ ูˆุงุญุฏ ูˆุฑุง ุงู„ุชุงู†ูŠ ุทุจุนุง ูุฅุฐุง ุงู„ู„ูŠ ุฃู…ุงู…ูŠ ุงู„ู„ูŠ
626
00:52:05,320 --> 00:52:07,420
ุฏุงุฎู„ .. ุงู„ู„ูŠ ุฃู†ุง ูˆุงู‚ู ุนู„ูŠู‡ ููŠ ุงู„ input ู‡ูˆ
627
00:52:07,420 --> 00:52:11,660
expression ู‡ุฐู‡ expression ู…ู‡ู… ุชุฑู…ู†ุง ูุจุฏุฃ ุฃุณุชุฏุนูŠ
628
00:52:11,660 --> 00:52:16,610
ุทุจุนุง ุฃุณุชุฏุนูŠู‡ุฐุง expression ุจู†ุงุก ุนู„ู‰ ุงู„ grammar
629
00:52:16,610 --> 00:52:22,850
keyword ู„ุฃู† ุงู„ุฐุงูƒุชูŠู† ุงุญู†ุง ู…ุงู„ูˆุด productions ูˆู…ุนู†ุงู‡
630
00:52:22,850 --> 00:52:26,590
ุงู„ู…ูƒุชูˆุจ ุงุตู„ุง ูƒุงู† ุจุงู„ bold ู…ุด Italic ู expression
631
00:52:26,590 --> 00:52:30,430
ุจู†ุงุก ุนู„ู‰ ุงู„ grammar ู‡ูˆ terminal ูterminal ู…ุนู†ุงุชู‡
632
00:52:30,430 --> 00:52:33,470
match expression ุงูŠุด ูŠุนู†ูŠ match expression ุนุดุงู†
633
00:52:33,470 --> 00:52:42,810
ุชุดูˆู ู‡ู„ ุงู„ look a hit ู‡ู„ ุงู„ look
634
00:52:42,810 --> 00:52:51,300
a hitูŠุทุงุจู‚ ุงู„ current node ููŠ ุงู„ tree ุฅุฐุง ุงู„
635
00:52:51,300 --> 00:52:55,420
lookahead ูŠุทุงุจู‚ ุงู„ current node ู…ุนู†ุงุชู‡ ุงู†ุชู‚ู„ ูˆุนู…ู„
636
00:52:55,420 --> 00:53:00,880
match ู„ู„ semicolon ู‡ู„ ุงู„ next token ููŠ ุงู„ input
637
00:53:00,880 --> 00:53:07,080
ูŠุทุงุจู‚ ุงู„ next child ููŠ ุงู„ tree ูุงู„ู…atch ู‡ุฐู‡
638
00:53:07,080 --> 00:53:10,900
ูˆุธูŠูุชู‡ุง ุฃู†ู‡ุง ุชุดูˆู ุฅุฐุง ููŠ ู…ุทุงุจู‚ ูˆู„ุง ู„ุง ุฅุฐุง ููŠ
639
00:53:10,900 --> 00:53:17,090
ู…ุทุงุจู‚ุฉ ุจุชู‚ุฏู…ุฅุฐุง ู…ุงููŠุด ู…ุทุงุจู‚ุฉ ุจุชุนุทูŠู„ูŠ error error
640
00:53:17,090 --> 00:53:20,410
ู…ุนู†ุงู‡ ุฐู„ูƒ ุงู„ case ุงู„ู„ูŠ ูุดู„ุช ู…ุนู†ุงู‡ ุฐู„ูƒ ุจุชุชุญูˆู„ ุนู„ู‰
641
00:53:20,410 --> 00:53:26,950
.. ุนู„ู‰ ุญุงุฌุฉ ุชุงู†ูŠุฉ okay ูุงู„ุงู† ู‡ู†ุง ู‡ุชู„ุงู‚ูŠ ุงู†ู‡ ููŠ
642
00:53:26,950 --> 00:53:32,910
ุญุงู„ุงุช ู‡ุงูŠ ุฒูŠ ู…ุซู„ุง ูˆูŠู† ู‡ู†ุง
643
00:53:32,910 --> 00:53:36,470
ู‡ุชู„ุงู‚ูŠ ุงู†ู‡ ุฒูŠ ููŠ ุงู„ four ู„ุฅู† ุงู„ four ููŠ ุนู†ุฏูŠ ุงู†ุง
644
00:53:36,470 --> 00:53:39,870
four ูƒุฐุง four or ูƒุฐุง option ูˆ ุจุนุฏูŠู† ู‡ู†ุง ููŠ
645
00:53:39,870 --> 00:53:45,470
statement ุตุญ ุงู„ู„ูŠ ุจุชุชู†ูุณ ุจูƒู„ู‡ูุจูŠุฌูŠ ุงู†ู‡ ุงู„ input
646
00:53:45,470 --> 00:53:50,870
ุงู„ู„ูŠ ุฏุงุฎู„ ุจุนุฏ ุงู„ ghost ุจู†ุนุงู„ุฌู‡ ุจุงุณุชุฎุฏุงู… ุงุณุชุฏุนุงุก
647
00:53:50,870 --> 00:53:55,470
ุฐุงุชูŠ ุขุฎุฑ ู„ุงุณุชุฎุฏุงู… ู†ูุณู‡ุง ุนุดุงู† ู†ุดูˆู ุงูŠุด ุงู„ statement
648
00:53:55,470 --> 00:53:58,790
ุงู„ู„ูŠ ุจุนุฏ ุงู„ ghost ูƒูŠู ู…ู…ูƒู† ุชุชุนุงู…ู„ ู…ุนุงู‡ ูู‡ุฐุง
649
00:53:58,790 --> 00:54:03,630
recursive ูˆ descent ูˆููƒุฑุชู‡ ุงู†ู‡ ู„ูƒู„ ูˆุงุญุฏุฉ ู…ู† ุงู„ non
650
00:54:03,630 --> 00:54:09,970
-terminants ููŠ procedure ูˆ ุงู„ procedure ู‡ุฐู‡ ุจุชุดุชู…ู„
651
00:54:09,970 --> 00:54:14,220
ุนู„ู‰ code ุงู„ code ู‡ุฐุง ู‡ูˆ ุชุฑุฌู…ุฉู„ุฃูŠุด ู„ู„ productions
652
00:54:14,220 --> 00:54:20,000
ุชุจุนุช ุงู„ non terminal ุฏู‡ ุจู…ุนู†ู‰ ู…ุญุฏุฏ ูˆ ู‡ูˆ ุงู†ู‡ ูƒู„
653
00:54:20,000 --> 00:54:23,780
production ุชุจุนุช ู„ู‡ุฐุง ุงู„ non terminal ุจู†ุดูˆู ุฑุงุณู‡ุง
654
00:54:23,780 --> 00:54:30,080
ุงูˆ ุงู„ first element ุชุจุนู‡ุง ูˆ ู†ุนู…ู„ check ู„ู‡ ูˆ ู„ูƒู„ ู…ุง
655
00:54:30,080 --> 00:54:34,660
ูŠุชุจุนู‡ ุจุนุฏ ู‡ูŠูƒ ุงุฐุง ู†ุฌุญ ุงุฐุง ู‡ูˆ ุงู„ู„ูŠ ูุนู„ุง ู…ูˆุฌูˆุฏ ููŠ ุงู„
656
00:54:34,660 --> 00:54:42,670
input ูุจุฏู†ุง ู†ุนู…ู„ matching ู„ู„ input ุนู„ู‰ ุงุณุงุณุงู„ rule
657
00:54:42,670 --> 00:54:48,150
ุชุจู‚ู‰ ูˆู‡ุฐุง ุฑุงุณ ู„ role ุงูˆ ู„ body ูุฅุฐุง ุตุงุฑ ููŠ
658
00:54:48,150 --> 00:54:51,830
matching ุจูŠู†ู‡ ูˆ ุจูŠู† ุงู„ input ูŠุจู‚ู‰ ู„ุงุฒู… ุงู„ู„ูŠ ูŠุชุจุนู‡
659
00:54:51,830 --> 00:54:56,870
ููŠ ุงู„ input ูŠูƒูˆู† ุฒูŠ ู‡ูŠูƒ ูƒู„ู‡ ู‡ุฏุง ูŠุนุทูŠู‡ true true
660
00:54:56,870 --> 00:55:01,910
true true ุจุชูƒูˆู† ุงูƒุชู…ู„ ุงู„ task ูˆุงุญุฏุฉ ู…ู†ู‡ู… ุชุนุทูŠู†ูŠ
661
00:55:01,910 --> 00:55:06,990
false ูˆ ุจุทู„ุน ูˆ ุจุฌุฑุจ ูˆุงุญุฏุฉ ุชุงู†ูŠุฉ ู„ุฃู† ูƒู„ ูˆุงุญุฏุฉ ู…ู†
662
00:55:06,990 --> 00:55:12,220
ู‡ุฏูˆู„ุฉ ู…ู…ูƒู† ุชุดุชู…ู„ ุนู„ู‰ ุงุณุชุฏุนุงุก ุฐุงุชูŠ ู„ู†ูุณู‡ุงุฃูˆ ุฃูŠุถุง ู„
663
00:55:12,220 --> 00:55:17,600
.. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„
664
00:55:17,600 --> 00:55:17,620
.. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„
665
00:55:17,620 --> 00:55:17,620
.. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„
666
00:55:17,620 --> 00:55:17,880
.. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„
667
00:55:17,880 --> 00:55:18,040
.. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„
668
00:55:18,040 --> 00:55:22,900
.. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ ..
669
00:55:22,900 --> 00:55:25,000
ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ ..
670
00:55:25,000 --> 00:55:27,760
ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ ..
671
00:55:27,760 --> 00:55:27,760
ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ ..
672
00:55:27,760 --> 00:55:27,760
ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ ..
673
00:55:27,760 --> 00:55:32,240
ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ .. ู„ ..
674
00:55:32,240 --> 00:55:35,540
ู„ .. ู„
675
00:55:39,600 --> 00:55:44,520
ุงู„ุงู† ุงู†ุง ุจู†ูƒู…ู„ ู…ู† ุงู†ุฏูŠุงู† ู„ุงู† ู‡ุฐู‡ ู‚ุถูŠุฉ ู…ู‡ู…ุฉ ุฌุฏุง ุงู†
676
00:55:44,520 --> 00:55:51,040
ุงู†ุง ูŠูƒูˆู† ููŠ ู‡ู†ุฏูŠ ู‚ุงู„ูŠุฉ ู„ุชุญุฏูŠุฏ ู…ู†ู‡ู… ุงู„ firsts ุชู…ู‡ุงุช
677
00:55:51,040 --> 00:55:54,140
ุงู„ productions ุชู…ู‡ุงุช ูƒู„ ูˆุงุญุฏ ู…ู† ุงู„ non-terminal
678
00:55:54,140 --> 00:55:58,360
ูŠุนู†ูŠ ุนู„ู‰ ุงุณุงุณ ู‡ุฐุง ุงู„ first ุงู†ุง ุจู‚ุฏุฑ ุงุจู†ูŠ ุงู„
679
00:55:58,360 --> 00:55:59,660
recursive function