abdullah's picture
Add files using upload-large-folder tool
a6daeb8 verified
raw
history blame
64 kB
1
00:00:21,410 --> 00:00:24,030
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ุงู„ุณู„ุงู… ุนู„ูŠูƒู… ูˆุฑุญู…ุฉ ุงู„ู„ู‡
2
00:00:24,030 --> 00:00:27,550
ูˆุจุฑูƒุงุชู‡ ุงู„ูŠูˆู… ุงู† ุดุงุก ุงู„ู„ู‡ ุงุญู†ุง ุจู†ุจุฏุฃ ููŠ ุงู„ chapter
3
00:00:27,550 --> 00:00:30,990
ุฑู‚ู… ุฃุฑุจุนุฉ ุงู„ู„ูŠ ู‡ูˆ syntax analysis ููŠ ุงู„ syntax
4
00:00:30,990 --> 00:00:35,070
analysis ุชุฑูƒูŠุฒู†ุง ู‡ูŠูƒูˆู† ุนู„ู‰ ุงู„ู…ู‡ุงู… ุงู„ู„ูŠ ุจูŠุณูˆูŠู‡ุง ู„ูƒู…
5
00:00:35,070 --> 00:00:40,330
ุงู„ parser ุงู„ู„ูŠ ู‡ูˆ ุงู„ syntax analyzer ููŠ ุงู„ุจุฏุงูŠุฉ
6
00:00:40,330 --> 00:00:44,110
ู‡ูŠูƒูˆู† ููŠู‡ุง ู„ู†ุง ุฎู„ูŠู†ุง ู†ุทู„ุน ุนู„ู‰ ุงู„ table of contents
7
00:00:44,110 --> 00:00:47,530
ููŠู‡ุง ู„ู†ุง discussion ูƒุชูŠุฑุฉ ููŠ ุงู„ chapter ู‡ู†ุง ููŠ
8
00:00:47,530 --> 00:00:50,750
ุฃุฑุจุน ูˆุงุญุฏ introductionุฃุฑุจุนุฉ ุงุชู†ูŠู† context free
9
00:00:50,750 --> 00:00:53,830
grammars ูˆุจุชุนุฑู ุนู„ู‰ ุงู„ grammar ูˆุจุนุฏ ุฐู„ูƒ ุฃุฑุจุนุฉ
10
00:00:53,830 --> 00:00:57,310
ุชู„ุงุชุฉ writing a grammar ู†ุดูˆู ุนู…ู„ูŠุฉ ูƒุชุงุจุฉ ุงู„
11
00:00:57,310 --> 00:01:02,470
grammar ู„ุฃูŠ ู„ุบุฉ ุงุญู†ุง ุจุฏู†ุง ุฅูŠุงู‡ุง ุฅูŠุด ู…ู…ูƒู† ุฃู…ูˆุฑ
12
00:01:02,470 --> 00:01:08,020
ุชูˆุฌู‡ู†ุง ู…ุดุงูƒู„ ู†ุชุนุงู…ู„ ู…ุนุงู‡ุงุจุนุฏ ุฐู„ูƒ ู†ุดูˆู ุนู…ู„ูŠุฉ ุงู„
13
00:01:08,020 --> 00:01:13,680
parsing ูŠุนู†ูŠ ุงู„ parser ุฅูŠุด ุจูŠุณูˆูŠ ููŠ ุดุบู„ู‡ ูƒ
14
00:01:13,680 --> 00:01:18,360
analyzer ูŠุญู„ู„ ู„ู…ุง ุจูŠุฌูŠ ูŠุญู„ู„ ุงู„ input ุจู†ุงุก ุนู„ู‰ ุงู„
15
00:01:18,360 --> 00:01:23,280
grammar ุงู„ู„ูŠ ุงุญู†ุง ูƒุชุจู†ุงู‡ุง ู…ู…ูƒู† ูŠุนู…ู„ ุงู„ูƒู„ุงู… ู‡ุฐุง top
16
00:01:23,280 --> 00:01:26,680
-down ุฃูˆ bottom-up ูˆ ู†ุดูˆู ุฅูŠุด ุงู„ูุฑู‚ ู…ุง ุจูŠู† ุงู„ุฅุชู†ูŠู†
17
00:01:26,680 --> 00:01:32,720
ุจุนุฏ ุฐู„ูƒ introduction to LR parsing simple LR ูˆู‡ุฐุง
18
00:01:32,720 --> 00:01:36,810
ู…ุชู‚ุงู„ ุนู„ูŠู‡ู„ูƒู† ู…ู† ุจุนุฏ ู‡ูŠูƒ ุงู„ more powerful ุงู„ are
19
00:01:36,810 --> 00:01:41,490
parts ุฑุณู…ูŠ ู…ุด ู‡ูŠุถู„ ู…ุนุงู†ุง ูˆุฌุฏ ุงู† ู†ูƒู…ู„ ููŠู‡ุง ู .. ูˆ
20
00:01:41,490 --> 00:01:45,510
ูƒุฏู‡ ูƒุงู„ุญุงู„ ุงู„ .. ุงู„ succession ุงู„ู„ูŠ ุจุนุฏ ู„ุฅู†ู‡ ุจุฏู†ุง
21
00:01:45,510 --> 00:01:51,050
ุงู„ู„ูŠ ู‡ูˆ ู†ุฏุฎู„ ุนู„ู‰ ุงู„ generation ุงู„ code generation
22
00:01:51,050 --> 00:01:55,890
ูุงุญู†ุง ุนู…ู„ูŠุง ุฃุตุจุญ ุจุฏู†ุง .. ุจุฏู†ุง ุงู„ introduction ุจุฏู†ุง
23
00:01:55,890 --> 00:01:59,270
ุงู„ุฃุฑุจุนุฉ ุงุชู†ูŠู† context free grammars ูˆ ุจุฏู†ุง writing
24
00:01:59,270 --> 00:02:01,510
grammars ูˆ ุจุนุฏูŠู† ุงู„ top down parsing ูˆ ุงู„ bottom
25
00:02:01,510 --> 00:02:06,820
up ูˆ ุงู„ are parsingุงู„ูŠูˆู… ุงู† ุดุงุก ุงู„ู„ู‡ ุฑุจู…ุง ู†ู‚ุฏุฑ
26
00:02:06,820 --> 00:02:12,540
ู†ุถุทุฑูŠ one ูˆ two ูˆ ุงุชู†ูŠู† ูˆ ู†ุจุฏุฃ ููŠ ุงุฑุจุนุฉ ุชู„ุงุชุฉ ุงูŠุถุง
27
00:02:12,540 --> 00:02:20,500
ุทูŠุจ ุงุฑุจุนุฉ ูˆุงุญุฏ ู‡ูˆ ุงู„ introduction ููŠ
28
00:02:20,500 --> 00:02:25,500
ุงู„ slide ู‡ุฐู‡ ู…ุด ุญุงุฌุฉ ููŠ ุนู†ุฏู‡ุง ูƒุชูŠุฑ ุจุณ ู†ู‚ุงุท ุงู„ู„ูŠ
29
00:02:25,500 --> 00:02:30,460
ุจุชุฏู„ู„ ุนู„ู‰ ุงูˆ ุจุชุฑูƒุฒ ุนู„ู‰ ุงู‡ู…ูŠุฉ ูˆุฌูˆุฏ ุงู„ grammarุทุจุนุง
30
00:02:30,460 --> 00:02:34,380
ุงู„ grammar ู…ุด ู…ู†ู‡ ุงูŠุด ุงู‡ู…ูŠุชู‡ุง ูˆู…ุด ุงู‡ู…ูŠุชู‡ุง ุงู„
31
00:02:34,380 --> 00:02:39,940
grammar ู‡ูŠ ูˆุณูŠู„ุชู†ุง ุงู„ูˆุญูŠุฏุฉ ู„ุฅู†ู‡ ูŠูƒูˆู† ููŠ ุนู†ุฏู†ุง
32
00:02:39,940 --> 00:02:46,440
parser parser ุจุฏูˆู† grammar ุจูŠุตูŠุฑ ุงู„ุญูƒุงูŠุฉ ุจูŠุจู†ูŠ ุงู„
33
00:02:46,440 --> 00:02:50,520
compiler ุจูŠุตูŠุฑ ูŠุจู†ูŠ ุนู„ู‰ ูƒูŠูู‡ ุงู†ู…ุง ู„ู…ุง ูŠูƒูˆู† ููŠ
34
00:02:50,520 --> 00:02:54,340
grammar ุงู„ grammar ุจูŠุตูŠุฑ ุงู„ุขู† ู‡ูŠ ุงู„ู„ูŠ ุจุชุญูƒู… ุนู…ู„ูŠุฉ
35
00:02:54,340 --> 00:02:58,500
ุจู†ุงุก ุงู„ parser ูˆุงุญู†ุง ุฒูŠ ู…ุง ุดูˆูู†ุง ููŠ ุงู„ lexical
36
00:02:58,500 --> 00:03:04,130
analysisุงู„ regular expressions ู‡ูŠ ุงู„ุฃุณุงุณ ู„ุจู†ุงุก
37
00:03:04,130 --> 00:03:08,330
ุงู„ู„ูŠ ู‡ูˆ ุงู„ finite automata ูˆุจุนุฏ ุฐู„ูƒ ุงู„ finite
38
00:03:08,330 --> 00:03:12,030
automata ู‡ูŠ ุฃุณุงุณ ุงู„ุจู†ุงุก ู„ู„ lexical analyzer ู†ูุณู‡
39
00:03:12,030 --> 00:03:17,490
ูˆู‡ู†ุง ู†ูุณ ุงู„ุดูŠุก ุงู„ grammar ู‡ูŠ ุฃุณุงุณ ู„ุจู†ุงุก ุงู„ parser
40
00:03:23,560 --> 00:03:27,560
ุงู„ุฏูˆุฑ ุงู„ role of the parser ูˆุงุถุญ ุงู† ู‡ูˆ ุจูŠุณุชู„ู… ุงู„
41
00:03:27,560 --> 00:03:31,920
tokens ู…ู† ุงู„ lexical analyzer ุงู„ู„ูŠ ุจูŠุงุฎุฏ ุงู„ source
42
00:03:31,920 --> 00:03:37,420
program ูˆ ุจูŠุณู„ู… tokens ู„ู„ parser ุงู„ parser ุจูŠุดุชุบู„
43
00:03:37,420 --> 00:03:43,860
ูˆ ุจูŠุจู†ูŠ parse tree ุงู„ู„ูŠ ุจุชุฑูˆุญ ุจุนุฏ ู‡ูŠูƒ ุงู„ next ุฃูˆ
44
00:03:43,860 --> 00:03:48,260
ุชู…ุงู… ุงู„ role of the parser ุงู† ู‡ูˆ ุจูŠุงุฎุฏ ู…ู† ุงู„
45
00:03:48,260 --> 00:03:52,720
lexical analyzer ู„ูˆูƒ ุงู„ tokensูˆ ุจูŠุณู„ู… part3
46
00:03:52,720 --> 00:03:57,160
ู„ู„ู…ุฑุงุญู„ ุงู„ู„ุงุญู‚ุฉ ุงู„ู„ูŠ ู‡ูŠ ุจุงู„ุฃุณุงุณ ููŠ ุนู†ุฏูƒ ุงู„
47
00:03:57,160 --> 00:04:01,840
semantic analysis ูˆ ุซู… ู„ุงุญู‚ุง ุงู„ code generation ูˆ
48
00:04:01,840 --> 00:04:08,300
ู‡ุฐุง ุฏูˆุฑู‡ ุจูŠู‚ูˆู… ุจุงู„ุชุฒุงูˆุฌ ู…ุน ุงู„ lexical analyzer ู„ุฃู†
49
00:04:08,300 --> 00:04:14,260
ู‡ูˆ ุจูŠุงุฎุฏ ูƒู„ token ุจูŠุญุชุงุฌู‡ ูˆ ุจูŠุทู„ุจ ู…ุทุงู„ุจ ู…ู† ุงู„
50
00:04:14,260 --> 00:04:18,080
lexical analyzer ุจูŠุฑูˆุญ ูŠุฌูŠุจ ูˆ ูŠุนุทูŠู‡ูƒุฐู„ูƒ ุงู„ุญุงู„ุฉ
51
00:04:18,080 --> 00:04:21,340
ุงู„ู„ูŠ ุจุญุชุงุฌ Attributes Attributes ุนู† ู‡ุฐุง ุงู„ู€ token
52
00:04:21,340 --> 00:04:27,280
ุจูŠุฑูˆุญ ูˆ ุจุฌูŠุจู‡ุง ู…ู† ุงู„ู€ symbol table ูู‡ูˆ ุจูŠุงุฎุฏ ู…ู†ู‡ ูˆ
53
00:04:27,280 --> 00:04:31,520
ุจูŠุนุทูŠ ู„ู‡ ุฃูŠุถุง ุงู„ symbol table ูุงู„ุฏูˆุฑ ุงู„ุฃุณุงุณูŠ ุงู„
54
00:04:31,520 --> 00:04:36,180
role of the parser ุงู† ู‡ูˆ ูŠุชุญู‚ู‚ ู…ู† ุงูŠุด ู‡ุฐู‡ ุงู„
55
00:04:36,180 --> 00:04:39,860
tokens ุงู„ string of tokens ุงู„ู„ูŠ ุจูŠุฌูŠู„ู‡ ู…ู† ุงู„
56
00:04:39,860 --> 00:04:45,800
lexical analyzer ูˆ ูŠุชุฃูƒุฏ ุงู† ู‡ุฐุง ุงู„ุชุณู„ุณู„ ูุนู„ุง ูŠุดูƒู„
57
00:04:45,800 --> 00:04:51,000
ุฌู…ู„ุฉู…ู† ุฌู…ู„ ุงู„ู„ูŠ ู‡ูˆ ุงู„ grammar ุจู…ุนู†ู‰ ุงู†ู‡ ู‡ุฐูŠ
58
00:04:51,000 --> 00:04:57,940
syntactically ุณู„ูŠู…ุง ูู‡ูˆ verifies that the string
59
00:04:57,940 --> 00:05:03,380
of tokens ุฃูˆ token names can be generated by the
60
00:05:03,380 --> 00:05:06,540
grammar can be generated by the grammar ูู†ู‚ูˆู„ can
61
00:05:06,540 --> 00:05:08,760
be generated by the grammar ู‡ูˆ ุฃุตู„ุง string of
62
00:05:08,760 --> 00:05:12,760
tokens ุฃุฌุง ู…ู† ุงู„ programmer ุจุณ ุงุญู†ุง ุจู†ู‚ูˆู„ can be
63
00:05:12,760 --> 00:05:15,900
generated by the grammar ู„ุฃู† ุนู…ู„ูŠุฉ ุงู„ verification
64
00:05:16,730 --> 00:05:21,250
ุชู†ุทูˆูŠ ุนู„ู‰ ุฃู† ุฅุฐุง ูƒุงู†ุช ุงู„ grammar ุชูˆู„ุฏ ู†ูุณ ุงู„
65
00:05:21,250 --> 00:05:24,890
string ู‡ุฐุง ูŠุจู‚ู‰ ุงู„ string ู‡ุฐุง ุณู„ูŠู… ุฃุณู„ูˆุจู†ุง ููŠ
66
00:05:24,890 --> 00:05:29,430
ุงู„ุชุญู‚ู‚ ู…ู† ุณู„ุงู…ุฉ ุงู„ string of tokens ู‡ูˆ ุฃู† ู†ุดูˆู ู‡ู„
67
00:05:29,430 --> 00:05:33,190
ู„ูˆ ุงุญู†ุง ุจุฏุฃู†ุง ู…ู† ุงู„ start symbol ููŠ derivation
68
00:05:33,190 --> 00:05:38,380
ุชูˆุตู„ู†ุง ุฅู„ู‰ู†ูุณ ุงู„ู€ sequence of tokens ุฅุฐุง ูƒุงู† ู‡ู†ุงูƒ
69
00:05:38,380 --> 00:05:41,240
ู…ุนู„ูˆู…ุงุช ุนู† ุงู„ู€ sequence of tokens ู‡ุฐู‡ ุงู„ุชูŠ ุฃุชูŠุช ู…ู†
70
00:05:41,240 --> 00:05:46,040
ุงู„ู€ source ู‡ูŠ ุตุญูŠุญุฉ ู‡ุฐุง ุงู„ุฃุณุงุณ ุชุจู‚ู‰ to verify ุงู„ู€
71
00:05:46,040 --> 00:05:53,620
syntax ู‡ุฐุง ุฏูˆุฑ ุงู„ุฃุณุงุณูŠ ุงู„ุฏูˆุฑ ุงู„ุซุงู†ูˆูŠ ุงู„ู„ูŠ ู‡ูˆ ุฅู†ู‡
72
00:05:53,620 --> 00:05:57,960
ู„ูˆ ููŠ ู…ุดูƒู„ุฉ ู„ูˆ ุงู„ verification ู‡ุฐู‡ ู„ู… ุชุชูˆุงุญู‚ู‚ ูŠุจู‚ู‰
73
00:05:57,960 --> 00:06:03,900
ููŠ error ูุฏูˆุฑู‡ ุงู„ุชุงุจุน ุฅุฐุง ุฐู„ูƒ ูƒุงู† ุงู„ุฏูˆุฑ ุงู„ุฃุณุงุณูŠ
74
00:06:04,180 --> 00:06:08,580
ุงู„ุฏูˆุฑ ุงู„ุซุงู†ูŠ ู‡ูˆ to report ุงู„ errors ูŠุจู„ุบ ุนู† ุงู„
75
00:06:08,580 --> 00:06:13,240
errors any syntax errors ุตุญุŸ ู…ุงู„ูˆุด ุนู„ุงู‚ุฉ ุจุงู„
76
00:06:13,240 --> 00:06:18,220
lexical errors ุงูˆ ุงู„ semantic errors report any
77
00:06:18,220 --> 00:06:22,100
syntax errors ููŠ ู‡ุฐู‡ ุงู„ูˆุธูŠูุฉ ุฑู‚ู… ูˆุงุญุฏ ูˆ ู‡ุฐู‡
78
00:06:22,100 --> 00:06:26,220
ุงู„ูˆุธูŠูุฉ ุฑู‚ู… ุงุชู†ูŠู† to report ูˆุงู„ู„ู‡ ุงู† ูŠุจู„ุบ ุนู† error
79
00:06:26,220 --> 00:06:31,480
ุดูŠุก ูƒูˆูŠุณ ุงู„ุง ุงุญุณู† ู…ู† ุฐู„ูƒ ุงู†ู‡ ูŠุญุงูˆู„ to recover ุงู†ู‡
80
00:06:31,480 --> 00:06:35,940
ูŠุนุงู„ุฌ ู‡ุฐุง ุงู„ errorู‚ุฏุฑ ุงู„ู…ุตุทู„ุญ ุงู…ุง completely ุงูˆ
81
00:06:35,940 --> 00:06:40,160
partially ุตุญ ุงู„ู‰ ุงู„ุงู† ูˆู‡ุฐุง ุงู„ู†ู‚ุทุฉ ุฑู‚ู… 3 to recover
82
00:06:40,160 --> 00:06:43,280
ูˆุงุถุญ
83
00:06:43,280 --> 00:06:46,640
ุฏูˆุฑ ุงู„ parser ุงู„ parser ุงู„ู„ูŠ ู‡ูˆ ุงู„ lexical ุงู„
84
00:06:46,640 --> 00:06:52,960
syntax analyzer ุฏูˆุฑ ุงู„ุฃุณุงุณูŠ to verify ุงู† ุงู„ tokens
85
00:06:52,960 --> 00:06:58,720
ู‡ุฏูˆู„ุฉ ุจู†ูŠุชู‡ู… ุณู„ูŠู…ุฉ ุงู„ syntax ุชุจุนู‡ู… ุณู„ูŠู… ุงุฐุง ููŠ
86
00:06:58,720 --> 00:07:02,120
error ุจูŠุนู…ู„ report ุงูˆ ุงุฐุง ุงูƒุชุฑ ู…ู† ุฐู„ูƒ ุจูŠุนู…ู„
87
00:07:02,120 --> 00:07:08,770
recoverูƒู„ู…ุฉ parser ูŠุนู†ูŠ ูƒู„ู…ุฉ ู…ุฎุชู„ูุฉ ุฃูˆ ู…ุฎุชู„ูุฉ ุงู„
88
00:07:08,770 --> 00:07:15,390
parsers ูŠุนู…ู„ูˆุง ุดุบู„ู‡ู… ุงูˆ ูŠุชุตู„ููˆุง ุงู…ุง ุงู„ู‰ top-down
89
00:07:15,390 --> 00:07:18,610
ุงูˆ bottom-up ุงูˆ ุงู„ universal ุงู„ุงุฎุชุตุงุฑุงุช ุงู„ู…ุณุชุฎุฏู…ุฉ
90
00:07:18,610 --> 00:07:22,890
ููŠ ุงู„ูƒู…ุจูŠูˆู‡ุงุช ูŠู…ูƒู† ุงู† ุชูƒูˆู† ุงูŠุถุง top-down ุงูˆ bottom
91
00:07:22,890 --> 00:07:26,970
-up top-down ุฒูŠ ู…ุง ุงุญู†ุง ุดูู†ุงู‡ ู‚ุจู„ ู‡ูŠูƒุฉ ุงู„ู„ูŠ ู‡ูˆ
92
00:07:26,970 --> 00:07:31,110
ุจูŠุญุงูˆู„ ูŠุจู†ูŠ ุงู„ tree ู…ู† ุงู„ root ุงู„ root ุงู„ู„ูŠ ู‡ูˆ
93
00:07:31,110 --> 00:07:36,790
ุงูŠุดุŸstart symbol ุตุญ ู…ุด ุฌุฑุงู…ุฉ ููŠู‡ุง start symbol
94
00:07:36,790 --> 00:07:41,150
start symbol ู‡ูŠ ุฏู‡ ู‡ูˆ ุงู„ route ุงุฐุง ุฌุฏุฑ ูŠุจู†ูŠ tree
95
00:07:41,150 --> 00:07:46,610
ูŠุชุฑูŠู‡ุง ุงู„ leaves ุงุชุจุงุนูˆู†ู‡ุง ู…ุทุงุจู‚ูŠู† ู„ู„ tokens ุงู„ู„ูŠ
96
00:07:46,610 --> 00:07:51,270
ุฏุฎู„ูˆุง ูŠุจุฏุฃ ุงู„ tokens ุงู„ู„ูŠ ุฏุฎู„ูˆุง syntactically
97
00:07:51,270 --> 00:07:56,690
correct ู‡ุฐุง bottom up bottom ุฏู‡ ุงู„ุงุณูุฉ top down ุงู„
98
00:07:56,690 --> 00:07:59,650
bottom up ุงู„ู„ูŠ ู‡ูˆ ุจูŠุจุฏุฃ ู…ู† ุงู„ leaves ุจูŠุจู†ูŠ leave
99
00:07:59,650 --> 00:08:04,060
notes leave notesู‡ุฐู‡ ุงู„ tokens ุงู„ู„ูŠ ูˆุตู„ุชู‡ ุงู„ู„ูŠ
100
00:08:04,060 --> 00:08:09,920
ุฃุฎุฏุชู‡ ู„ู‡ ู‡ุฐุง ุงู„ token ูˆ ู‡ุฐุง ุงู„ token ุฑุจู…ุง ููŠ ููŠ ุงู„
101
00:08:09,920 --> 00:08:16,780
grammar ู…ุง ูŠุฏุนู… ุฃู†ู‡ ุฌูŠุชู‡ู… ูˆุฑุง ุจุนุถ ุซู… ุจุนุฏ ูƒู„ู…ุฉ ู‡ุฐุง
102
00:08:16,780 --> 00:08:21,500
ูˆุตูˆู„ุง ุฅู„ู‰ ู…ูŠู† ุฅู„ู‰ ุงู„ route ุงู„ู„ูŠ ู‡ูˆ ุงู„ start symbol
103
00:08:21,500 --> 00:08:26,530
ู‡ุฐุง bottom up ุงุณู…ู‡ ุงู„ุนูƒุณ ู…ู†ู‡ ุงู„ู„ูŠ ู‡ูˆ top downุดูˆูู†ุง
104
00:08:26,530 --> 00:08:30,990
ุงุญู†ุง top-down ู„ู…ุง ูƒู†ุง ุจู†ู‚ูˆู„ recursive descent ุงู„
105
00:08:30,990 --> 00:08:35,770
descent ู„ุญุงู„ู‡ุง ุจุชู‚ูˆู„ ุงู†ู‡ ู†ุฒูˆู„ ูŠุนู†ูŠ top-down ุตุญุŸ ุงู„
106
00:08:35,770 --> 00:08:39,630
universal ุงู„ู„ูŠ ู‡ูˆ ุงู„ parcel ุงู„ู„ูŠ ุจูŠุดุชุบู„ ุนู„ู‰
107
00:08:39,630 --> 00:08:42,950
ุงู„ูˆุฌู‡ูŠู† ูŠุนู†ูŠ ู…ู…ูƒู† ูŠุนู…ู„ bottom-up ูˆูŠู…ูƒู† ูŠุนู…ู„ top
108
00:08:42,950 --> 00:08:49,330
-down okayุŸ ุงู„ุงู† ู„ู…ุง ุงุญู†ุง ุจู†ุชุญูƒ ุนู† grammars ู‡ุงูŠ
109
00:08:49,330 --> 00:08:51,970
ุฃู…ุซู„ุฉ ู„ grammars ุดูˆูู†ุง ุงุญู†ุง ุฌุงู…ู„ู‡ ูƒุฃู…ุซู„ุฉ ู„
110
00:08:51,970 --> 00:08:57,390
grammarsูˆู‡ุฐุง ู…ุด ู…ุฎุชู„ู ุนู†ู‡ ุงู„ู„ู‡ู… ุฅูŠู‡ ู„ุฅู† ู‡ูˆ ุจูŠุณุชุฎุฏู…
111
00:08:57,390 --> 00:09:01,310
ุฃุญุฑู ุจุฏู„ ูŠุนู†ูŠ ู„ู„ non-terminals ูƒู†ุง ุฃุญู†ุง ุจู†ุดูˆู
112
00:09:01,310 --> 00:09:05,910
expression, term, factor ู…ุด ุนุงุฑู ุฅูŠุด ู‡ู†ุง ุฅูŠุด ุฃุญุฑู
113
00:09:05,910 --> 00:09:09,090
ูˆุญุชู‰ ุงู„ุฃู‚ุงุฑู ู„ุฅูŠู‡ ุงุฎุชุตุงุฑ ุงู„ expression ูˆ ุงู„ T ู„
114
00:09:09,090 --> 00:09:11,990
term ูˆ ุงู„ F ู„ factor ูˆ ุฃุจู‚ู‰ ุจูŠุญุตู„ ุงู„ุดุงู…ู„ ูุฅุญู†ุง
115
00:09:11,990 --> 00:09:17,210
ู‡ู†ุนุชุงุฏ ู…ู† ุงู„ุขู† ุจุตุงุนุฏู†ุง ุนู„ู‰ ุงุณุชุฎุฏุงู… letter names ู„ู„
116
00:09:17,210 --> 00:09:21,690
non-terminals okay
117
00:09:30,490 --> 00:09:35,190
ุงู„ุงู† ู…ุณุฃู„ุฉ ุงู„ error handling ุงุญู†ุง ุจู†ุนุฑู ุงู† ููŠ
118
00:09:35,190 --> 00:09:38,330
ู…ุณุชูˆุงุช ุงูˆ ุชุตู†ูŠูุงุช ู…ู† ุงู„ errors ููŠู‡ lexical errors
119
00:09:38,330 --> 00:09:42,830
ููŠู‡ syntax errors ููŠู‡ semantic errors ุงู„ lexical
120
00:09:42,830 --> 00:09:46,830
errors ุฒูŠ ุงูŠุดุŸ ูŠุนู†ูŠ ุงูŠุด ุงู„ุญุงุฌุงุช ุงู„ู„ูŠ ู…ู…ูƒู† ูŠุฌุฏู‡ุง ุงู„
121
00:09:46,830 --> 00:09:50,520
lexical analyzerุŸ ู‡ูŠ ููŠ ุงู„ keywordsููŠ ุงู„ keywords
122
00:09:50,520 --> 00:09:53,840
ููŠ ุงู„ variable names ู„ุงุฌูŠ ุจ variable ุชู…ุงู… ุงู„
123
00:09:53,840 --> 00:09:57,080
semantic errors ุงู„ู„ูŠ ู‡ูŠ errors ุงู„ู„ูŠ ู‡ูŠ ุนู„ุงู‚ุฉ ุจุงู„
124
00:09:57,080 --> 00:10:01,320
type checking ู…ุซู„ุง ู„ู…ุง ูŠูƒูˆู† ููŠ ุนู†ุฏูƒ operator ุงูˆ
125
00:10:01,320 --> 00:10:06,540
function ูˆ ุงู„ function ู‡ุฐู‡ ู…ุนุฑูุฉ ุงู†ู‡ุง ุชุงุฎุฏ two
126
00:10:06,540 --> 00:10:09,860
variables ูˆ ุงู„ variables ู‡ุฏูˆู„ุฉ ูˆุงุญุฏ integer ูˆุงุญุฏ
127
00:10:09,860 --> 00:10:14,540
real ุชุนุทูŠู‡ุง ุงู„ุงุชู†ูŠู† real ู‡ุฐุง error ุตุญ ู„ุง ู‡ูˆ
128
00:10:14,540 --> 00:10:18,720
lexical ูˆู„ุง ู‡ูˆ syntax ู‡ุฐุง semantic ุชู…ุงู…ุบุงู„ุจุง ุจุญุงุฌุฉ
129
00:10:18,720 --> 00:10:23,560
ู†ู‚ูˆู„ semantic errors ุจู†ู‚ุต ุฑุฏ ุญุงุฌุงุชู‡ุง ุนู„ุงู‚ุฉ ุจุงู„type
130
00:10:23,560 --> 00:10:29,600
type mismatch ุนุฏู… ุชุทุงุจู‚ ุงู„ type ุงู„ู„ูŠ ุงู†ุง ุงุชุจุน ุงู„
131
00:10:29,600 --> 00:10:33,300
variables ุงู„ู„ูŠ ุงู†ุง ู…ุงุชูŠู‡ู… ู„ ุงู„ variables ุงู„ู…ุชูˆู‚ุนุฉ
132
00:10:33,300 --> 00:10:38,840
ุงู„ logical errors ุนุงุฏุฉ ุฏูŠ ุนุงุฏุฉ ู…ุด ุงู†ุทู‚ ุตุฑุงุญูŠุฉ ุงู„
133
00:10:38,840 --> 00:10:43,650
compilerlogical issue ุนู„ุงู‚ุฉ ุจุงู„ุฎุงุฑุฒ ู…ูŠู† ู†ูุณู‡ ุงู„ู„ูŠ
134
00:10:43,650 --> 00:10:48,430
ูƒุชุจู‡ ุงู„ programmer ู…ุงุจุชุญุณุจุด ุตุญ ู…ุงุจุชุญุณุจุด ุตุญ ูˆู‡ุฐู‡ ุงู„
135
00:10:48,430 --> 00:10:55,490
compiler ู…ุงู„ูˆุด ููŠู‡ุง ุตุญุŸ ุงูˆูƒูŠ ุงู„ุงู† ุงู„ error
136
00:10:55,490 --> 00:11:00,250
handling ุงู„ error handling ูŠุฌุจ ุงู†ู‡ ุงุญู†ุง ุจุฏู†ุง ุงู„
137
00:11:00,250 --> 00:11:04,010
compiler ูŠู‚ูˆู… ุจูŠ .. ุงูˆ ุงู„ parser ูŠู‚ูˆู… ุจูˆุธูŠูุชู‡
138
00:11:04,010 --> 00:11:07,450
ุงู„ุฃุณุงุณูŠุฉ ุงูˆ ุงู„ compiler ุจุงู„ุตูุญุฉ ุงู„ุนุงู…ุฉ ูŠู‚ูˆู…
139
00:11:07,450 --> 00:11:11,060
ุจูˆุธูŠูุชู‡ ุงู„ุฃุณุงุณูŠุฉ ู„ูŠู‡ to compileูˆู‡ุฐุง ู…ุนู†ุงุชู‡ ุฃู†ู‡
140
00:11:11,060 --> 00:11:15,320
ูŠุญุตู„ ููŠู‡ Lexical ูˆSyntax Analysis ูˆุจุฏู†ุง ูƒู…ุงู† Error
141
00:11:15,320 --> 00:11:18,880
Handling ูŠุนู†ูŠ ุจุฏู†ุง ุงู„ compiler ูŠู‚ูˆู… ุจุนู…ู„ Error
142
00:11:18,880 --> 00:11:28,820
Handling ุจุณ ุจุฏู†ุง ุนู…ู„ูŠุฉ Error Handling ุชุถูŠู
143
00:11:30,410 --> 00:11:33,930
overhead ูƒุจูŠุฑ ุนู„ู‰ ุดุบู„ ุงู„ compiler ูŠุนู†ูŠ ู…ุด ุนุดุงู† ุงู†ุง
144
00:11:33,930 --> 00:11:38,110
ุงุนุทูŠู„ู‡ ูŠุนู…ู„ ุงู„ compilation ุงูˆ ุนุดุงู† ูŠูƒุชุดู ู„ูŠ ุงู„
145
00:11:38,110 --> 00:11:42,330
errors ูŠุฑูˆุญ ูŠุงุฎุฏ ุถุนู ุงู„ูˆู‚ุช ุงู„ู„ูŠ ุจูŠุงุฎุฏู‡ ููŠ ุงู„
146
00:11:42,330 --> 00:11:45,850
compilation ุจุฏูˆู† errors ุตุญ ุงู† ุงู„ error handling
147
00:11:45,850 --> 00:11:54,170
ูŠุชู… ุจุดูƒู„ without overhead ุนู„ู‰ ุงู„ program ุจู†ูŠ to
148
00:11:54,170 --> 00:11:59,660
reportูˆ ุจู†ูŠู‡ุง to recover ุจู†ูŠู‡ุง record clearly ูˆ
149
00:11:59,660 --> 00:12:03,100
accurately ูŠุนู†ูŠ ู…ุด ูŠู‚ูˆู„ูŠ ููŠ error ููŠ ุณุทุฑ ุฑู‚ู… ูˆุงุญุฏ
150
00:12:03,100 --> 00:12:06,360
ุชู„ุงุชูŠู† ูˆ ู‡ูˆ ุงู„ error ุญู‚ูŠู‚ุฉ ููŠ ุชู„ุงุชูŠู† ุงูˆ ููŠ ุงุชู†ูŠู† ูˆ
151
00:12:06,360 --> 00:12:13,260
ุชู„ุงุชูŠู† ุจู†ูŠู‡ุง ุจู†ูŠู‡ุง ุฏู‚ูŠู‚ุฉ ูˆ ุจู†ูŠู‡ุง ุฏู‚ูŠู‚ ูˆ ุจู†ูŠู‡ุง
152
00:12:13,260 --> 00:12:17,200
clear ูŠู‚ูˆู„ูŠ ุงู„ error ูˆุงุถุญ ุงู† ู‡ูˆ ูƒุงุด ุจุงู„ุธุจุท ุงู„
153
00:12:17,200 --> 00:12:22,820
errorุจู†ุนู…ู„ recovery ุจุณุฑุนุฉ ุจุฏูˆู† ู…ุง ูŠุคุซุฑ ุนู„ู‰ ุนุดุงู†
154
00:12:22,820 --> 00:12:26,600
ู†ู‚ุฏุฑ ูŠุดูˆู ุงู„ู„ูŠ ุจุนุฏู‡ ุงู„ errors ุฅุฐุง ููŠ errors ุจุนุฏู‡
155
00:12:26,600 --> 00:12:32,300
ุชู…ุงู…ุŒ ุงู„ุขู† ู‡ุฏูˆู„ุฉ ุชู„ุงุช ุฃุณุงู„ูŠุจ ุฃูˆ ุฃุฑุจุน ุฃุณุงู„ูŠุจ ู„ุชุนุงู…ู„
156
00:12:32,300 --> 00:12:38,720
ู…ุน ุงู„ errors ุงู„ syntax errors ููŠ ุงู„ code ููŠ panic
157
00:12:38,720 --> 00:12:43,180
mode ูˆ ุงู„ phrase level ูˆ ุงู„ error productions ูˆ ุงู„
158
00:12:43,180 --> 00:12:46,580
global collection ู‡ุฐุง ุฃู†ุง ุจุฏุฃ ุฃุชุฑูƒูƒูŠุง homework
159
00:12:47,270 --> 00:12:50,890
ู…ูˆุฌูˆุฏ ุณูƒุดู† ุฃุฑุจุนุฉ ูˆุงุญุฏ ุฃุฑุจุนุฉ ููŠ ุงู„ูƒุชุงุจ ุชุทู„ุน ุนู„ูŠู‡ู…
160
00:12:50,890 --> 00:12:54,750
ุงู„ุฃุฑุจุน ุฃุณุงู„ูŠุจ ู„ู„ุชุนุงู…ู„ ู…ุน ุงู„ errors error
161
00:12:54,750 --> 00:12:58,490
strategies ูˆููŠ ุงู„ู…ุญุงุถุฑุฉ ุงู„ู‚ุงุฏู…ุฉ ุณู†ุณุฃู„ ุฃุณุฆู„ุฉ
162
00:12:58,490 --> 00:13:04,530
ุนุดูˆุงุฆูŠุฉ ูƒู„ ูˆุงุญุฏ ูŠุฌุจ ุฃู† ูŠุฌู‡ุฒ ู†ูุณู‡ ุฃู†ุช ุชุฌุฑุคู‡ ูˆ ุชูู‡ู…ู‡
163
00:13:04,530 --> 00:13:09,670
ูˆ ู„ุง ุชูƒุชุจูˆู‡ ุจุฏุฃ ุฃุณุฃู„ ูˆ ุงู„ู„ูŠ ุฃุณุฃู„ู‡ ูŠุฌุจ ุฃู† ูŠูƒูˆู†
164
00:13:09,670 --> 00:13:14,690
ู…ุฌุงู‡ุฒ ู†ูุณู‡ ู„ู„ panic mode recovery phrase level
165
00:13:14,690 --> 00:13:18,470
recovery error productionsูˆ global correction OK
166
00:13:18,470 --> 00:13:24,890
ุชู…ุงู… ุงู„ุงู† ู‡ุฐุง ู‡ูˆ ู…ุถู…ูˆู† ุงู„ู…ู‚ุฏู…ุฉ ููŠ section 4.1 ููŠ
167
00:13:24,890 --> 00:13:29,030
section 4.2 ู†ุจุฏุฃ ู†ุญูƒูŠ ุนู† ุงู„ grammar ุนู† ุงู„ context
168
00:13:29,030 --> 00:13:32,450
free grammars context free grammars ุงุญู†ุง ู…ุด ุฌุฏูŠุฏุฉ
169
00:13:32,450 --> 00:13:36,130
ุนู„ูŠู†ุง ุดูˆูู†ุงู‡ุง ู‚ุจู„ ู‡ูŠูƒ ุดูˆูู†ุงู‡ุง ููŠ ู‡ุฐู‡ ุงู„ู…ุซุงู„ุฉ ุตุญ ู‡ูŠ
170
00:13:36,130 --> 00:13:41,550
ู…ุซุงู„ ุนู„ู‰ grammar production ุตุญ ู‡ูŠ non terminal
171
00:13:41,550 --> 00:13:45,360
ูƒุงู†ู‡ุง in the formูˆ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ symbols ุจุนุถ ู…ู†ู‡ุง
172
00:13:45,360 --> 00:13:53,340
terminals ูˆุจุนุถ ู…ู†ู‡ุง non terminals ุตุญ ู‡ุฐุง ุงู„ุณู„ุณู„ุฉ
173
00:13:53,340 --> 00:14:00,000
ุจุชุญุฏุฏ ุงู„ุตูŠุบุฉ ุชุจุน ุงู„ statement ูˆู‡ูŠ ู‚ุฏ ู„ุง ุชูƒูˆู†
174
00:14:00,000 --> 00:14:03,240
ุงู„ุตูŠุบุฉ ุงู„ูˆุญูŠุฏุฉ ู…ู…ูƒู† ุชูƒูˆู† ุตูŠุบุฉ ุฃุฎุฑู‰ ู„ู„ statement ุจุณ
175
00:14:03,240 --> 00:14:08,460
ู‡ุฐุง ู…ุซุงู„ ุนู„ู‰ ุฐู„ูƒ ุงู„ุงู† ุฒูŠ ู…ุง ุดูˆูู†ุง ู‚ุจู„ ุญูƒุงูŠุฉ ุงูƒุชุฑ
176
00:14:08,460 --> 00:14:11,580
ู…ู† ู…ุฑุฉ ุงู† ุงู„ formal definition
177
00:14:14,110 --> 00:14:18,630
ุฃูŠ Grammar ุชุดุชู…ู„
178
00:14:18,630 --> 00:14:22,490
ุนู„ู‰ Terminals ุชุดุชู…ู„ ุนู„ู‰ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ Terminals
179
00:14:22,490 --> 00:14:26,770
ูŠุนู†ูŠ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ Non Terminals ูˆููŠ ูˆุงุญุฏ ู…ู† ุงู„ Non
180
00:14:26,770 --> 00:14:31,910
Terminals ุนุจุงุฑุฉ ุนู† Star Symbol ูˆููŠ ู‡ู„ ุงู„ Terms ูˆ
181
00:14:31,910 --> 00:14:36,270
ุงู„ Non Termals ู…ุตุงุจุฉ ุนู„ู‰ ุดูƒู„ Productions ูŠุนู†ูŠ ู„ุฃ
182
00:14:36,270 --> 00:14:39,110
ุตุญ ุงู† ุงู†ุง ุฃุฌูŠ ุฃู‚ูˆู„ Context Free Grammar ู‡ูŠ ู…ุฌู…ูˆุนุฉ
183
00:14:39,110 --> 00:14:44,240
ู…ู† ุงู„ Productions ุชุจุฏุฃ ุจStar Symbolูˆุชุฌุชู…ู„ ุนู„ู‰
184
00:14:44,240 --> 00:14:49,180
terminals ูˆ non-terminals ุตุญ ุงู„ูƒู„ุงุจุŸ ุงู„ุงู† ุงุญู†ุง ุงู„
185
00:14:49,180 --> 00:14:52,380
terminals ุนุงุฑููŠู† ุงูŠู‡ ุงู„ terminalsุŸ ุงู„ู„ูŠ ู‡ูŠ ููŠ
186
00:14:52,380 --> 00:14:57,060
ุงู„ุขุฎุฑ basic symbols basic ูŠุนู†ูŠ ู„ุง ูŠู…ูƒู† ุชุญู„ูŠู„ู‡ุง ุฅู„ู‰
187
00:14:57,060 --> 00:15:02,500
.. ุฅู„ู‰ symbols ุฃุฎุฑู‰ ูˆ ู„ุฃ ู„ุฃ ู„ู…ุง ูŠูƒูˆู† ููŠ ู‡ุฐู‡
188
00:15:02,500 --> 00:15:08,680
ุงู„ุฏูŠุงู†ุฉ ุงู„ .. ุงู„ .. ุงู„ .. ุงู„ .. ุงู„ .. ุงูŠุด ุฒูŠ
189
00:15:08,680 --> 00:15:15,420
ุงู„ุฃู‚ูˆุงุณ ุงู„ F ุงู„ Lุงู„ู€ non-terminals ู…ู…ูƒู† ุชุญู„ู„ ุตุญ
190
00:15:15,420 --> 00:15:21,680
ุฅู„ู‰ .. ุฅู„ู‰ symbols ุจุณ ุงู„ terminals ุฎู„ุงุต ููŠู‡
191
00:15:21,680 --> 00:15:27,220
terminals ููŠ ูˆุงู‚ุน ุงู„ุฃู…ุฑ ุงู„ู€ non-terminals ู‡ูŠ ุฃุณุงู…ูŠ
192
00:15:27,220 --> 00:15:33,500
ู„ู…ุฌู…ูˆุนุงุช ู…ู† ุงู„ terminals ู…ุธุจูˆุท ุงู„ู€ non-terminals
193
00:15:33,500 --> 00:15:38,660
are syntactic variables that denote sets .. sets
194
00:15:38,660 --> 00:15:43,770
of strings ู„ู…ุง ูŠูƒูˆู† ููŠู‡ุง ุงู†ุฏูŠุฃุฉExpression ู…ุด ู‡ุฐุง
195
00:15:43,770 --> 00:15:47,890
ุงูŠุด ุดูู†ุงู‡ุง ู‚ุจู„ ุฐู„ูƒ ุนู„ู‰ ุงู†ู‡ non-terminal ู…ุธุจูˆุท ุงู„
196
00:15:47,890 --> 00:15:51,150
expression ุงูŠุด ุจุชูˆู‚ุน ู…ู…ูƒู† ูŠูƒูˆู† ู…ุซู„ุง identifier
197
00:15:51,150 --> 00:15:57,550
ู…ุทุจูˆุนุฉ ุจ relational operator ู…ุทุจูˆุนุฉ ุจ number ุฒูŠ
198
00:15:57,550 --> 00:16:04,050
ู…ุซู„ุง ุงู‚ูˆู„ x ุฃู‚ู„ ู…ู† ุฎู…ุณุฉ ู‡ุฐุง expression ุตุญ ู‡ุฐุง ุงู„
199
00:16:04,050 --> 00:16:09,450
expression ู‡ูŠ ุงู„ุตูŠุบุฉ ุชุจุนุชู‡ ุตุญ ู‡ุฐุง ุงู„ุฃู†ูƒุงู„ non
200
00:16:09,450 --> 00:16:17,380
-terminal ู‡ูˆู‡ุฐู‡ ู…ุฌู…ูˆุนุฉ ุตุญุŸ ู…ุฌู…ูˆุนุฉ ู‡ุฐู‡ ุงู„ุณู„ุณู„ุฉ ู‡ุฐู‡
201
00:16:17,380 --> 00:16:22,640
ู…ู† ุงู„ symbols ุณู…ู†ู‡ุง expression ูˆู‚ุฏ ูŠูƒูˆู† ุงู„
202
00:16:22,640 --> 00:16:27,240
expression ุดูƒู„ ุขุฎุฑ ูŠุนู†ูŠ ู…ู…ูƒู† ูŠูƒูˆู† mathematical
203
00:16:27,240 --> 00:16:31,380
expression ู‡ุฐุง logical expression ุตุญุŸ logical ู„ุฃู†
204
00:16:31,380 --> 00:16:33,160
ููŠ logical operator ู…ู…ูƒู† ูŠูƒูˆู† mathematical
205
00:16:33,160 --> 00:16:40,200
expression ุนุจุงุฑุฉ ุนู† ู…ุซู„ุง identifier ุฒุงุฆุฏ term ุฒุงุฆุฏ
206
00:16:40,200 --> 00:16:46,280
number ุตุญุŸูุงู„ expression ู‡ูŠ ูƒ non terminal ู‡ูŠ
207
00:16:46,280 --> 00:16:51,080
ุนุจุงุฑุฉ ุนู† ุชุณู…ูŠุฉ ู„ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ symbols ุงุญู†ุง ุจู†ุงุฎุฏ ู…ู†
208
00:16:51,080 --> 00:16:55,460
ุงู„ lexical analyzer ู†ุงุฎุฏ tokens .. tokens ู‡ุฐู‡
209
00:16:55,460 --> 00:16:58,580
ุจูŠุงุดุฑ
210
00:16:58,580 --> 00:17:04,340
.. ุจู†ุดูˆู ู‡ู„ .. ุจู†ุดูˆู ูƒูŠู ูŠู…ูƒู† ุชุดูƒูŠู„ parse trees
211
00:17:04,340 --> 00:17:09,420
ู…ู†ู‡ุง ูƒู„ branch ููŠ ุงู„ parse tree ูˆุงุญุฏ ู…ู† ุงุชู†ูŠู† ูŠุง
212
00:17:09,420 --> 00:17:16,880
ุงู…ุง leafูŠุง ุงู…ุง ู„ุณู‡ sub-tree ุฅุฐุง ู‡ูˆ sub-tree ูŠุจู‚ู‰
213
00:17:16,880 --> 00:17:23,960
ูƒู„ ุงู„ sub-tree ู‡ุฐู‡ ุจู†ุณู…ูŠู‡ุง ุจุงุณู… ูˆุงุญุฏ ู…ู† ุงู„ .. ู…ู†
214
00:17:23,960 --> 00:17:32,760
ุงู„ non-terminals ุตุญุŸ ู‡ุฐุง expression ุจูŠุฌูŠ ูˆุงุตู„ุง sub
215
00:17:32,760 --> 00:17:36,460
-tree ุตุญูŠุญุŸ
216
00:17:36,460 --> 00:17:41,040
ูุฅู† terminals ู‡ูŠ leaves non-terminals ุนุจุงุฑุฉ ุนู†
217
00:17:41,420 --> 00:17:47,500
ุฃุณุงู…ูŠ ู„ู€ branches ููŠ ุงู„ .. ููŠ ุงู„ parse tree ู„ุฃู†
218
00:17:47,500 --> 00:17:55,080
ูˆุงุญุฏ ู…ู† ุงู„ non-terminers ุงุชูู‚ูŠู† ุนู„ู‰ ุงู† ู‡ูˆ star
219
00:17:55,080 --> 00:17:58,480
symbol ู„ุงุฒู… ูŠูƒูˆู† ููŠู‡ star symbol ููŠ ุงู„ grammar ุตุญ
220
00:17:58,480 --> 00:18:04,440
ู…ุงุจู†ู‚ุฏุฑ ู†ุนู…ู„ grammar ูˆ ู†ู†ุณู‰ ุงู† ุญุฏุฏ ู…ู† ุงู„ star
221
00:18:04,440 --> 00:18:08,060
symbol ูˆู„ุง ูƒูŠู ุงู„ parser ุจุฏู‡ ูŠุจุฏุฃ ู…ู† ุฃูŠ ู†ู‚ุทุฉ ุจุฏู‡
222
00:18:08,060 --> 00:18:13,350
ูŠุจุฏุฃ ูˆุงุถุญุŸin a grammar when non terminal is
223
00:18:13,350 --> 00:18:16,970
distinguished as the start symbol and the set of
224
00:18:16,970 --> 00:18:20,410
strings it denotes is the language generated by
225
00:18:20,410 --> 00:18:26,090
the grammar ุทูŠุจ ุงู„ุขู† a production ุงูˆ the
226
00:18:26,090 --> 00:18:33,950
productions the productions ู‡ูŠ ุนุจุงุฑุฉ ุนู† ุงู„ู…ุดูƒุงู„
227
00:18:33,950 --> 00:18:41,490
ุงู„ู…ุฎุชู„ูุฉ ุงู„ู„ูŠ ุจุชุฃุชูŠ ุนู„ูŠู‡ุงุงู„ู€ Non-terminals ุฃูˆ
228
00:18:41,490 --> 00:18:44,830
ุจุนุจุงุฑุฉ ุฃุฎุฑู‰ ู„ู…ุง ุฃู‚ูˆู„ ุฃู† ุงู„ุฃุดูƒุงู„ ุงู„ู…ุฎุชู„ูุฉ ุงู„ู„ูŠ
229
00:18:44,830 --> 00:18:48,050
ุจุชุฃุชูŠ ููŠู‡ุง ุงู„ู€ Non-terminals ูŠุนู†ูŠ ูƒู„ Non-terminals
230
00:18:48,050 --> 00:18:52,310
ุดูˆ ุงู„ุฃุดูƒุงู„ ุงู„ู…ุฎุชู„ูุฉ ูŠุนู†ูŠ ู…ุซู„ุง statement ู…ู…ูƒู† ุชุจู‚ู‰
231
00:18:52,310 --> 00:18:54,630
if statement ูˆ while statement ูƒู„ ูˆุงุญุฏ ู…ู† ุฏูˆู„
232
00:18:54,630 --> 00:18:57,790
ุนุจุงุฑุฉ ุนู† ุดูƒู„ ูƒู„ ูˆุงุญุฏ ู…ู† ุฏูˆู„ ุนุจุงุฑุฉ ุนู† production
233
00:18:57,790 --> 00:19:02,450
ูุงู„ productions ู‡ูŠ ุชุญุฏูŠุฏ ู„ู„ุฃุดูƒุงู„ ุงู„ู…ุฎุชู„ูุฉ ุงู„ู„ูŠ ู‚ุฏ
234
00:19:02,450 --> 00:19:04,810
ุชุฃุชูŠ ุนู„ูŠู‡ุง ุงู„ู€ Non-terminals ูˆููŠ ู†ูุณ ุงู„ูˆุฌู‡ุฉ ุงู„
235
00:19:04,810 --> 00:19:07,250
productions ู…ู…ูƒู† ุฃู†ุธุฑ ุนู„ูŠู‡ุง ุนู„ู‰ ุฃู† ู‡ูŠ ุนุจุงุฑุฉ ุนู†
236
00:19:07,250 --> 00:19:09,610
ุทุฑูŠู‚ุฉ
237
00:19:10,270 --> 00:19:18,130
ุงู„ู„ูŠ ุฃุดูƒู„ ู…ุฌู…ูˆุนู†ุง ุงู„ุณูŠู…ุจูˆู„ุฒ ููŠ branch is the
238
00:19:18,130 --> 00:19:21,650
manner in which the terminals and non-terminals
239
00:19:21,650 --> 00:19:27,230
ู…ุฌู…ูˆุนู†ุง ุงู„ุณูŠู…ุจูˆู„ุฒ ูŠู…ูƒู† ุฃู† ู†ู†ุธุฑ ุฅู„ูŠู‡ุง combined to
240
00:19:27,230 --> 00:19:33,110
form a string ูˆstring ู‡ุฐุง ุนุจุงุฑุฉ ุนู† branch ููŠ ุงู„
241
00:19:33,110 --> 00:19:38,570
language ูƒู„ู‡ ููŠ ุงู„ input ูƒู„ู‡ ูŠุนู†ู‰ ุงู„ production
242
00:19:38,570 --> 00:19:44,920
ุงู„ูˆุงุญุฏุฉ ู†ุนุฑูุนู†ุงุตุฑู‡ุง ุซู„ุงุซุฉ ุนู†ุงุตุฑ ุตุญ ู‡ุฐุง left hand
243
00:19:44,920 --> 00:19:48,520
side ุงู„ู„ูŠ ู‡ูˆ ุฏุงูŠู…ุง ุจูŠูƒูˆู† non terminal ุจุนุฏูŠู† ุงู„ุณู‡ู…
244
00:19:48,520 --> 00:19:53,440
ุจุนุฏูŠู† ุงู„ูƒุงุฆุด ุงู„ body ูู‰ ุนู†ุฏู†ุง ุงู„ head ู‡ุฐุง ุงู„ head
245
00:19:53,440 --> 00:19:56,960
ุงูˆ
246
00:19:56,960 --> 00:20:03,400
left side ุจุนุฏูŠู† ุงู„ symbol ุงู„ุณู‡ู… ุงุญูŠุงู†ุง ูู‰ ุจุนุถ ุงู„
247
00:20:03,400 --> 00:20:08,360
notation ูŠุณุชุฎุฏู… ู†ู‚ุทูŠู† ู†ู‚ุทูŠู† ุงูˆ ูƒูˆู„ูˆู† ูƒูˆู„ูˆู† ูŠุณุงูˆูŠ ูˆ
248
00:20:08,360 --> 00:20:09,460
ุจุนุฏูŠู† ุงู„ body
249
00:20:12,300 --> 00:20:15,060
ุงูˆ ุงู„ right side ุงู„ right side left side ูˆ right
250
00:20:15,060 --> 00:20:24,960
side ุตุญุŸ consisting of ุงูŠุดุŸ zero or more terminals
251
00:20:24,960 --> 00:20:32,460
terminals and non-terminals ุตุญุŸ
252
00:20:32,460 --> 00:20:40,580
okay ู‡ุฐุง example ุนู„ู‰ productions
253
00:20:43,400 --> 00:20:50,760
Questions ู‡ุฐู‡ ุชุดูƒู„ Grammar ู„ุจุณ ู„ุฃุฑุซู…ุชูƒ expressions
254
00:20:50,760 --> 00:20:56,180
Simple arithmetic expressions ู…ุด ู„ู„ู„ุบุฉ ูƒุงู…ู„ุฉ ุจุณ
255
00:20:56,180 --> 00:20:59,760
ู„ุฃุฑุซู…ุชูƒ expressions expression can have the form
256
00:20:59,760 --> 00:21:04,540
expression ุฒูŠ term ุฃูˆ expression ู†ุงู‚ุต term ุฃูˆ term
257
00:21:04,540 --> 00:21:10,580
ูู‚ุท ุงู„ term ู„ู‡ ุชู„ุงุช ุฃุดูƒุงู„ term ุถุฏ factor, term ุนู„ู‰
258
00:21:10,580 --> 00:21:14,750
factor ุฃูˆ ู…ุฌุฑุฏ factorูˆุงู„ู€ factor ู„ู‡ ุดูƒู„ูŠู† ู‚ุฏ ูŠูƒูˆู†
259
00:21:14,750 --> 00:21:20,530
identifier ูู‚ุท ุฃูˆ ู‚ุฏ ูŠูƒูˆู† expression ุจูŠู† ุฌุซู…ูŠู†
260
00:21:20,530 --> 00:21:23,710
ุงู„ุงู†
261
00:21:23,710 --> 00:21:26,450
ู‡ุฐุง ุงู„ูƒู„ุงู… ุงุญู†ุง ุนุงุฑููŠู† ู…ู† ุงู„ terminals ูˆ ู…ู† ุงู„ non
262
00:21:26,450 --> 00:21:29,390
-terminals ููŠ ู‡ุฐู‡ ุงู„ definition ุงูˆ ููŠ ู‡ุฐู‡ ุงู„
263
00:21:29,390 --> 00:21:33,310
grammar ุตุญุŸ ู‡ุฐู‡ grammar ูƒุงู…ู„ุฉ ูˆู„ุง ู„ุง ุจุณ ูƒุงู…ู„ุฉ ู„ู€
264
00:21:33,310 --> 00:21:37,150
simple mathematical expressions ู…ุด ู„ู„ุบุฉ ุจุฑู…ุฌุฉ ูˆู„ุง
265
00:21:37,150 --> 00:21:41,180
ุฏู„ูˆู‚ุชูŠ ู‡ุฐู‡ ุงู„ grammar ุงู„ู„ูŠ ุงู†ุง ู…ู†ู‡ุง ุงู„ุญูŠู†ุนุงุฑููŠู† ู…ู†
266
00:21:41,180 --> 00:21:44,160
ุงู„ terminals ูˆ ู…ู† ุงู„ non-terminals ุงู„ non
267
00:21:44,160 --> 00:21:51,120
-terminals ู‡ูŠ ุงู„ุฃุณุงู…ูŠ ุงู„ู„ูŠ ู…ู† ุงู„ุฎุท ุงู„ู…ุงุฆู„ ูˆ ุงู„
268
00:21:51,120 --> 00:21:55,520
terminals ู‡ูŠ ุงู„ plus ูˆ ุงู„ minus ูˆ ุงู„ู†ุฌู…ุฉ ูˆ ุงู„
269
00:21:55,520 --> 00:22:03,060
slash ูˆ ุงู„ guess ุฌูˆุณ ูŠู…ูŠู† ุฌูˆุณ ุดู…ุงู„ ูˆ ุงู„ ID
270
00:22:08,470 --> 00:22:12,350
ุงู„ุงู† ุงุญู†ุง ู„ูŠุด ุนุงุฑููŠู† ู‡ุฐุง ุงู„ูƒู„ุงู… ู„ุฃู†ู‡ ุนุงุฑููŠู† ุงู† ุงู„
271
00:22:12,350 --> 00:22:17,230
italics ุฏุงูŠู…ุง non terminals ุงู„ูƒู„ุงู… ุงู„ู…ุงุฆู„ ุงู„ูƒู„ุงู…
272
00:22:17,230 --> 00:22:19,550
ุงู„ู…ูƒุชูˆุจ ุฎุท ู…ุงุฆู„ ู‡ุฐุง non terminal ูˆู‡ุฐุง convention
273
00:22:19,550 --> 00:22:26,290
ุดูŠุก ู…ุชุนุงุฑู ุนู„ูŠู‡ ู…ุนุชู‚ุฏ ุชู…ุงู… ููŠ conventions ููŠ ุงู„
274
00:22:26,290 --> 00:22:32,350
terminals ุฏุงูŠู…ุง ุงุญู†ุง ู„ูˆ ุจุดูˆู ุงุญุฑูˆู
275
00:22:32,350 --> 00:22:35,460
ู…ูƒุชูˆุจุฉ ุจุงู„ small letterุจุชุดูˆู ุงู„ grammar ูˆุงู„
276
00:22:35,460 --> 00:22:39,780
grammar ุจุชุญุชูˆูŠ ุนู„ู‰ ุฃุญุฑู ู…ู†ูุตู„ุฉ a ู„ุญุงู„ุฉ b ู„ุญุงู„ุฉ c
277
00:22:39,780 --> 00:22:45,760
ู„ุญุงู„ุฉ small letter ูˆ ู…ุงูŠู„ุฉ ู†ุนุชุจุฑู‡ุง terminal ุชู…ุงู…ุŸ
278
00:22:45,760 --> 00:22:50,880
ุฅูŠุด ูƒู…ุงู† ุงู„ terminalsุŸ ูƒู„ ุงู„ุนู„ุงู…ุงุช ุงู„ operators ูƒู„
279
00:22:50,880 --> 00:22:56,240
ุงู„ุฃุฑู‚ุงู… ูƒู„ ุงู„ punctuation symbols ุฒูŠ ุงู„ุฃู‚ูˆุงุณ ุงู„
280
00:22:56,240 --> 00:23:00,600
comma ุฃูˆู„ุง ู…ุง ุชุธู‡ุฑ ููŠู‡ grammar ูŠุนู†ูŠ ููŠ ุงู„ body ุฃูˆ
281
00:23:00,600 --> 00:23:05,880
ุงู„ productions ุนู„ู‰ ุทูˆู„ู…ุงููŠุด ููŠู‡ุง ูƒู„ุงู… ูƒุฐู„ูƒ ุงู„ุญุงู„ุฉ
282
00:23:05,880 --> 00:23:11,140
strings of characters ุจุณ ุชุจู‚ู‰ ู…ูƒุชูˆุจุฉ ุจุงู„ bold ุงู„
283
00:23:11,140 --> 00:23:17,000
ID ู‡ุฐู‡ ุงู„ string ID ูˆ F ู‡ู„ูˆ ู„ุฃ ุงุฐุง ู…ูƒุชูˆุจูŠู† ุจุงู„
284
00:23:17,000 --> 00:23:22,320
bold ุจู†ูู‡ู…ู‡ ุนู„ู‰ ุงู†ู‡ ุงูŠุด terminals ูˆู‡ู†ุง ุงู„ terminal
285
00:23:22,320 --> 00:23:27,080
ู‡ุฐุง ูŠุฑู…ุฒ ุงู„ู‰ keyword F ูˆู‡ุฐุง ุงู„ terminal ูŠุฑู…ุฒ ุงู„ู‰
286
00:23:27,080 --> 00:23:29,520
ุงุณู… ู…ุชุบูŠุฑ identifier
287
00:23:33,570 --> 00:23:36,550
ุงู„ู€ Non-terminants ููŠ ุงู„ู…ู‚ุงู…ู„ ุจู†ูƒุชุจู‡ุง ุจุทุฑูŠู‚ุฉ
288
00:23:36,550 --> 00:23:41,090
ู…ุฎุชู„ูุฉ ูŠุนู†ูŠ ุนุงุฏุฉ ุชุจู‚ู‰ capital ุจุฑุถู‡ a,b,c ูŠุนู†ูŠ
289
00:23:41,090 --> 00:23:45,950
ุฃูˆุงุฆู„ ุงู„ alphabet ู…ู† .. ุงู‡ ู…ู† ุจุฏุงูŠุฉ ุงู„ alphabet ู…ู†
290
00:23:45,950 --> 00:23:56,630
ุจุฏุงูŠุฉ ุงู„ุฃุญุฑู ุงู„ุฃูˆุฌุฏูŠุฉ ุจุณ ุจูŠู†ูƒุชุจ capital ูƒุฐู„ูƒ
291
00:23:56,630 --> 00:24:02,560
ุงู„ุญุงู„ ุจู†ุญุท ุงู„ S ุฏุงูŠู…ุง ูƒ start symbolูˆุจุนุฏ ูƒุฏู‡ ุจู†ุนู…ู„
292
00:24:02,560 --> 00:24:09,260
ุงู„ italics ู„ู…ุง ูŠูƒูˆู† ุนู†ุฏู‰ ุงู†ุง ุชุณู…ูŠุฉ ุจู†ุนู…ู„ู‡ุง ุจุงู„
293
00:24:09,260 --> 00:24:15,740
italic ุจุงู„ู…ุงูŠู„ ูˆุจุนุฏ ูƒุฃุจู† ุงุญูŠุงู†ุง ุงู†ุง ูƒุชูŠุฑ ุบูŠุฑ ุงู„ a
294
00:24:15,740 --> 00:24:20,580
ูˆ ุงู„ b ูˆ ุงู„ c ุจู†ุณุชุฎุฏู… ุฃุนุฑู ุฌุงูŠุฉ ู…ู† ุงุฎุชุตุงุฑุงุช ูŠุนู†ูŠ E
295
00:24:20,580 --> 00:24:27,220
ุฎุณุฑ ุงู„ expression T ุฎุณุฑ ุงู„ term ูˆ F ูุงูƒุชุฑ ุฃุญูŠุงู†ุง
296
00:24:27,220 --> 00:24:28,460
ุจู†ุดูˆู ุฃุดูŠุงุก ุฃุฎุฑู‰
297
00:24:31,280 --> 00:24:38,480
ุบูŠุฑ ู‡ุฐุง ุงู„ูƒู„ุงู… ู†ุญูƒูŠ ุนู†
298
00:24:38,480 --> 00:24:43,560
ู…ุฌู…ูˆุน ู…ู† ุงู„ symbols ุฌุฒุก ู…ู† ุงู„ production ูŠุนู†ูŠ ู…ุซู„ุง
299
00:24:43,560 --> 00:24:50,340
ุงู
300
00:24:50,340 --> 00:24:58,740
ู…ุทุจูˆุนุฉ ุจุฃูŠ ุดูŠุก ุงูŠ ุดูŠุก ู‡ุฐุง ุจู‚ู‰ ู…ุซู„ู‡ ุจ X capital ุงูˆ
301
00:24:58,740 --> 00:25:04,210
Y capital ุงูˆ Z capitalู„ู…ุง ุฃู‚ูˆู„ X ูƒุงุจุชู„ ุฃูˆ Y ูƒุงุจุชู„
302
00:25:04,210 --> 00:25:08,670
ุฃูˆ Z ูƒุงุจุชู„ ุฃู‚ุตุฏ Terminals ู…ุน Non Terminals ุฎู„ูŠุท ู…ู†
303
00:25:08,670 --> 00:25:14,830
ุฃูˆ ุณู„ุณู„ุฉ ู…ู† Terminals ูˆ ุฃูŠุถุง ู…ุนุงู‡ู… ูƒู…ุงู† Non
304
00:25:14,830 --> 00:25:19,210
Terminals ูุฅุฐุง ุดูˆูุช ุงู„ุฃุญุฑู ุงู„ X ูˆ Y ูˆ Z ู…ู† ูƒุชุงุจ
305
00:25:19,210 --> 00:25:24,810
ุงู„ูƒุงุจุชู„ ูŠู‚ุตุฏ ุจูŠู‡ุง ุณู„ุณู„ุฉ ู…ู† ุงู„ symbols ู…ุฎู„ุทุฉ
306
00:25:30,160 --> 00:25:33,920
upper case letters late in the alphabet ู…ู† ู†ู‡ุงูŠุฉ
307
00:25:33,920 --> 00:25:38,520
ุงู„ุงู„ูุงุจุช such as x, y, z represent grammar symbols
308
00:25:38,520 --> 00:25:42,220
ุชุดูƒูŠู„ุฉ ู…ู† ุงู„ grammar symbols that is either non
309
00:25:42,220 --> 00:25:48,200
terminals or terminals ู„ู…ุง ู†ุณุชุฎุฏู… u, v, z ุจุฑุถู‡
310
00:25:48,200 --> 00:25:53,960
ูŠุนู†ูŠ ุฒูŠ ู‡ูŠูƒุฉ ุจุณ small letter ุจูŠูƒูˆู† ู†ุณุชุฎุฏู…ู‡ุง
311
00:25:53,960 --> 00:26:01,430
ู„ู„ุฏู„ุงู„ุฉ ุนู„ู‰ ุฃูŠุถุง symbols ูˆู„ูƒู† ูƒู„ู‡ุง terminalsุงู„ุนูƒุณุŒ
312
00:26:01,430 --> 00:26:04,610
ู„ูˆ ุฃูƒูˆู† ุฃุฏู‘ูŠ ุณู„ุณู„ุฉ ู…ู† ุงู„ู€ Symbols ูƒู„ู‡ู… Terminals
313
00:26:04,610 --> 00:26:12,070
ุจุณุชุฎุฏู…ู„ู‡ู… ุชุฑู…ูŠุฒ ู…ู† ุงู„ู€ U ูˆ ุงู„ู€ V ูˆ ุงู„ุฃุญุฑู ุจุงุณู…
314
00:26:12,070 --> 00:26:16,110
Small letter ู„ุฃู† ู…ุง ุฃุณุชุฎุฏู… ุงู„ู€ Alpha ูˆ ุงู„ Beta ูˆ
315
00:26:16,110 --> 00:26:20,730
ุงู„ุฌุงู…ุนุฉ ุฒูŠูƒู‰ ุจุฃู‚ุตุฏ ููŠ ุนุงุฏุฉ ุงู„ body ุชุจุน ุงู„
316
00:26:20,730 --> 00:26:26,310
production production left
317
00:26:26,310 --> 00:26:34,310
hand side ุฃูˆ head implies bodyุบุงู„ุจุง ุงู„ body ุชุจุน
318
00:26:34,310 --> 00:26:37,990
productions ู†ุณุชุฎุฏู… ู„ู‡ ุงู„ุฑู…ูˆุฒ alpha, beta, and
319
00:26:37,990 --> 00:26:44,050
gamma ู„ุฃู† ู‡ู†ุง alpha 1, alpha 2, alpha k ูƒู„ ู‡ุฐู‡ ุงู„
320
00:26:44,050 --> 00:26:47,890
alpha ูŠู‚ุตุฏ ุจูŠู‡ุง ุงู„ bodies ุงู„ู…ุฎุชู„ูุฉ ุชุจุน ุงู„
321
00:26:47,890 --> 00:26:53,590
productions ุชุจุน ุงู„ non terminal A ู‡ูˆ ู†ูุณู‡ ุฅูŠู‡ ู„ูˆ
322
00:26:53,590 --> 00:26:57,670
ุนุฏุช productions ูุจู‚ูˆู„ alpha 1, alpha 2, alpha 3
323
00:26:57,670 --> 00:27:00,490
ู‡ุฏูˆู„ุฉ ุงู„ bodies ุชุจุน ุงู„ productions ุชุจุน ุงู„ A
324
00:27:05,470 --> 00:27:09,610
ุงู„ุงู† ุงูˆู„ production ููŠ ุงู„ grammar ู„ู…ุง ุงุญู†ุง ู†ุณุฑุฏ
325
00:27:09,610 --> 00:27:13,010
grammar ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ productions ุงูˆู„ production ุงู„
326
00:27:13,010 --> 00:27:18,790
head ุชุจุนู‡ุง ุงูŠุด ู‡ูˆ ุฏุงูŠู…ุง ุจูŠูƒูˆู† ู‡ูˆ ุงู„ start symbol
327
00:27:18,790 --> 00:27:24,010
ุณูˆุงุก ูƒุงู† ุงุณู…ู‡ S ุณูˆุงุก ูƒุงู† ูŠุณุชุฎุฏู… ุงู„ุญุฑู S ูˆู„ุง ุบูŠุฑ
328
00:27:24,010 --> 00:27:30,650
ุฐู„ูƒ ุงูˆู„ production ููŠ ุงู„ grammar ุงู„ head ุชุจุนู‡ุง ู‡ูˆ
329
00:27:30,650 --> 00:27:38,710
ุงู„ start symbol ุงู„ุง ุงุฐุง ุชู…ุงู„ุฅุดุงุฑุฉ ุฅู„ู‰ ุฎู„ุงู ุฐู„ูƒ ู‡ุฐุง
330
00:27:38,710 --> 00:27:42,950
ู…ุซุงู„
331
00:27:42,950 --> 00:27:48,010
ุนู† ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ุฑุงุญ ุงุชูƒู„ู… ุนู†ู‡ Stressing ู‡ูˆ E ู„ุฃู†
332
00:27:48,010 --> 00:27:51,250
ุฃูˆู„ ูˆุงุญุฏุฉ ู‡ูˆ ุงู„ production ูƒู„ู‡ู… ุงู„ E ูˆ ุงู„ T ูˆ ุงู„ F
333
00:27:51,250 --> 00:27:56,230
ุงู„ู„ูŠ ู‡ูˆ ุงู„ non-terminals ุงู„ ID ู‡ูŠ ุงู„ terminal ูˆ
334
00:27:56,230 --> 00:28:02,110
ู…ุนู‡ุง I ูˆ M ูƒู…ุงู† ูƒู„ ุงู„ operators ุงู„
335
00:28:02,110 --> 00:28:02,670
derivation
336
00:28:16,150 --> 00:28:19,610
ุงู„ููƒุฑุฉ ุงู„ุฃุณุงุณูŠุฉ ู„ู„ู€ parser ู‡ูˆ ุงู†ู‡ ูŠุจุฏุฃ ู…ู† ุงู„ start
337
00:28:19,610 --> 00:28:25,510
symbol ูˆ ูŠุฎุชุงุฑ ูˆุงุญุฏุฉ ู…ู† production ุชุจุนุชู‡ ูŠุญูˆู„ ูˆุงุญุฏ
338
00:28:25,510 --> 00:28:31,990
ู…ู† ุงู„ non terminals ุงู„ู„ูŠ ููŠู‡ุง ุฅู„ู‰ ูŠุนู…ู„ replace ุฅู„ู‰
339
00:28:31,990 --> 00:28:39,600
ู…ุฌู…ูˆุนุฉ symbolsุจุฏูŠู„ ุนู†ู‡ ูˆ ูŠุจุฏุฃ ูŠุชุญูˆู„ ุณูŠู…ุจูˆู„ ูˆุฑุง
340
00:28:39,600 --> 00:28:43,780
ุณูŠู…ุจูˆู„ ุงู„ู‰ ุงู† ูŠุตู„ ุงู„ู‰
341
00:28:43,780 --> 00:28:48,420
ุงู„ input ุงู„ู„ู‰ ุฏุงุฎู„ ุงู„ู„ู‰ ุฃุฌุงู„ู‡ ู…ู† ุงู„ from the
342
00:28:48,420 --> 00:28:53,420
lexical analyzer ูู‡ุฐุง
343
00:28:53,420 --> 00:28:57,500
ุงู„ูƒู„ุจ ุงู„ derivation ู‡ูˆ ุฃุณุงุณ ุงู„ construction ุชุจุน ุงู„
344
00:28:57,500 --> 00:29:02,040
parse tree parse tree ุฒูŠ ู…ุง ูŠู…ูƒู† ุงู† ุงู†ุง ู‡ู†ุง ุจุจุฏุฃ
345
00:29:02,040 --> 00:29:07,050
ุจุงู„ู…ู‚ู„ ุจุงู„ุณุชุงุฑ ุณูŠู…ุจูˆู„ูˆุจุดูˆู ุงุดู…ูŠ ู‚ุงู„ู„ูŠ ู‡ุงูŠ ุฎู„ูŠู†ุง
346
00:29:07,050 --> 00:29:09,910
ู†ุงุฎุฏ ุงู„ grammar ู‡ุฐู‡ ู†ูƒุชุจู‡ุง ู‡ู†ุง ุนู„ู‰ ุงู„ุฌุงู†ุจ
347
00:30:01,830 --> 00:30:07,530
ุจู†ุจุฏุฃ ุจุงู„ู€ start symbol ุชุจุนูŠ ุงู„ู€ start symbol ุงู„ุขู†
348
00:30:07,530 --> 00:30:15,390
ููŠู‡ ุนุฏุฉ productions ุฃุญุฏูŠู† ุชู„ุงุชุฉ ูƒุชุงุจุฉ
349
00:30:15,390 --> 00:30:17,610
ุงู„ grammar ู…ุด ู‡ุฐู‡ ุงู„ู„ูŠ ุจู†ูŠู‡ุง
350
00:30:25,480 --> 00:30:35,720
ุจุนุฏูŠู† ู…ูŠู†ุŸ ุจุฏู†ุง ู‡ุฐุง ุงู„ ground ุฎู„ู‘ูŠู†ูŠ
351
00:30:35,720 --> 00:30:37,800
ู†ุทู„ุน ู„ู‡ุฐุง ุงู„ ground ุงู†ุณุงู† ุงู„ ground ูˆ ู†ุทู„ุน ู„ู‡ุฐุง ุงู„
352
00:30:37,800 --> 00:30:42,440
ground ูˆู‡ูŠ ุงู„ E can have four ุฅู„ู‰ ุชู„ุช ุฅู„ู‰ ุฃุฑุจุน ูˆ
353
00:30:42,440 --> 00:30:49,300
ุฎู…ุณ productions ู„ุฃู† ุจุจุฏุฃ ุจุงู„ E ุจุฏุฃุช ุจุงู„ E ู„ุฃู† ู‡ุฐุง
354
00:30:49,300 --> 00:30:52,500
ุงู„ E ุจูŠุณุชุจุฏู„ ูˆุงุญุฏุฉ ู…ู† ุงู„ ุฅูŠุด ู…ู† ุงู„ productions
355
00:30:52,500 --> 00:30:56,410
ุชุจุนู‡ู… ุฃูˆ ู…ู† ุงู„ bodiesุงุญุฏ ุงุชู†ูŠู† ุชู„ุงุชุฉ ุงุฑุจุน ุงุฑุจุน
356
00:30:56,410 --> 00:30:57,770
ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน
357
00:30:57,770 --> 00:30:59,750
ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน
358
00:30:59,750 --> 00:31:08,510
ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน
359
00:31:08,510 --> 00:31:10,530
ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน
360
00:31:10,530 --> 00:31:10,950
ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน
361
00:31:10,950 --> 00:31:11,390
ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน
362
00:31:11,390 --> 00:31:22,250
ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน ุงุฑุจุน
363
00:31:22,250 --> 00:31:27,880
ุงุงู„ู€ tokens ุงู„ู„ูŠ .. ุงู†ุง ู…ุนูƒ ุจุณ ุงุญู†ุง ุงู„ุงู† ุจู†ูˆุถุญ
364
00:31:27,880 --> 00:31:33,320
ููƒุฑุฉ ุงู„ derivation ุงู†ู…ุง ู„ูŠุด ู‡ุฐู‡ ูˆ ู…ุด ู…ุด ู‡ุฐู‡ ุจูŠุชู…
365
00:31:33,320 --> 00:31:37,080
ุฏู„ูˆู‚ุชูŠ ุนู„ู‰ ุงูŠุด ุงู„ input ุงู„ู„ูŠ ุฌุงูŠู„ูƒ ูุนู„ุง ูˆ ุงูŠุด ุงู„
366
00:31:37,080 --> 00:31:41,760
parsing table ุงู„ู„ูŠ ู‡ูŠูƒูˆู† ุงู…ุงู…ูƒ ูˆ ู‡ูŠ ุชุฎุชุงุฑ ุงู„
367
00:31:41,760 --> 00:31:45,510
parsing table ู‡ูˆ ู„ูŠู‡ุจูŠุญุฏุฏ ู„ูƒ ุงูŠุด ุงู„ production
368
00:31:45,510 --> 00:31:49,310
ุจุชุฎุชูู‰ ุจุณ ููƒุฑุฉ ุงู„ derivation ุงู†ู‡ ู‡ูŠ ุชุณู„ุณู„ ู…ู† ุงู„
369
00:31:49,310 --> 00:31:53,250
replacements ุณู„ุณู„ุฉ ู…ู† ุงู„ replacements ููŠ ูƒู„ ูˆุงุญุฏุฉ
370
00:31:53,250 --> 00:31:57,290
ุงู†ุง ุจุฏุฃุช ุงูˆู„ replacement ูƒุงู†ุช ู‡ูŠ ุงู„ E ู†ูุณู‡ุง ุงู„
371
00:31:57,290 --> 00:32:01,070
start ู†ูุณู‡ุง ุญูˆู„ุชู‡ุง ุงู„ู‰ ู‡ุฐุง ุงู„ body ุงู„ุงู† ู‡ุฐุง ุงู„
372
00:32:01,070 --> 00:32:05,210
body ูƒุงู†ุช ุงู„ุงูˆู„ symbol ู…ุชุงุญูŠ ุงู„ู„ูŠ ุญูˆู„ุชู‡ ุจูˆุงุญุฏุฉ
373
00:32:05,210 --> 00:32:09,790
ุงุฎุฑู‰ ุงู„ู„ูŠ ู‡ูŠ ู‡ุฐู‡ ุจุถุจุท ุงู„ู†ู‚ุต ู†ุฒู„ ุฒูŠ ู…ุง ู‡ูŠ ูˆ ุจุฏุฃ ู†ุฒู„
374
00:32:09,790 --> 00:32:13,750
ู„ู‡ุง ุงู„ุงู† ุงู„ Eูู‰ ุงู„ุฎุทูˆุฉ ุงู„ุฑุงุจุนุฉ ุญูˆู„ุชู‡ุง ุจู€
375
00:32:13,750 --> 00:32:17,030
Identifier ูˆุถุน ูƒู„ ุดูŠุก ุฒูŠ ู…ุง ู‡ูˆ ุงู„ู„ู‰ ุงุชุญูˆู„ ู‡ูˆ ุงู„ู€
376
00:32:17,030 --> 00:32:21,230
Identifier ุงู„ุงู† ุนู†ุฏ ู‡ู†ุง ุงู†ุง ูˆุตู„ุช ู„ ุงู„ dead end
377
00:32:21,230 --> 00:32:24,830
ุฎู„ุงุต ูƒู„ ุงู„ symbols ุงู„ู„ู‰ ุนู†ุฏู†ุง ู†ุงู‚ุตู‡ ุงู„ ghost ูˆ ุงู„
378
00:32:24,830 --> 00:32:29,430
ID ูˆ ุงู„ู„ูŠ ู‡ุฏุง ูƒู„ู‡ู… terminals ู…ุงููŠ ุงู„ุงู† ุฅุฐุง ู‡ุฐุง ู„ุง
379
00:32:29,430 --> 00:32:33,490
ูŠุชูˆุงุจู‚ ุงู„ input ุฅุฐุง ู‡ุฐุง ู„ุง ูŠุชูˆุงุจู‚ ุงู„ input ูŠุจู‚ู‰
380
00:32:33,490 --> 00:32:38,810
ุฅู…ุง error syntax error ูŠุง ุฅู…ุง ุจุฏูŠ ุฃุฑุฌุน ุชุงู†ู‰ ุฃุฌุฑุจ
381
00:32:41,380 --> 00:32:46,480
ู…ุณุงุฑ ุงุฎุฑ ู…ู† ุงู„ derivation ูˆุงุถุญ ูุงูˆู„ ู†ูู‡ู… ุงูŠุด ูŠุนู†ูŠ
382
00:32:46,480 --> 00:32:50,180
ุงู„ derivation ุชุงู†ูŠุง ู†ูู‡ู… ุงูŠุด ุนู„ุงู‚ุฉ ู‡ุฐุง ุจุงู„ parse
383
00:32:50,180 --> 00:32:54,560
tree ุจุจู†ุงุก ุงู„ parse tree ู‡ุฐุง ุงูŠู‡ ุนู„ุงู‚ุฉ ู…ุจุงุดุฑุฉ
384
00:32:54,560 --> 00:32:58,940
ุจุจู†ุงุก ุงู„ parse tree ุงู† ุงุญู†ุง
385
00:32:58,940 --> 00:33:05,300
ุงู†
386
00:33:05,300 --> 00:33:11,200
ุงุญู†ุง ุงูˆู„ symbol ูƒุงู† ู…ุนุงู†ุง ู‡ูˆ ู‡ุฐุง ู…ุซุงู„ ุงุฎุฑู…ุซู„ ุขุฎุฑ
387
00:33:11,200 --> 00:33:17,060
ุจุณ ุจูŠูˆุถุญ ูŠุทู„ุน ุงู„ู€ series N derivation ุฃูˆู„ ูŠุนู†ูŠ ู‡ุฐุง
388
00:33:17,060 --> 00:33:22,400
ุงู„ู€ N ูƒุงู† ุนู†ุฏูŠ E ุงุณุชุฎุฏุช ุจูŠู‡ ุทุจุนุง ุงู„ derivation ุฏู‡
389
00:33:22,400 --> 00:33:26,220
ุจู†ุฑู…ุฒ ุฅู„ูŠู‡ุง ุจุงู„ double arrow ุจุงู„ double line arrow
390
00:33:26,220 --> 00:33:34,200
ุงู„ุณู‡ู… ุงู„ู„ูŠ ูŠู„ูˆ ู…ุฒุฏูˆุฌ ุงู„ู‚ุทุฉ ุจูŠุนู…ู„ ุชู…ุงู… ุฃูˆู„
391
00:33:34,200 --> 00:33:37,800
replacement ูƒุงู†ุช minus ู…ุน ุงู„ E ุชุงู†ูŠ replacement
392
00:33:38,400 --> 00:33:42,020
ูƒุงู†ุช ุงู„ู€ E ู…ุน ุงู„ุฌูˆุงุณ ู†ุฒู„ ุงู„ู€ minus ุฒูŠ ู…ุง ู‡ูˆ ูˆ
393
00:33:42,020 --> 00:33:48,000
ุจุนุฏูŠู† ุงู„ุฌูˆุงุณ ุชุงู„ุช ุงู„ replacement ุฃู†ู‡ ุงู„ E ุฃุณุทูˆุจ ุฏูŠ
394
00:33:48,000 --> 00:33:51,700
ู„ู… ุชุจู‚ุงุด ุงู„
395
00:33:51,700 --> 00:33:58,420
E ุงู„ู„ูŠ ููŠ ุงู„ู…ุตุฏุฑ ุฃุณุทูˆุจ ุฏูŠ ู„ุฅูŠู‡ุŸ ู„ุฅูŠู‡ุŸ ู„ุฃ ุจุงู„ I ุฏูŠ
396
00:33:58,420 --> 00:34:02,120
ุฃุณุทูˆุจ ุฏูŠ ู„ุฅูŠู‡ุŸ ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ ..
397
00:34:02,120 --> 00:34:02,240
ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡
398
00:34:02,240 --> 00:34:02,520
.. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ ..
399
00:34:02,520 --> 00:34:04,480
ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡
400
00:34:04,480 --> 00:34:04,480
.. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ ..
401
00:34:04,480 --> 00:34:10,460
ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏู‡ .. ุฏุงุณุชุจุฏู„ุช ู…ู† ุงู„ E
402
00:34:10,460 --> 00:34:19,160
ุงู„ุฃูˆู„ู‰ ุจุงู„ Identifier ุงุฒุงู‰
403
00:34:19,160 --> 00:34:22,740
ุงู„ู„ู‰ ูˆ ุจุงู‚ู‰ ูƒู„ู‡ ุฒู…ู‡ูˆุฑ ุจุนุฏูŠู† ุงุณุชุจุฏู„ุช ุงู„ E ุงู„ุชุงู†ู‰
404
00:34:22,740 --> 00:34:28,640
ุจุงู„ Identifier ุงู„
405
00:34:28,640 --> 00:34:31,840
relationship
406
00:34:31,840 --> 00:34:34,800
ุจูŠู† ุงู„ derivation ูˆ ุงู„ parts tree building
407
00:34:37,300 --> 00:34:41,200
ูƒู„ start symbol ุงู„ุฃูˆู„ ูŠุนู†ูŠ start symbol ุงู„ู„ูŠ
408
00:34:41,200 --> 00:34:45,560
ุจุฏู‘ูŠู†ุง ู†ุงู‚ุจู‡ ู„ู‡ node ู„ุฅู† ู†ุชุดูŠู„ ุงู„ derivation ุชุจุนุชู‡
409
00:34:45,560 --> 00:34:49,540
ู…ุฌู…ูˆุนุฉ ุงู„ symbols ุงู„ู„ูŠ ููŠู‡ุง ูƒู„ ูˆุงุญุฏ ู…ู†ู‡ู… ุจู†ุนู…ู„ู‡
410
00:34:49,540 --> 00:34:53,360
child ู„ุฅู†
411
00:34:53,360 --> 00:34:56,560
ุงู„ู„ูŠ ุฌุงูŠ ุนู„ูŠู‡ ุงู„ุฏูˆุฑ ููŠ ุงู„ replacement ู…ูŠู† ู‡ูˆ ู‡ุฐุง
412
00:34:56,560 --> 00:35:02,080
ูู‡ุฐุง ุจูŠุตูŠุฑ ู‡ูˆ root ู„ sub tree sub tree ู‡ุฐู‡ ุงู„ู„ูŠ
413
00:35:02,080 --> 00:35:06,380
ูŠูˆู… ุงุญู†ุง ุจู†ุดูŠู„ู‡ ูˆ ุจู†ุญุท ุงู„ production ุชุจุนู‡ ุฃูˆ ุงู„
414
00:35:06,380 --> 00:35:11,110
body ุชุจุนู‡ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุฃุชูŠ ุจุฏู„ ู…ู†ู‡ุง ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡
415
00:35:11,110 --> 00:35:13,230
ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ
416
00:35:13,230 --> 00:35:16,350
ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู†
417
00:35:16,350 --> 00:35:17,930
ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡
418
00:35:17,930 --> 00:35:24,330
ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ
419
00:35:24,330 --> 00:35:27,570
ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡
420
00:35:27,570 --> 00:35:30,130
ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ
421
00:35:30,130 --> 00:35:30,270
ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู†
422
00:35:30,270 --> 00:35:30,270
ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡
423
00:35:30,270 --> 00:35:35,410
ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ ุชู„ุงุชุฉ ู…ู† ู‡ุฐู‡ ุงู„ู…ุดูƒู„ุฉ
424
00:35:35,410 --> 00:35:41,580
ุชู„Derivation ูˆ ุชุดูƒูŠู„ ุฃูˆ ุจู†ุงุก ุงู„ู€ parse tree ุนู…ู„ูŠุฉ
425
00:35:41,580 --> 00:35:49,380
ูˆุงุญุฏุฉ ุนู…ู„ูŠุฉ ูˆุงุญุฏุฉ ุดูˆูŠู‡ ุจุณ ู†ุฑุฌุน ุชุงู†ูŠ ุนู„ู‰ ุงู„
426
00:35:49,380 --> 00:35:54,080
derivation ู…ุฑุฉ ุฃุฎุฑู‰ ูุงุญู†ุง ู‚ู„ู†ุง the construction of
427
00:35:54,080 --> 00:35:57,820
a parse tree can be made precise ุจู†ุงุก ุงู„ parse
428
00:35:57,820 --> 00:36:04,020
tree by taking a derivational viewุจู†ู…ุดูŠ ุนู„ู‰ ุฃุณุงุณ
429
00:36:04,020 --> 00:36:07,020
derivations ููŠ ูƒู„ ุฎุทูˆุฉ ู…ู† ุฎุทูˆุงุช ุงู„ derivation
430
00:36:07,020 --> 00:36:12,560
ุจู†ุจู†ูŠ ู…ุง ูŠู‚ุงุจู„ู‡ุง ุนู„ู‰
431
00:36:12,560 --> 00:36:18,660
ุงู„ parse tree a replacement of a single e by one
432
00:36:18,660 --> 00:36:22,860
of c will be here ู„ุฃู† ู‡ุฐุง ุงู„ูƒู„ุงู… ู…ู‚ุงุจู„ุชู‡ ุจุฑูˆุญ ุจุนู…ู„
433
00:36:22,860 --> 00:36:31,180
notes ุนู„ู‰ ุงู„ parse tree ุงู„ derivation ู„ู…ุง ู†ูƒุชุจ ุงู„
434
00:36:31,180 --> 00:36:37,710
derivationุฃูˆู„ ุญุงุฌุฉ ุณูˆู ู†ุณุชุฎุฏู… ุงู„ุณู‡ู… ู‡ุฐุง ุฅุดุงุฑุฉ ุฅู„ู‰
435
00:36:37,710 --> 00:36:42,270
ุงู„ุงู†ุชู‚ุงู„ ู…ู† ุงู„ู€string
436
00:36:42,270 --> 00:36:52,750
of symbols ุฅู„ู‰ ุงู„ู„ูŠ ุจุนุฏู‡ ูƒู„ ูˆุงุญุฏ ู…ู†
437
00:36:52,750 --> 00:36:54,350
ู‡ุฐู‡ ุงู„ู€string of symbols
438
00:37:07,820 --> 00:37:18,840
ู…ู…ูƒู† ุชุฎูŠู„ู‡ ุนู„ู‰ ู‡ุฐู‡ ุงู„ู‡ูŠุฆุฉ ุนู„ู‰
439
00:37:18,840 --> 00:37:24,800
ู‡ุฐู‡ ุงู„ู‡ูŠุฆุฉ ุนุจุงุฑุฉ
440
00:37:24,800 --> 00:37:29,920
ุนู† ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ symbols ูˆ ููŠู‡ุง ู†ู†ุชุฑ ู…ู† ุงู„ a ูˆ ูˆุฑุง
441
00:37:29,920 --> 00:37:34,980
ู…ุฌู…ูˆุนุฉ ุฃุฎุฑู‰ ู…ู† ุงู„ symbolsุฃู„ู ู‡ุงู„ูŠ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„
442
00:37:34,980 --> 00:37:41,980
symbols ุงู„ a ู‡ุฐุง
443
00:37:41,980 --> 00:37:46,220
ู‡ูˆ ุงู„ู„ูŠ ุฌุงูŠุฉ ุงู„ุฏูˆุฑ ุนู„ูŠู‡ ููŠ
444
00:37:46,220 --> 00:37:49,540
ุงู„ replacement ูŠุนู†ูŠ ููŠ ุงู„ form ู‡ุฐุง ุงู†ุง ุจุชุณุชุจุฏู„ a
445
00:37:49,540 --> 00:37:54,220
ุจุงู„ symbols ุจุฃุญุฏู‰ ุงู„ productions ุชุจุนุชู‡ ูุจู†ุฑูˆุญ
446
00:37:54,220 --> 00:37:58,900
ุจู†ุดูˆู suppose ุงู† ุงู†ุง ููŠ ุนู†ุฏูŠ production a can have
447
00:37:58,900 --> 00:38:04,810
the form ูŠุจู‚ุงุด ุงู„ุฃู† ุจูŠุตูŠุฑ ู‡ุฐุง ุจูŠุชุญูˆู„ ุฅู„ู‰Alpha
448
00:38:04,810 --> 00:38:13,230
Gamma Beta ูุงุญู†ุง
449
00:38:13,230 --> 00:38:19,310
ุจุนุจุงุฑ ุฃุฎุฑู‰ ูƒู„ form ู‡ุฐุง form ูƒู„ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„
450
00:38:19,310 --> 00:38:24,070
symbols ู†ุจุญุซ ุนู† ุงู„ term ุงู„ non terminal ุงู„ู„ูŠ ุฌุงูŠ
451
00:38:24,070 --> 00:38:27,170
ุนู„ู‰ ุงู„ุฏูˆุฑ ุงู„ non terminal ุงู„ู„ูŠ ุฌุงูŠ ุนู„ู‰ ุงู„ุฏูˆุฑ ู‚ุจู„ู‡
452
00:38:27,170 --> 00:38:31,110
ููŠู‡ symbols ู…ุฎู„ุตูŠู† ูˆ ุจุนุฏู‡ ููŠู‡ symbols ู„ุณู‡ ุจุฏู‡ ูŠุฌูŠ
453
00:38:31,110 --> 00:38:35,810
ุนู„ูŠู‡ู… ุงู„ุฏูˆุฑ ู‡ูˆ ุงู„ู„ูŠ ุฃู†ุง ุฃุฏูˆุฑ ุนู„ูŠู‡ูุจู†ุจุฏู„ู‡ ูƒูŠูุŸ ู„ุฅู†
454
00:38:35,810 --> 00:38:41,050
ู†ุจุญุซ ุนู† ูˆุงุญุฏ ู…ู† ุงู„ productions ุชุจุนู‡ู†ู‡ ุงูŠู‡ุŸ ูู„ู†ู‚ูˆู„
455
00:38:41,050 --> 00:38:45,530
ุงูŠู‡ ูƒุงู† ููŠ ุงู„ form Gamma ูˆ ุจู†ุดูŠู„ู‡ ู‡ูˆ ูˆ ุจู†ุญุท Gamma
456
00:38:45,530 --> 00:38:50,730
Gamma ู‡ุฐู‡ ู…ุด ุณูŠู…ุจูˆ ูˆุงุญุฏ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ุณูŠู…ุจูˆุฒ okay ู‡ูŠ
457
00:38:50,730 --> 00:38:55,090
ุฃู‚ู„ ุนู† production ู‡ูŠ ุฃู‚ู„ ุนู† body ุชุจุนุช ู‡ุฏู ุงูŠุดุŸ
458
00:38:55,090 --> 00:38:58,730
ุงุฑุจุน ู…ู„ูŠูˆู† ู†ูŠุดุŸ ู‡ุฐุง ู‡ูˆ ุงู„ derivation ุชุจุนู†ุง ูˆุตูˆู„ุง
459
00:38:58,730 --> 00:38:58,990
ุฅู„ู‰
460
00:39:02,150 --> 00:39:08,690
ุงู„ู†ู‡ุงูŠุฉ ุงู„ู‰ form ูŠุทุจู‚ ุงู„ input ุงู„ู„ู‰ ุฏุฎู„ ู„ุฃู† ู„ู…ุง
461
00:39:08,690 --> 00:39:14,070
ุงู†ุง ุจู‚ู‰ ููŠ ุนู†ุฏูŠ ุณู„ุณู„ุฉ
462
00:39:14,070 --> 00:39:20,190
ู…ู† ู‡ุฐู‡ ุงู„ forms ู…ู…ูƒู† ู†ุนุจุฑ ุนู„ู‰ ูƒู„ ูˆุงุญุฏ ู…ู† ู‡ุฏูˆู„ุฉ
463
00:39:20,190 --> 00:39:23,950
ุจูŠู‚ูˆู„ alpha one derives alpha two derives alpha
464
00:39:23,950 --> 00:39:26,410
ูƒุฏู‡ ู„ุฃุฌู‡ุฒุฉ alpha n
465
00:39:30,730 --> 00:39:37,070
ู„ุฃู† ฮฑN ู‡ุฐุง ูŠูุชุฑุถ ุฃู† ู‡ูˆ ุณู„ุณู„ุฉ ุงู„ู€ tokens ุงู„ู„ูŠ ุฏุฎู„ุช
466
00:39:37,070 --> 00:39:45,910
ููŠ ุงู„ input ูุฅุฐุง ูุนู„ุง ุฃู†ุง ู‚ุฏุฑุช ุฃุตู„ ู…ู† S ู…ูุชุฑุถ
467
00:39:45,910 --> 00:39:56,110
ู…ู† ุงู„ input ู‡ูˆ ฮฑN ุฅุฐุง ูˆุตู„ุช ู…ู† S ุฅู„ู‰ ฮฑN ูŠุจู‚ู‰ ฮฑN ู‡ุฐุง
468
00:39:56,110 --> 00:40:03,220
ุณู„ูŠู…ุงู„ูˆุตูˆู„ ู…ู† S ุฅู„ู‰ ฮฑN ู„ุง ูŠุชู… ุจุฎุทูˆุฉ ูˆุงุญุฏุฉ ุจูŠุชู…
469
00:40:03,220 --> 00:40:15,860
ุจูˆุงุญุฏุฉ ุงูˆ ุงูƒุชุฑ ู…ู† ุงู„ derivations ู…ุธุจูˆุท S
470
00:40:15,860 --> 00:40:24,300
derives ฮฑN in zero or more steps ุณู…ุจูˆู„
471
00:40:24,300 --> 00:40:31,370
ุงู„ู„ูŠ ู‡ูˆ ุงู„ double arrow ู…ุน ุงู„ู†ุฌู…ุฉS Derives Alpha N
472
00:40:31,370 --> 00:40:37,910
In Zero Or More Steps ูƒุฐุง ูƒุงู† ุงู„ุญุงู„ุฉ ู„ูˆ ุจูŠุชุฑ ุฃูˆ
473
00:40:37,910 --> 00:40:41,950
ุฌุงู…ุนุฉ ู„ูˆ
474
00:40:41,950 --> 00:40:46,110
ุฑุงุญุถุช plus ู…ุนู†ุงู‡ ุฐู„ูƒ ุงู†ู‡ ููŠ ุฎุทูˆุฉ ูˆุงุญุฏ ุนู„ู‰ ุงู„ุฃู‚ู„ ู…ุด
475
00:40:46,110 --> 00:40:51,450
Zero One Or More Steps Derives In One Or More
476
00:40:51,450 --> 00:40:53,130
Steps
477
00:40:55,130 --> 00:40:59,230
ุฅุฐุง ู„ุงุญุธุชู… ูˆ ุฃู†ุง ุจุญูƒูŠ ู‡ุฐุง form ู‡ุฐุง form ู‡ุฐุง form
478
00:40:59,230 --> 00:41:03,830
ู…ู† derivation ุฅู„ู‰ ุงู„ู„ูŠ ุจุนุฏู‡ุง ุฃู†ุง ุจู†ุชู‚ู„ ู…ู† form ุฅู„ู‰
479
00:41:03,830 --> 00:41:07,890
form ุฅู„ู‰ form okay ู†ุณู…ูŠู‡ู… sentential forms
480
00:41:07,890 --> 00:41:19,510
sentence sentential forms ุชู…ุงู… sentential forms if
481
00:41:19,510 --> 00:41:26,620
S derives alpha in zero or more stepsุนู„ู‰ ุฃุณุงุณ ุฃู† S
482
00:41:26,620 --> 00:41:30,240
ู‡ูŠ ุงู„ู€ start symbol ุงู„ู€ start symbol ู„ู„ู…ุนุฑูุฉ ุงู„ู€ G
483
00:41:30,240 --> 00:41:38,200
ู†ู‚ูˆู„ ุฃู† Alpha ู‡ูˆ ุดูƒู„ ู…ุตุทู„ุญ ู…ุตุทู„ุญ ู…ุตุทู„ุญ ู…ู† ุงู„ู…ุนุฑูุฉ
484
00:41:38,200 --> 00:41:41,920
ู„ุง ุฃุนุฑู ู…ุง ู‡ูˆ ุงู„ูุฑู‚ ู…ุง ุจูŠู† ุดูƒู„ ู…ุตุทู„ุญ ูˆู…ุตุทู„ุญ ู„ุญุงู„ู‡ุง
485
00:41:41,920 --> 00:41:48,940
ุงู„ุดูƒู„ ู…ุตุทู„ุญ ู…ุตุทู„ุญ ู…ุตุทู„ุญ ูŠุญุชูˆูŠ ุนู„ู‰ terminals ูˆ non
486
00:41:48,940 --> 00:41:54,010
terminals ุฃู†ุง ู…ุนู†ู‰sentential form ุงู„ู„ูŠ ูŠุญุชูˆูŠ ุนู„ู‰
487
00:41:54,010 --> 00:41:57,110
ุงู„ terminals ูู‚ุท ู„ุฃู† ุงู„ input ุงู„ู„ูŠ ุฏุงูƒู„ ุนู„ูŠู‡ ู‡ูˆ ุงู„
488
00:41:57,110 --> 00:42:03,630
terminals ูู‚ุท ูˆ tokens ูู‚ุท okay sentential form
489
00:42:03,630 --> 00:42:12,170
may contain both terminals and non terminals ู‡ุฐุง
490
00:42:12,170 --> 00:42:16,170
ุฅุฐุง ูŠุญุชูˆูŠ ุนู„ู‰ both terminals and non terminals
491
00:42:16,170 --> 00:42:20,570
ุจู†ุณู…ูŠู‡ sentence ูˆู„ุง ุจู†ุณู…ูŠู‡ sentential form ุงุชู†ูŠู†
492
00:42:20,570 --> 00:42:25,630
sentential formsุจุณ ุฅุฐุง ูŠุญุชูˆูŠ ุนู„ู‰ terminals ูู‚ุท ูู‡ูˆ
493
00:42:25,630 --> 00:42:29,230
sentence a
494
00:42:29,230 --> 00:42:35,250
sentence of the grammar is a sentential form
495
00:42:35,250 --> 00:42:39,530
containing with no non-terminals ูŠุนู†ูŠ ูƒู„ู‡
496
00:42:39,530 --> 00:42:44,950
terminals the language generated by a grammar is
497
00:42:44,950 --> 00:42:49,790
its set of sentencesุงู„ู€ language ู‡ูŠ ู…ุฌู…ูˆุนุฉ ุงู„
498
00:42:49,790 --> 00:42:53,110
sentences ุงู„ู…ุฎุชู„ูุฉ ุงู„ู„ูŠ ู…ู…ูƒู† ุชุชูˆู„ุฏ ุนู† ู‡ุฐุง ุงู„
499
00:42:53,110 --> 00:42:56,510
grammar ุชูˆู„ุฏู‡ุง ุนู† ุงู„ grammar ู…ู† ุฎู„ุงู„ ุนู…ู„ูŠุฉ ุงู„
500
00:42:56,510 --> 00:43:02,710
derivation ู„ุฃู†ู‡ ุงู†ุง ู…ู† ุงุณุชุฎุฏุงู… symbol ุจุดูƒู„
501
00:43:02,710 --> 00:43:09,810
form ูˆุฑุง form ูˆุฑุง form ุจุตู„ ุงู„ู‰ sentence sentence
502
00:43:09,810 --> 00:43:13,420
ู‡ุฐู‡ ุนุจุงุฑุฉ ุนู† ุงูŠู‡ุŸ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ termsู„ูˆ ุฃุฎุฏุช ู…ุณุงุฑ
503
00:43:13,420 --> 00:43:17,960
ุขุฎุฑ ุจุตู„ ุฅู„ู‰ sentence ุฃุฎุฑู‰ ููƒุงูุฉ ุงู„ sentences
504
00:43:17,960 --> 00:43:22,500
ุงู„ู…ุฎุชู„ูุฉ ุงู„ู„ู‰ ู…ู…ูƒู† ุฃุตู„ ุฅู„ูŠู‡ุง ู…ู† ุงู„ start symbol
505
00:43:22,500 --> 00:43:28,180
ุนุจุฑ ุงู„ derivations ุงู„ู…ุญุชู…ู„ุฉ ูƒุงูุฉ ุงู„ sentences ุงู„ู„ู‰
506
00:43:28,180 --> 00:43:33,380
ุจุตู„ ุฅู„ูŠู‡ุง ู‡ุฏู‰ ุนุจุงุฑุฉ ุนู† ุงู„ language
507
00:43:33,380 --> 00:43:37,960
ุทูŠุจ
508
00:43:37,960 --> 00:43:45,520
ู‡ุฐุง ุงู„ู…ุซุงู„ ุงู„ู„ู‰ ู‚ุฏ ุฃูˆู‰ ุดูู†ุงู‡ูˆุดูˆูู†ุง ูƒูŠู ูŠุชุฑุฌู… ุนู„ู‰
509
00:43:45,520 --> 00:43:49,440
ุงุณุงุณ parse
510
00:43:49,440 --> 00:43:55,820
tree ุจุณ ููŠ ุดุบู„ ุฃุฎุฑู‰ ุจุฏู†ุง ู†ุญูƒูŠู‡ุง ูˆู‡ูŠ ุฃู†ู‡ ู„ู…ุง ู†ุญู†
511
00:43:55,820 --> 00:44:00,500
ู†ุนู…ู„ replacement ุงุญู†ุง
512
00:44:00,500 --> 00:44:06,800
ุฃุฎุฏู†ุง ุฃูˆู„ ู…ุงุดูŠู†ุง ุงุญู†ุง ู…ู† ุงู„ุดู…ุงู„ ุนู„ู‰ ุงู„ form ู‡ุฐุง
513
00:44:06,800 --> 00:44:12,680
ุฃุฎุฏู†ุง ุงู„ E ุตุญุŸู„ุฃู† ู‡ูˆ ุงู„ูˆุญูŠุฏ ุงุตู„ุง ู„ุงู† ุงู†ุช ู…ู† ุงู„ูˆุญูŠุฏ
514
00:44:12,680 --> 00:44:17,860
ุญูˆู„ู†ุง ุงู„ู‰ ุงู„ุฌูˆุฒ ูˆ ุงู„ E ู…ุน ุงู„ุฌูˆุฒ ุจุนุฏ ุงู† ู‡ู†ุง ุจุฑุถู‡ ู‡ูˆ
515
00:44:17,860 --> 00:44:24,420
ุงู† ุงู†ุช ู…ู† ุงู„ูˆุญูŠุฏ E plus ุชู…ุงู… ุงุนุทุงู†ูŠ ุงู„ E ูˆ ุงู„ plus
516
00:44:24,420 --> 00:44:29,500
ูˆ ุงู„ E ุงู„ุงู† ููŠ ุงู†ุง two E ู‡ู†ุง ูƒู„ู‡ู… ุงู„ E ู‡ูŠ ุงู„ุญุงู„ุฉ
517
00:44:29,500 --> 00:44:33,400
ุฌุงูŠุฉ ู…ุง ุจูŠู† terminals ุจุณ ู‡ู†ุง ู‡ู†ุง ููŠ E ูˆ ู‡ู†ุง ููŠ E
518
00:44:33,400 --> 00:44:41,570
ุชู…ุงู… ุงู†ุง ุฏุงูŠู…ุง ุจุงุฎุฏ ุงู„ left mostุงู„ุดู…ุงู„ ู‡ูˆ ุงู„ู„ู‰
519
00:44:41,570 --> 00:44:47,610
ุจุฑูˆุญ ุจู‚ู‰ ุจุนู…ู„ู‡ replacement ู‚ุจู„ ุงู„ูŠู…ูŠู† ูู‡ุฐุง ุงุณู…ู‡
520
00:44:47,610 --> 00:44:53,510
leftmost derivation ู„ูˆ ุฃู†ุง ุจู‚ู‰ ุฃุฎุฏ ุงู„ูŠู…ูŠู† ุฃูˆู„
521
00:44:53,510 --> 00:44:58,730
ุจุณู…ูŠู‡ rightmost derivation ูุงู„ leftmost derivation
522
00:44:58,730 --> 00:45:04,110
ุจูŠูƒูˆู† ู†ุงุฎุฏ ุงู„ leftmost non terminal in each
523
00:45:04,110 --> 00:45:10,960
sentential form ู‡ูˆ ุงู„ู„ู‰ ุฏุงูŠู…ุง ุจู†ุญุงูˆู„ู‡ุงู„ู€ leftmost
524
00:45:10,960 --> 00:45:15,040
ู†ุจุฏุฃ ู…ู† ุงู„ู€ leftmost ูŠุนู†ูŠ ู„ูˆ ููŠ ุนู†ุฏูŠ ุงุชู†ูŠู† ูˆู„ุง
525
00:45:15,040 --> 00:45:19,820
ุนู†ุฏูŠ ุฎู…ุณ ุฏุงูŠู…ุง ุจุงุฎุฏ ุงุญูˆู„ ุงู„ุงูˆู„ ูˆุงุญุฏ ู…ู† ุงู„ุดู…ุงู„
526
00:45:19,820 --> 00:45:24,480
ุงุญูˆู„ุชู‡ ุฏุงูŠู…ุง
527
00:45:24,480 --> 00:45:28,580
ุจุญูˆู„ ุงู„ุงูˆู„ ูˆุงุญุฏ ู…ู† ุงู„ุดู…ุงู„ ูุงู†ุง ู…ุงุฌุฏุฑุด ุงุฎู„ุท ุงุนู…ู„
528
00:45:28,580 --> 00:45:32,400
leftmost ู…ุฑุฉ leftmost ูˆ ู…ุฑุฉ rightmost ู…ุฑุฉ .. ู„ุฃ
529
00:45:32,400 --> 00:45:37,130
ู„ุงุฒู… ุงุญูˆู„ ุงู…ุง leftmost ุฏุงูŠู…ุงุฃูˆ rightmost ูŠุนู†ูŠ ุงู„ู€
530
00:45:37,130 --> 00:45:40,070
LM ู‡ุฐู‡ ุงุฎุชุตุงุฑ ู„ู€ leftmost ู‡ูˆ ุงู„ู€ default ูŠุนู†ูŠ ุงู„ู€
531
00:45:40,070 --> 00:45:47,830
default ุงู† ุงุญู†ุง ุจู†ุนู…ู„ replacement leftmost ูˆุงุถุญุŸ
532
00:45:47,830 --> 00:45:53,790
ุทูŠุจ ุทูŠุจ ู‡ุฐุง ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุงู†ุง ุฑุฌุนู†ุงู‡ ู„ุชู‡ ุชุงู†ูŠ ุงู„ู„ูŠ
533
00:45:53,790 --> 00:45:58,350
ู‡ูˆ ุชุจุน ุนู„ุงู‚ุฉ ุงู„ parts trees ุจุงู„derivations ุฒูŠ ู…ุง
534
00:45:58,350 --> 00:46:02,970
ุงู†ุช ุดุงูŠู ู‡ู†ุง ุฑุณุงู„ุฉ
535
00:46:02,970 --> 00:46:10,730
ููŠ ุงู„ sub treesุจุฏู„ ู…ุง ูŠุญุท ุงู„ form ุณุจุชุฑูŠู‡ ู‡ูŠ ุงู„ E
536
00:46:10,730 --> 00:46:14,430
ูƒุงู†ุช ู‡ูŠ ุงู„ start symbol ุงู„ุงู† ููŠ ุงู„ derivation
537
00:46:14,430 --> 00:46:20,010
ุงู„ุฃูˆู„ู‰ ุดุงู„ ุงู„ E ูˆ ุญุท ุจุฏู„ู‡ุง minus E ูˆ ุนู…ู„ูŠุง ุฑุงูƒูŠู‡ุง
538
00:46:20,010 --> 00:46:24,270
ูƒูŠู ุงู† ู‡ูˆ ุงูŠุด ุงู„ E minus ู‡ูˆ ุงู„ E ุนุจุงุฑุฉ ุนู† children
539
00:46:24,270 --> 00:46:28,670
ู…ู† ุงู„ E ููŠ ุงู„ derivation ุงู„ู„ูŠ ุจุนุฏู‡ุง ู…ู† ุงู„ leftmost
540
00:46:28,670 --> 00:46:33,310
ู‡ูŠุชู… ุงุณุชุฎุฏุงู„ู‡ ุจุงู„ E ุจุนุฏ ุงู„ู…ุตุงู„ู€ Derivation ุงู„ู„ูŠ
541
00:46:33,310 --> 00:46:37,410
ุจุนุฏู‡ุง ุงุณุชุจุฏู„ ุงู„ู€ E ู„ุฌูˆู‡ ุงู„ู€ Ghost ุจุงู„ุณุทุฑ ูŠุฏู‡ ุงู„ู€
542
00:46:37,410 --> 00:46:40,390
Derivation ุงู„ู„ูŠ ุจุนุฏู‡ุง ุงุณุชุจุฏู„ ุงู„ู€ E ู„ุดู…ุงู„ ุจุงู„ู€
543
00:46:40,390 --> 00:46:48,930
Identifier ูˆ ุจุนุฏู‡ุง ุงุณุชุจุฏู„ ุงู„ู€ E Sequence
544
00:46:48,930 --> 00:46:52,630
of parts and trees for the derivation ุงู„ุดูŠุก ุงู„ู„ูŠ
545
00:46:52,630 --> 00:46:58,970
ุฃุฌุงุจู„ูŠูƒ ู‡ุฐุง ุงู„ูƒู„ุงู… ูƒู„ู‡ ู†ู‚ุฏุฑ ู†ุนุชุจุฑู‡ ู…ู‚ุฏู…ุฉ ู„ุฃู† ุงุญู†ุง
546
00:46:58,970 --> 00:47:03,970
ู…ุฑ ุนู„ูŠ ุฃู† ุฃุฌุงุจู„ูŠูƒ ุตุญุŸ ุตุญุŸุฃูˆ ุงู„ ambiguity ุจุฑุถู‡ ู…ุฑุช
547
00:47:03,970 --> 00:47:08,650
ุนู„ูŠู†ุง ู‚ุจู„ ู‡ูŠูƒ ุงู„ ambiguity ุงู†ุง ุจุชู‚ูˆู„ ุงู† ุนู†ุฏูŠ ุงู„
548
00:47:08,650 --> 00:47:15,050
grammar ู†ูุณู‡ุง ู‡ุฐู‡ ุงู„ู„ูŠ ู‡ูŠ ุงู„ู„ูŠ ู‡ูŠ ุชุจุน ุงุฑุจุนุฉ ุชู„ุงุชุฉ
549
00:47:15,050 --> 00:47:20,570
ุงู„ู„ูŠ ู‡ูŠ ุฎู„ูŠู†ูŠ ุงูƒุชุจู‡ุง ู„ูŠู‡
550
00:47:20,570 --> 00:47:28,870
ุงู„ุณุทุฑ ู‡ุฐุง ุงู„ู„ูŠ ูƒุงู†ุŸ ู„ูŠุดุŸ ู‡ูˆ ู‡ุฐุง ู†ุนู… ูƒุงู† ุจุฑููˆุธุงู‡
551
00:47:28,870 --> 00:47:29,190
ุงู„ู…ุนู†ู‰
552
00:47:31,960 --> 00:47:53,940
ู‡ุฐู‡ ุงู„ุจุฑุงู…ุฑ Ambiguous Ambiguous ุงุดุฑุจ
553
00:47:53,940 --> 00:47:54,620
ู†ูุณูŠ
554
00:47:58,160 --> 00:48:01,660
ู…ุฎุฏู‡ ู‡ูˆ ูƒู…ุซุงู„ ู„ู€ Ambiguity ุจู…ุนู†ู‰ ุงู†ู‡ ุงู†ุง ู„ูˆ ููŠ
555
00:48:01,660 --> 00:48:08,560
ุนู†ุฏูŠ ุงู„ grammar ู‡ุงู„ูƒ ูˆ ููŠ ุนู†ุฏูŠ input ูˆ ุงู„ input ู‡ู‰
556
00:48:08,560 --> 00:48:13,240
ุฏู‡ ูŠุญุชูˆูŠ ุนู„ู‰ identifier ุจุนุฏูŠู† ุนู„ุงู…ุฉ ุงู„ุฒุงุฆุฏ ุจุนุฏูŠู†
557
00:48:13,240 --> 00:48:16,380
identifier ุงุฎุฑ ุจุนุฏูŠู† ุนู„ุงู…ุฉ ุงู„ุถู…ู† ุจุนุฏูŠู† identifier
558
00:48:16,380 --> 00:48:22,920
ุงุฎุฑ ูู‡ูˆ ุงู„ IDs ู‡ุฏูˆู„ุฉ ุชู„ุชุฉ different IDs ุงู„ู…ู‡ู… ุงู†ู‡
559
00:48:22,920 --> 00:48:29,380
ุชู„ุชุฉ identifiersone possible derivation ุงู† ู‡ุฐู‡
560
00:48:29,380 --> 00:48:34,820
ุงู†ุธุฑ ุงู„ู‰ ู‡ุฐุง ู‡ูŠูƒ ุนู„ู‰ ุงู†ู‡ expression ูˆ ู‡ุฐุง
561
00:48:34,820 --> 00:48:39,400
expression ูˆ ุจูŠู†ู‡ู… ุงู„ุฒุงุฆุฏ ุจุนุฏูŠู† ู‡ุฐุง ู‡ูˆ ุนุจุงุฑุฉ ุนู†
562
00:48:39,400 --> 00:48:47,440
two expressions ู…ุง ุจูŠู†ู‡ู… ุงูŠุด ุงู„ุถุบุท ุซู… ูุฎู„ุงุต ู‡ุฐุง
563
00:48:47,440 --> 00:48:52,480
identifier ูˆู‡ุฐุง identifier ูˆู‡ุฐุง identifier ู‡ุฐุง
564
00:48:52,480 --> 00:48:59,640
ุงู„ู„ูŠ ู‡ูŠ ุงู„ู„ูŠ ู‡ูŠ ู‡ุฐุง ุตุญุฃุฎุฏ ุงู„ู€ identifier ุงู„ุฃูˆู„ุงู†ูŠ
565
00:48:59,640 --> 00:49:05,480
ุนู„ู‰ ุงู†ู‡ ุงูŠุด ุงุฎุฏ ูƒู„ ุงู„ expression ุนู„ู‰ ุงู†ู‡ two
566
00:49:05,480 --> 00:49:09,060
expressions ู…ูุตูˆู„ูŠู† ุนู† ุจุนุถ ุจุงู„ุฒุงูŠุฏ ุตุญ two
567
00:49:09,060 --> 00:49:12,700
expressions ุจูŠู†ู‡ู… ุฒุงูŠุฏ ุจุนุฏูŠู† ุงู„ expression ุงู„ุฃูˆู„
568
00:49:12,700 --> 00:49:15,840
ู‡ูˆ identifier ูˆุงู„ expression ุงู„ุชุงู†ูŠ ู‡ูˆ ุนุจุงุฑุฉ ุนู†
569
00:49:15,840 --> 00:49:21,360
two expressions ุจูŠู†ู‡ู… ุถุฑุจ ุตุญ ุงู„ one derivation ุงู„
570
00:49:21,360 --> 00:49:27,270
derivation ุงู„ุชุงู†ูŠ ุงู† ู„ุฃู‡ู… ุนุจุงุฑุฉ ุนู† two expressions
571
00:49:27,270 --> 00:49:31,790
ู…ูุตูˆู„ูŠู† ุนู† ุจุนุถ ุฃูˆ ู…ุง ุจูŠู†ู‡ู… ุงูŠุดุŸ ู…ุง ุจูŠู†ู‡ู… ุถุฑุจ ู‡ุงูŠ
572
00:49:31,790 --> 00:49:37,270
.. ู‡ุฐุง ู‡ูŠ ุงู„ expression ูุงู„ู…ุนุฑูุฉ
573
00:49:37,270 --> 00:49:42,650
ุจุชุณู…ุญ ู„ุฐู„ูƒ .. ุงู„ู…ุนุฑูุฉ ุจุชุณู…ุญ ู„ุฐู„ูƒ ููŠ ุงู†ุฏูŠุจูˆุฏูŠ ุฃูˆ
574
00:49:42,650 --> 00:49:47,790
production ู…ุทุงุจู‚ ู„ู„ุณุจุนุฉ ูู…ู† ู‡ู†ุง ุตุงุฑ ููŠ ambiguity
575
00:49:47,790 --> 00:49:53,970
ambiguity ุงู† ููŠ two different derivationsfor the
576
00:49:53,970 --> 00:49:58,730
same input two different derivations ูŠุนู†ูŠ two
577
00:49:58,730 --> 00:50:02,950
different parse trees two different parse trees ุตุญ
578
00:50:02,950 --> 00:50:10,490
ุŸ ู‡ุฐุง ุงู„ูƒู„ุงู… ุบูŠุฑ ู…ุฑููˆุถ ู…ุฑููˆุถ ู„ุงุฒู… ุชุฒุงู„ ู‡ุฐุง ุงู„
579
00:50:10,490 --> 00:50:18,130
ambiguity ุชู…ุงู…
580
00:50:18,130 --> 00:50:18,270
ุŸ
581
00:50:25,690 --> 00:50:31,210
ุงู„ุงู† ุงุญู†ุง ู‡ู†ุทู„ุน ุนู„ู‰ ุงู„ุฃู…ุฑ ู‡ุฐุง ุจุณ ูŠุฏุตู„ ุงู†ู‡ ุงู„
582
00:50:31,210 --> 00:50:34,590
language ูŠุฌุจ ุงู†ู‡ ู…ุงูŠุฌุนุด ููŠู‡ุง ุงูŠ ambiguity ุนุดุงู†
583
00:50:34,590 --> 00:50:39,510
ู…ุงูŠุฌุนุด ููŠ ู…ุดูƒู„ุฉ ุงู„ู„ูŠ ู‡ูˆ ู‡ู„ ู†ุงุฎุฏ ู‡ู„ ุงู„ expression
584
00:50:39,510 --> 00:50:45,650
ู‡ุฐุง ู†ุญุณุจู‡ ู‡ูŠูƒ ูˆ ู„ุง ู†ุญุณุจู‡ ู‡ูŠูƒ ุทูŠุจ ุงูู„ุช ู‡ุฐู‡ ุงู„ุงุฑุจุนุฉ
585
00:50:45,650 --> 00:50:48,470
asset ุงู„ู„ูŠ ู‡ูˆ verifying the language generated by
586
00:50:48,470 --> 00:50:52,540
grammarูˆ ู†ุทู„ุน ุนู„ู‰ .. ุจุฑุถู‡ ูƒู…ุงู† ุงู„ context free
587
00:50:52,540 --> 00:50:56,640
grammars versus irregular expressions ุจุฑุถู‡ ุจุฏูŠ
588
00:50:56,640 --> 00:51:03,460
ุฃุชุฑูƒู‡ุง ู‡ูŠ ุจุณ ู„ุงุญุธุฉ ุตุบูŠุฑุฉ ุงู†ู‡ ู„ูŠุด ูŠูƒูˆู† ููŠ ุนู†ุฏู†ุง
589
00:51:06,120 --> 00:51:10,900
ู„ูŠุด ุจูŠูƒูˆู† ููŠ ุนู†ุฏู†ุง .. ู‡ูˆ ุจุณ ุจูŠุนู„ู‚ ุนู„ู‰ ุงู„ูุตู„ ู…ุง ุจูŠู†
590
00:51:10,900 --> 00:51:15,020
ุดุบู„ ุงู„ .. ุดุบู„ ุงู„ syntax analysis ู…ูุตูˆู„ ุนู† ุงู„
591
00:51:15,020 --> 00:51:18,640
lexical analysis ูˆ ู‡ู†ุงูƒ ู…ุณุชุฎุฏู… regular expressions
592
00:51:18,640 --> 00:51:23,600
ูˆ ู‡ู†ุง ู…ุณุชุฎุฏู… grammar ู„ูŠุด ุจูŠุจู‚ู‰ ุงู„ grammar ุงูˆ
593
00:51:23,600 --> 00:51:27,680
regular expression ู„ู„ู…ุณุชูˆูŠูŠู†ุŸ
594
00:51:27,680 --> 00:51:32,380
ุจุฑูŠุฏูƒ ุงู†ู‡ ูุนู„ุง ููŠ ุนู†ุฏูŠ ุฃู†ุญู„ุงุช ุงู†ู‡ ู‡ุฐุง ุงู„ regular
595
00:51:32,380 --> 00:51:36,580
expression ุจู‚ุฏุฑ ุฃุจู‚ู‰ ุนู„ู‰ ุดูƒู„ grammarูู„ูŠุด ู…ุง ูŠูƒูˆู†
596
00:51:36,580 --> 00:51:40,900
ุฎู„ุงุต ุณูˆุงุก lexical analysis ูˆู„ุง syntax analysis
597
00:51:40,900 --> 00:51:47,140
ู†ุณุชุฎุฏู… grammar ู„ูŠุด ู‡ู†ุงูƒ ู†ุณุชุฎุฏู… regular expressions
598
00:51:47,140 --> 00:51:50,900
ูˆ ู‡ู†ุงูƒ ู†ุณุชุฎุฏู… grammar ู…ุฒุงู„ ุงู„ grammar ุจุชุณุฏ ุงู„ุบู„ุท
599
00:51:50,900 --> 00:51:58,640
ุจุชุฃุฏูŠ ุงู„ุบู„ุท ู„ู„ lexical ุชู…ุงู… ูู‡ูˆ ุจูŠุจุฏุฃ ูŠุญุชุงุฌ
600
00:51:58,640 --> 00:52:04,280
ุงู„ู…ุฒุงูŠุง ุงู„ context free grammar ุนู„ู‰ ุงู„ุจุงุฎุชุตุงุฑ ุงู„
601
00:52:04,280 --> 00:52:09,240
regular expression ุจูŠุคุฏูŠ ุบุฑุถ ุงู„ lexical analysis ุจ
602
00:52:09,240 --> 00:52:15,760
efficiency ูŠุนู†ูŠ ุจู‚ุฏุฑ ูƒุจูŠุฑ ูŠุนู†ูŠ ุจูŠุคุฏูŠ ุงู„ุบุฑุถ ูˆ ุจุฏูˆู†
603
00:52:15,760 --> 00:52:19,920
ุฃูŠ ุงู„ุญุงุฌุฉ ุฅู„ู‰ ุชุนุฑูŠู productions ูˆู…ุง ุฅู„ู‰ ุฐู„ูƒ ูˆ ุงู„
604
00:52:19,920 --> 00:52:25,440
grammar ุจุชุคุฏูŠ ุงู„ุบุฑุถ ุชุจุน ุงู„ syntax analysis ุจุดูƒู„
605
00:52:25,440 --> 00:52:31,230
ุฃูุถู„ ู…ู† ุงู„ regular expressionsุซู… ุงู† ุงู„ูุตู„ ู‡ุฐุง ุนู†
606
00:52:31,230 --> 00:52:40,250
ู‡ุฐุง ุจูŠุนุทูŠู†ุง ุฅู…ูƒุงู†ูŠุฉ ุงู† ู†ุจู†ูŠ ุงู„ analyzer ุจู…ู†ุนุฒู„
607
00:52:40,250 --> 00:52:47,870
ุนู† ุงู„ syntax analysis ู„ูˆ ุจุฏู†ุง module ูˆุงุญุฏ ูŠุนู…ู„ ุงู„
608
00:52:47,870 --> 00:52:51,590
syntax analysis ูˆ ุงู„ lexical analysis ู‡ุชุตูŠุฑ
609
00:52:51,590 --> 00:52:58,090
ุงู„ู…ุณุฃู„ุฉ ู…ุนู‚ุฏุฉู…ุนู‚ุฏุฉ ูƒุซูŠุฑ ู„ู…ุง ูŠู†ูุตู„ lexical analysis
610
00:52:58,090 --> 00:53:02,690
ุนู† ุงู„ syntax analysis ูŠุนุทูŠู†ุง modularity ูŠุนู†ูŠ ุงู„ู„ูŠ
611
00:53:02,690 --> 00:53:08,340
ุงุชู…ูƒู†ู†ุง ู…ู† ุจู†ุงุก ุงู„ compiler ุจุดูƒู„ ุฃุฑูŠุญุงู„ู„ูŠ ู‡ูˆ ุงู† ูƒู„
612
00:53:08,340 --> 00:53:13,120
ูˆุงุญุฏ ูŠุนุชู…ุฏ ุนู„ู‰ ุงู„ tool ุงู„ู…ู†ุงุณุจุฉ ุงู„ lexical
613
00:53:13,120 --> 00:53:17,200
analyzer ุจูŠุนุชู…ุฏ ุนู„ู‰ ุงู„ regular expressions ู…ู†ุงุณุจุฉ
614
00:53:17,200 --> 00:53:21,960
ู„ุบุฑุถู‡ ูˆ ุงู„ syntax analyzer ุจุชุนุชู…ุฏ ุนู„ู‰ ุงู„ context
615
00:53:21,960 --> 00:53:27,940
free grammar ุงู„ู„ูŠ ู…ู†ุงุณุจุฉ ู„ุบุฑุถู‡ ููŠู…ุง
616
00:53:27,940 --> 00:53:32,900
ูŠุชุนู„ู‚ ุจูŠู‡ ุงู„ู„ูŠ ู‡ูˆ ุงู„ tokens ูˆ ุงู„ุฃุณุงู…ูŠ
617
00:53:35,340 --> 00:53:38,000
ูˆ ุงู„ grammar ุฃูุถู„ ููŠ ุฅูŠุดุŸ ุงู„ grammar ุฃูุถู„ ููŠ ุชุนุจูŠุฑ
618
00:53:38,000 --> 00:53:42,740
ุนู† ุงู„ syntax ุงู„ syntax ุชุจุนุช ุงู„ ุฅูŠุดุŸ ุชุจุนุช ุงู„
619
00:53:42,740 --> 00:53:51,920
statements ูˆ ุงู„ .. ุงู†ุช ุนุงุฑู ูƒูŠูุŸ ูŠุนู†ูŠ ุงู„ regular
620
00:53:51,920 --> 00:53:58,780
expression ู…ุง ุจูŠู‚ุฏุฑ ุบู„ุท ููŠ ุงู„ grammar ุทูŠุจ ููŠ
621
00:53:58,780 --> 00:54:02,000
exercise ููŠ ู†ู‡ุงูŠุฉ section ุฃุฑุจุนุฉ ุงุชู†ูŠู† ู‡ูŠ ูƒู†ุง ู†ู‡ุงูŠุฉ
622
00:54:02,000 --> 00:54:07,650
ุฃุฑุจุนุฉ ุงุชู†ูŠู†ู‡ู†ุงูƒ ู…ุฌุงู„ุงุช ููŠ ู…ุงู†ุนูŠุฉ 4.2 ูŠุฌุจ ุฃู† ู†ู†ุธุฑ
623
00:54:07,650 --> 00:54:13,970
ุนู„ูŠู‡ุง ู„ุฃู†ู‡ ููŠู‡ุง ู…ุณุงุฆู„ ูƒุซูŠุฑุฉ ู„ูƒูŠู ู†ู‚ูˆู… ุจุนู…ู„
624
00:54:13,970 --> 00:54:18,170
derivation ูˆ parse ุงู„ trees ุจู†ุงุก ุนู„ู‰ ุงู„ grammar
625
00:54:18,170 --> 00:54:23,490
ุฎุงุตุฉ ุงุญู†ุง ู‡ูŠูƒ ุจู†ูƒูˆู† ุบุทูŠู†ุง section 4.1 ูˆ 4.2
626
00:54:24,060 --> 00:54:27,640
ูˆุงู„ู…ุญุงุถุฑุฉ ุงู„ู‚ุงุฏู…ุฉ ุณู†ุจุฏุฃ ููŠ ุฃุฑุจุนุฉ ุฃูˆ ุชู„ุงุชุฉ ูˆู†ุดูˆู
627
00:54:27,640 --> 00:54:36,080
ุทุจูŠุนุฉ left recursion ุซู… ู†ุจุฏุฃ ู†ุญูƒูŠ ููŠ ุงู„ top-down
628
00:54:36,080 --> 00:54:38,780
parsing ูˆ ุงู„ bottom-up parsing