abdullah's picture
Add files using upload-large-folder tool
a6daeb8 verified
raw
history blame
52.8 kB
1
00:00:21,000 --> 00:00:23,120
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ุงู„ุตู„ุงุฉ ูˆุงู„ุณู„ุงู… ุนู„ูŠูƒู… ูˆุฑุญู…ุฉ
2
00:00:23,120 --> 00:00:25,360
ุงู„ู„ู‡ ูˆุจุฑูƒุงุชู‡ ุงู„ูŠูˆู… ุฅู† ุดุงุก ุงู„ู„ู‡ ุงุญู†ุง ุจุฏู†ุง ู†ุดูˆู
3
00:00:25,360 --> 00:00:30,910
ุชุทุจูŠู‚ ุงู„ู…ุซุงู„ ุงู„ุซุงู†ูŠ ู„ุชุทุจูŠู‚
4
00:00:30,910 --> 00:00:36,450
ุงู„ู€ syntax directed definitions ููŠ ุจู†ุงุก ุงู„ู€ syntax
5
00:00:36,450 --> 00:00:41,730
trees ูƒู†ุง ุดูˆูู†ุง ู‚ุจู„ ู‡ูŠูƒ ู…ุซุงู„ ุงู„ู„ูŠ ู‡ูˆ ุจุงุณุชุฎุฏุงู… ุงู„ู€ S
6
00:00:41,730 --> 00:00:46,130
attributed definition ูƒูŠู ุชู†ุจู†ู‰ ุงู„ู€ syntax tree
7
00:00:46,130 --> 00:00:50,790
ุจุงุณุชุฎุฏุงู… ุงู„ู€ S attributed definition ุงู„ู…ุซุงู„ ุงู„ุซุงู†ูŠ
8
00:00:50,790 --> 00:00:55,950
ุจุฑุถู‡ ู„ู€ Syntax Tree ูˆู„ูƒู† ุงู„ู€ Definition ุงุฎุชู„ู ุงู„ู€
9
00:00:55,950 --> 00:00:59,170
Attributed Definition ุงู„ู€ Attributed Definition
10
00:00:59,170 --> 00:01:03,910
ู‡ุฐุง ู…ุจู†ูŠ ุนู„ู‰ ุงู„ู€ grammar ู‡ุฐู‡ ุงู„ู€ grammar ู‡ุฐู‡ ู‚ู„ู†ุง
11
00:01:03,910 --> 00:01:07,550
ุงุญู†ุง ู‚ุจู„ ู‡ูŠูƒ ุงู†ู‡ ุจุชุนุงู„ุฌ ุงู„ู€ left recursion ุงู„ู„ูŠ ููŠ
12
00:01:07,550 --> 00:01:09,970
ุงู„ู€ grammar ุงู„ุฃุตู„ูŠุฉ ุงู„ู€ grammar ุงู„ุฃุตู„ูŠุฉ ุงู„ู„ูŠ ุงู†ุจู†ู‰
13
00:01:09,970 --> 00:01:13,170
ุนู„ูŠู‡ุง ุงู„ู€ S attribute ุงู„ู€ definition ุงู„ู„ูŠ ู‡ูŠ ู‡ุฐู‡ ู‡ุฐู‡
14
00:01:13,170 --> 00:01:16,290
ููŠู‡ุง left recursion ูˆู„ุง ู„ุฃ ูุฅู† ุนู…ู„ุช ุงู„ู€ grammar
15
00:01:16,290 --> 00:01:17,270
ุงู„ุซุงู†ูŠุฉ ู‡ุฐู‡
16
00:01:20,150 --> 00:01:23,830
ุจุชุชุฎู„ุต ู…ู† ุงู„ู€ left recursion ูˆุจุงู„ุชุงู„ูŠ ุตุงุฑ ุฃู†ุง
17
00:01:23,830 --> 00:01:29,910
ู…ุงุจู‚ุฏุฑ ุงุนู…ู„ S-synthesized attributes ูุงู†ุนู…ู„ ุงู„ู€
18
00:01:29,910 --> 00:01:32,970
inherited attributes
19
00:01:35,480 --> 00:01:38,520
ุจู†ุงุก ุนู„ู‰ ุงู„ู€ inherited attributes ูˆุงู„ุบุฑุงู…ุฑ ู‡ุฐู‡
20
00:01:38,520 --> 00:01:42,020
ู„ุฏูŠู†ุง ุงู„ู€ ill-attributed definition ุจุงู„ุชุงู„ูŠ ุจู†ุดูˆู
21
00:01:42,020 --> 00:01:45,380
ูƒูŠู ู‡ุฐุง ุงู„ู€ ill-attributed definition ุจูŠุจู†ูŠ ..
22
00:01:45,380 --> 00:01:48,880
ุจูŠุนู…ู„ ู†ูุณ ุงู„ุบุฑุถ ุงู„ุฃูˆู„ุงู†ูŠ ุงู„ู„ูŠ ู‡ูˆ ุจู†ุงุก ุงู„ู€ syntax
23
00:01:48,880 --> 00:01:52,540
tree ุงู„ู€ syntax tree ู†ูุณ ุงู„ู€ example ุงู„ุฃูˆู„ุงู†ูŠ ุงู„ู„ูŠ
24
00:01:52,540 --> 00:01:56,920
ู‡ูˆ ูƒุงู† ุนู†ุฏู†ุง ุงุญู†ุง input .. ูƒุงู† ุนู†ุฏู†ุง input string
25
00:01:56,920 --> 00:02:04,340
ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ A ู†ุงู‚ุต 4 ุฒุงุฆุฏ C okay
26
00:02:05,850 --> 00:02:12,510
ุงู„ู€ syntax tree ู„ู‡ุฐุง ุงู„ู€ input ู‡ุชูƒูˆู† ุจุจุณุงุทุฉ node
27
00:02:12,510 --> 00:02:19,410
ู„ู„ู€ plus ุชุดูŠุฑ ุฅู„ู‰ node ุงู„ุซุงู†ูŠุฉ ุชุจุน ุงู„ู€ minus ุงู„ู„ูŠ
28
00:02:19,410 --> 00:02:26,690
ุชุดูŠุฑ ู…ู† ู†ุงุญูŠุฉ ุฅู„ู‰ ุงู„ู€ node ุชุจุน ุงู„ู€ identifier a ูˆ
29
00:02:26,690 --> 00:02:34,170
node ุงู„ุซุงู†ูŠุฉ ุชุจุน ุงู„ู€ number 4
30
00:02:37,850 --> 00:02:41,410
ู‡ุฐุง ุงู„ู€ plus ุชุดูŠุฑ ุฅู„ู‰ ุงู„ู€ minus ูˆู…ู† ู†ุงุญูŠุฉ ุฃุฎุฑู‰
31
00:02:41,410 --> 00:02:50,430
ุชุดูŠุฑ ุฅู„ู‰ ุงู„ู€ node ุชุจุน ุงู„ู€ identifier C ู†ูุณ
32
00:02:50,430 --> 00:02:53,630
ุงู„ู€ tree ุงู„ู„ูŠ ุนู…ู„ุชู‡ุง ููŠ ุงู„ู€ example ุงู„ุฃูˆู„ุงู†ูŠ ุจุฏุง ู‡ูŠ
33
00:02:53,630 --> 00:02:59,610
ู†ูุณ ุงู„ู„ูŠ ุนู…ู„ุชู‡ุง ุจุณ ุงู„ุขู† ุงู„ุทุฑูŠู‚ุฉ ุงู„ู€ ู‚ู„ูŠู„ุฉ ุงุฎุชู„ูุช ุงู„ู€
34
00:02:59,610 --> 00:03:04,930
grammar ุงุฎุชู„ูุช ูˆ ุงุชุฑุชุจ ุนู„ูŠู‡ุง .. ุงู„ู€ grammar ุงุฎุชู„ูุช
35
00:03:04,930 --> 00:03:08,650
ูˆ ุงุชุฑุชุจ ุนู„ูŠู‡ุง rules ุฃุฎุฑู‰ ูุงุญู†ุง ุงู„ุขู† ุจุฏู†ุง ู†ู…ุดูŠ step
36
00:03:08,650 --> 00:03:14,270
by step ุจู†ุฒู…ู†ุง ู†ุชุฎู„ู‰ ุงู„ .. ุงูŠุด .. ุงู„ู€ grammar ู‡ู†ุง ูˆ
37
00:03:14,270 --> 00:03:19,810
ู†ุนู…ู„ ุงู„ู€ tree ู‡ู†ุง okay ุงู„ู€ tree ุทุจุนุง ุจุฏู†ุง ู†ุดุชุบู„ ุงู„ู€
38
00:03:19,810 --> 00:03:24,310
syntax tree ู…ุน ุงู„ู€ parse tree ููŠ ุขุฎุฑ ูˆุงุญุฏ ู‡ุงูŠ ุงู„ู€
39
00:03:24,310 --> 00:03:29,060
syntax tree okay ูุจุฏู†ุง ู†ุฏู†ูŠู‡ุง ุชุฏุฑูŠุฌูŠู‹ุง ู…ุน ุงู„ู€
40
00:03:29,060 --> 00:03:36,000
Pulsing ุงู„ู€ Pulsing ู„ู„ุฅูƒุณุจุฑุดู† ู‡ุฐุง ู‡ูŠุจุฏุฃ ู…ู† ุงู„ู€
41
00:03:36,000 --> 00:03:40,700
start symbol ุงู„ู„ูŠ ู‡ูˆ E ู…ุธุจูˆุท ุงู„ู€ E ู…ุง ู„ูˆุด ุฅู„ุง
42
00:03:40,700 --> 00:03:45,200
production ูˆุงุญุฏุฉ ุงู„ู„ูŠ ู‡ูŠ T E prime ู…ุธุจูˆุท ุงู„ุขู† ุงู„ู€ T
43
00:03:45,200 --> 00:03:49,120
ู‡ุฐุง ุจุฏุฃ ู†ุจุฏุฃ ููŠู‡ ุงู„ู€ T ู‡ุฐุง ุจุชุชุงุฎุฏ ุนู„ู‰ ุฅู† ูˆุงุญุฏ ู…ู†
44
00:03:49,120 --> 00:03:55,050
ุงู„ุซู„ุงุซ productions ู‡ุฏูˆู„ุฉ ุทุจุนุง ู‡ุชูƒูˆู† ุงู„ู€ production
45
00:03:55,050 --> 00:04:00,290
ุงู„ูˆุณุทุงู†ูŠุฉ ุฑู‚ู… 6 ุงู„ู„ูŠ ู‡ูŠ identifier ูˆ ุงู„ู€
46
00:04:00,290 --> 00:04:03,950
identifier ู‡ู†ุง ู‡ูˆ ุนุจุงุฑุฉ ุนู† ุงู„ู€ ุฅูŠุด ุนู† ุงู„ู€ A okay
47
00:04:03,950 --> 00:04:10,230
ุจุตุจูˆุท ุงู„ุงู† ุงู„ู€ rule ุชุจุน ู‡ุฐุง ุงู„ู€ production ู‡ูŠ ุฃู†ู‡
48
00:04:10,230 --> 00:04:14,190
ุจุฏู†ุง ู†ุนู…ู„ ุงู„ู€ leaf node ุงู„ุฃูˆู„ู‰ ุงู„ู€ leaf node ุงู„ุฃูˆู„ู‰
49
00:04:14,190 --> 00:04:18,890
ุจุฏู†ุง ู†ุนู…ู„ ุฃุญุทู‡ุง ุนู„ู‰ ุงู„ุฌุงู†ุจ ู‡ุฐุง ุฃูˆ ุชุญุช ู‡ู†ุง ุงู„ู€ leaf
50
00:04:18,890 --> 00:04:26,840
node ุงู„ุฃูˆู„ู‰ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ identifier ุงู„ู„ูŠ ุงู„ู€ A
51
00:04:26,840 --> 00:04:31,440
ุงู„ู€ A ุงู„ู€
52
00:04:31,440 --> 00:04:42,580
A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A
53
00:04:42,580 --> 00:04:52,220
ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A
54
00:04:52,220 --> 00:04:56,580
ุงู„ู€ A ุงู„ู€ A ุงู„ู€ A ููŠ entry ู„ุญุฑู A ุฑู‚ู… ูˆุงุญุฏ ููŠ ุงู„ู€
55
00:04:56,580 --> 00:05:00,260
table ู†ูุชุฑุถ ุฑู‚ู… ูˆุงุญุฏ ููŠ ุงู„ู€ table ุจุนุฏู‡ุง ูƒุงู„ุชุงู„ูŠ ู„ู…ุง
56
00:05:00,260 --> 00:05:03,180
ุงู„ู€ lexical analyzer ูŠุดูˆู ุงู„ู€ C ุจุทู„ ู‡ูŠุนู…ู„ู‡ุง entry
57
00:05:03,180 --> 00:05:07,120
ูˆุฅุฐุง ููŠ ุบูŠุฑู‡ู… ู‡ูŠุนู…ู„ู‡ู… entry ู…ุธุจูˆุท ูู€ dot entry
58
00:05:07,120 --> 00:05:16,860
attribute ุชุจุนุช ุงู„ู€ identifier ุชุณุงูˆูŠ one ู…ุธุจูˆุท one
59
00:05:16,860 --> 00:05:23,910
ุชุณุงูˆูŠ one ู„ูƒู† ุงุญู†ุง ุนุดุงู† ู„ุง ู†ุดุฑุจ ุญุงู„ู†ุง ุงู„ู€ one ู‡ุฐุง
60
00:05:23,910 --> 00:05:30,810
ูŠุดูŠุฑ ุฅู„ู‰ ุฅูŠุด ูˆ ูƒุฏู‡ ู†ุญุท ุงู„ู€ a ุนู„ู‰ ุทูˆู„ dot entry ุชุดูŠุฑ
61
00:05:30,810 --> 00:05:34,910
ุฅู„ู‰ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ entry ููŠ ุงู„ู€ table ูู‡ุฐู‡ attribute
62
00:05:34,910 --> 00:05:38,870
entry dot entry ู‡ูŠ ุฃูˆู„ attribute ุจุชุงุฎุฏ ุงู„ู€ value
63
00:05:38,870 --> 00:05:42,490
ุชุจุนู‡ุง ุฃู†ุง ุญุทูŠุช ุงู„ู€ ูˆุงุญุฏ ููˆู‚ ุงู„ูŠุณุงูˆูŠ ู„ุฃู† ุงู„ูŠุณุงูˆูŠ ู‡ูŠ
64
00:05:42,490 --> 00:05:47,170
ุนู…ู„ูŠุฉ ุงู„ู€ assignment ูุฃูˆู„ ุนู…ู„ูŠุฉ ุฃุทุงุน value ู„ู€
65
00:05:47,170 --> 00:05:54,860
attribute ู‡ูŠ ุงู„ูŠุณุงุฑ ู‡ุฐุงุŒ ู…ุธุจูˆุทุŸ ุจุนุฏ ุฐู„ูƒ ู„ู…ุง ุชุจู†ูŠ ุงู„ู€
66
00:05:54,860 --> 00:06:00,340
node ู„ู…ุง ุชุจู†ูŠ ุงู„ู€ node ู„ู…ุง
67
00:06:00,340 --> 00:06:04,620
ุชุฎู„ุต ุงู„ู€ leave method ุฃูˆ ุงู„ู€ leave function ุชุจู†ูŠ ุงู„ู€
68
00:06:04,620 --> 00:06:08,260
node ุจุชุฑูˆุญ ุจุงู„ู€ selling pointer ู„ู…ู†ุŸ ู„ุถุจุท node
69
00:06:08,260 --> 00:06:13,760
attribute ุชุจุนุช ู…ู†ุŸ ุชุจุนุช
70
00:06:13,760 --> 00:06:18,000
ุงู„ู€ T ุตุญุŸ ุฃุตุจุญุช ุงู„ุขู† ู‡ุฐุง ูƒุดูŠุฑ ุฅู„ู‰ ู‡ุฐุง ุงู„ู€ node
71
00:06:22,170 --> 00:06:27,290
ู‡ุฐู‡ ุงู„ู€ attribute ุงู„ู„ูŠ ุจุชุงุฎุฏ value ุจุนุฏ ุงู„ู€
72
00:06:27,290 --> 00:06:33,790
attribute ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ
73
00:06:33,790 --> 00:06:34,930
ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ
74
00:06:34,930 --> 00:06:35,170
ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ
75
00:06:35,170 --> 00:06:37,750
ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ
76
00:06:37,750 --> 00:06:37,830
ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ
77
00:06:37,830 --> 00:06:50,630
ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ ู„ุฃ
78
00:06:55,010 --> 00:07:00,430
ุฎู„ุตุช ุชู†ููŠุฐ ู‡ุฐู‡ ุงู„ู‚ู…ุฑุฉ ูˆุงู„ุนู…ู„ูŠุฉ ุชุณุชุฃู†ู ููŠ ุนู…ู„ูŠุฉ ุงู„ู€
79
00:07:00,430 --> 00:07:05,850
parsing ุชูƒู…ู„ ุนู…ู„ูŠุฉ ุงู„ู€ parsing ููŠ ุนู†ุฏูŠ ุงู„ู€ E' ู‡ุฐุง ุงู„ู€
80
00:07:05,850 --> 00:07:13,330
E' ู‡ุฐุง ุงู„ู„ูŠ ู‡ูˆ ุงู„ุดู‚ ู‡ูŠูƒ ุตุญุŸ ุจุฏู‡ ู†ุนู…ู„ู‡ parsing ุจุจุฏุฃ
81
00:07:13,330 --> 00:07:16,630
ุจุงู„ู€ minus ูŠุจุฏูˆ ุนู„ู‰ ุทูˆู„ ุงู„ู€ parsing ู‡ูŠุฌูŠ ุนู„ู‰ ุงุณุชู†ุชุงุฌ
82
00:07:16,630 --> 00:07:17,370
ู„ู‡ุฐุง ุงู„ู€ rule
83
00:07:20,670 --> 00:07:27,110
ูŠูˆุฌุฏ ููŠู‡ minus ูˆ T ูˆ E' ุงู„ู€ E' ู‡ูŠ ุงู„ู€ child ุงู„ู€ E' ู‡ุฐู‡
84
00:07:27,110 --> 00:07:31,810
ุงู„ู€ T
85
00:07:31,810 --> 00:07:34,330
ู‡ุฐู‡ ุทุจุนุง ุงู„ู€ minus ุงู„ู„ูŠ ุจุฏู†ุง ู†ุนู…ู„ู‡ ู…ุงุชุด ุงู„ู€ T ู‡ุฐู‡
86
00:07:34,330 --> 00:07:40,130
ุจุฏุฃ ู„ู†ุนู…ู„ู‡ parsing parsing ุนู„ู‰ ุฃุณุงุณ ู…ู† ู‡ุฐูˆู„ู‡ ุงู„ู€ ..
87
00:07:40,130 --> 00:07:43,930
ู„ุฃู† ุนู†ุฏูŠ ุฃุฑุจุนุฉ ุฎุงุทุฑ ุณู†ุฉ ู‡ู†ุง ุงุฌุชุฒู†ุง ุงู„ู€ minus ุณู†ุฉ
88
00:07:43,930 --> 00:07:47,630
ุนู„ู‰ ุงู„ุงุฑุจุนุฉ ูŠุจู‚ู‰ ู‡ุฐูŠ none ูˆ ุงู„ู€ none ู‡ุฐุง ุงูŠู‡ ู‡ูˆ
89
00:07:47,630 --> 00:07:48,970
attribute ุงุณู…ู‡ ููŠ ุฐู„ูƒุŸ
90
00:07:52,520 --> 00:07:55,980
Okay ู‡ุฐู‡ ุงู„ู€ attribute ุงุณู…ู‡ุง value ุจุชุงุฎุฏ .. ุจุชุงุฎุฏ
91
00:07:55,980 --> 00:08:02,940
ุงูŠุดุŸ ุจุชุงุฎุฏ .. ุจุชุงุฎุฏ .. ุจุชุงุฎุฏ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ value ุชุจุน
92
00:08:02,940 --> 00:08:06,800
ุงู„ู€ number ุงู„ู„ูŠ ู‡ูŠ 4 ูุฃุตุจุญ ุงู† ู‡ุฐุง ุฑู‚ู… ุชู„ุงุชุฉ ุงู„ู€
93
00:08:06,800 --> 00:08:10,140
attribute ุงู„ุฑู‚ู… ุงู„ุซุงู„ุซุฉ ุงู„ู„ูŠ ุจุชุงุฎุฏ ุงู„ู€ value ุชุจุนู‡
94
00:08:10,140 --> 00:08:17,900
ุงู„ุขู† ุงู„ู€ leaf ู‡ุฐู‡ ุงู„ู€ leaf ู‡ุฐู‡ ุจุชุนู…ู„ ุงู„ุขู† note ุฃุฎุฑู‰
95
00:08:17,900 --> 00:08:24,900
ู„ู„ู€ number 4 ุงู„ู€ pointer ุชุจู‚ู‰ ู‡ุฐู‡ ุงู„ู€ note ุชุจู‚ู‰ ุงู„ู€
96
00:08:24,900 --> 00:08:28,700
T ุชุจู‚ู‰ ุงู„ู€
97
00:08:28,700 --> 00:08:32,600
T ุชุจู‚ู‰
98
00:08:32,600 --> 00:08:35,980
ุงู„ู€
99
00:08:35,980 --> 00:08:39,160
T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰
100
00:08:39,160 --> 00:08:39,420
ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T
101
00:08:39,420 --> 00:08:41,320
ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰
102
00:08:41,320 --> 00:08:49,440
ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T ุชุจู‚ู‰ ุงู„ู€ T
103
00:08:49,440 --> 00:08:58,030
ุชุจู‚ู‰ ุงู„ุขู† ุฎู„ุงุต ุงู„ุฃู…ุฑ ู‡ุฐุง ุงูŠู‡ ู†ู†ุชู‚ู„ ุฅู„ู‰ ุงูŠู‡ ู‡ูˆ ุงู„ู€ E
104
00:08:58,030 --> 00:09:01,670
prime ู‡ุฐู‡ ู†ุนู…ู„ู‡ุง ุงู„ู€ parsing ุชุจุนู‡ุง ุงู„ู€ parsing ุชุจุน
105
00:09:01,670 --> 00:09:07,430
ุงู„ู€ E prime ู‡ุฐู‡ ู‡ูŠุฎุด ุนู„ู‰ ุงู„ุดุงุดุฉ ุฅูŠุด ู…ุง ู†ุณูˆูŠ ุณู… ููŠ
106
00:09:07,430 --> 00:09:16,610
ุงู„ู…ุตุญู ุขู‡ ุจุฏูŠ ุงุฌูŠุจ ู‡ุฐุง ู‡ูŠูƒ ุงุฌูŠุจู‡ ู…ู† ู‡ู†ุง ูˆ ู‡ุฐู‡ ุฎู„ุงุต
107
00:09:16,610 --> 00:09:23,320
ู‡ุฐู‡ ุจู†ุฒูŠุญู‡ุง ุดูˆูŠ ู‡ูŠูƒ ุจุตูŠุฑ none ุจุทู„ ุณูˆุงุก ุฃุฑุจุนุฉ ูˆู‡ุฐุง
108
00:09:23,320 --> 00:09:30,520
ุงู„ู„ูŠ ุจู†ุนู…ู„ู‡ุง ุงู„ุขู† ู‡ุฐุง ุงู„ู€ E' ุงู„ุขู† ุงุญู†ุง ุจู†ุญูƒูŠ ุนู†
109
00:09:30,520 --> 00:09:35,800
ุงู„ู€ ู…ุทุจู‚ ู‡ุฐู‡ ุฃูˆ ุฌุฒุก ู‡ุฐุง ู…ู† ุงู„ู€ input ุฒุงุฆุฏ ุฒุงุฆุฏ ูˆ T ูˆ
110
00:09:35,800 --> 00:09:43,400
E ุงู„ุขู† ุชุฑุชูŠุจ ุงู„ู€ value ู‡ุงูŠ ูˆุงุญุฏ ู‡ุงูŠ ุงุซู†ูŠู† ู‡ุงูŠ ุซู„ุงุซุฉ
111
00:09:43,400 --> 00:09:47,820
ู‡ุงูŠ ุฃุฑุจุนุฉ ุงู„ุขู†
112
00:09:48,430 --> 00:09:53,590
ูŠูุชุฑุถ ุงู† ุงูƒู…ู„ ูู„ุงุด ููŠ ู‡ุฐุง ุงู„ุงุชุฌุงู‡ ุงุฌูŠ ู‡ู†ุง ุงุนู…ู„
113
00:09:53,590 --> 00:09:57,890
natural plus ูˆ ุงุจุฏุฃ parsing ุงู„ู€ T ู„ู„ู€ T ุนุจุงุฑุฉ ุนู†
114
00:09:57,890 --> 00:10:04,130
identifier ุตุญ ุงู„ู„ูŠ ู‡ูˆ enter ููŠ ุงู„ู€ symbol table
115
00:10:04,130 --> 00:10:13,210
ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ C ุงู„ุขู† ู‡ุฐู‡ ูƒุฐู„ูƒ ุงู„ุญุงู„ุฉ ู‡ุฐู‡
116
00:10:13,210 --> 00:10:17,870
ุณุชุตุจุญ ุฎู…ุณุฉ ุงู„ู„ูŠ ู‡ูˆ ู‚ูˆู„ู†ุง ุฅูŠุด C ุงู„ู„ูŠ ู‡ูŠ ุฃุนู„ุงู‡ ุงุซู†ูŠู†
117
00:10:17,870 --> 00:10:21,710
ูŠุนู†ูŠ ุจุชุนู…ู„ู‡ node ูŠุนู†ูŠ ุงู„ุขู† ุจุนุฏูŠู† ุจุชุชุนู…ู„ ุงู„ู€ node ุฏู‡
118
00:10:21,710 --> 00:10:25,790
six ุตุญูŠุญ ุจู†ุนู…ู„ ู‡ุฐุง rule leave node ุงู„ู€ node ู‡ุฐูŠ
119
00:10:25,790 --> 00:10:31,470
ุจู†ุญุทู‡ุง ู‡ู†ุง ุงุจู‚ู‰ on identifier C ุงู„ู„ูŠ ุฃู†ุง ุงุถุบุท node
120
00:10:31,470 --> 00:10:38,790
ุชุจุน ู‡ุฐุง ุจุชุชุฃุดุฑ ุนู„ูŠู‡ ูู‡ุฐุง ุจูŠุตูŠุฑ ุฅูŠู‡ ุณุชุฉ ุตุจุฑ ุนู„ู‰ ุฅูŠูƒ
121
00:10:38,790 --> 00:10:44,300
ูˆุงุญุฏ ุงู„ุขู† ุงู„ุฅุดูƒุงู„ูŠุฉ ุงู† ุงู†ุซูŠ ู‡ู†ุง ุงู†ุงุชุฑุชูŠุจ ู…ุงุดูŠ ู…ุนุงู‡
122
00:10:44,300 --> 00:10:51,720
ูƒูˆูŠุณ ู„ุบุงูŠุฉ ู‡ู†ุง ู‡ู†ุง ู‡ุฐุง ู‚ุจู„ ู…ุง ูŠุนู…ู„ ุงู„ู€ C ุฑุงุญ ุงุนุทู‰
123
00:10:51,720 --> 00:10:57,840
ุงู„ .. ุฃูˆ ุงู„ู„ูŠ ุนู…ู„ุชู‡ุง ู‡ุฐูˆู„ .. ุงู„ู„ูŠ ู‡ู… ุงุนุทู‰ ุงู„ู€ top
124
00:10:57,840 --> 00:11:02,600
note ู„ู€ ุงู„ู€ top inherited ุชุจุน ุชู…ูŠู† ุชุจุน ุงู„ู€ E prime
125
00:11:02,600 --> 00:11:08,000
ูˆุจุงู„ุชุงู„ูŠ
126
00:11:08,000 --> 00:11:13,640
ู‡ุฐุง ูˆุงุญุฏ ุงุซู†ูŠู† ุซู„ุงุซุฉ ุงุฑุจุนุฉ ุฎู…ุณุฉ ูˆ ุจุนุฏูŠู† ุงู„ู€ inherited
127
00:11:13,640 --> 00:11:22,520
ู‡ุฐู‡ ุจุฑุถู‡ ุฑุญู„ู‡ุง ู„ู„ู€ inherited ุชุจุนุช ู‡ุฐู‡ ู…ุงุดูŠู‡ุง
128
00:11:22,520 --> 00:11:29,860
ูˆู‡ุฐู‡ ุฃุตุจุญุช ุณุชุฉ ูˆ ุจุนุฏู‡ุง ุตุงุฑ ุงู† ู‡ุฐู‡ ุณุจุนุฉ ูˆู‡ุฐู‡ ุซู…ุงู†ูŠุฉ
129
00:11:29,860 --> 00:11:36,280
ุจู†ุงุก ุนู„ู‰ ุงู„ุฑุณู…ูŠุฉ ุนู…ู„ูŠู‹ุง ู‡ุฐุง ู‡ูˆ ุงู„ุตุญูŠุญ ู‡ูŠูƒ ู„ุฃู† ุฃู†ุง
130
00:11:36,280 --> 00:11:36,640
ุงู„ุขู†
131
00:11:43,620 --> 00:11:49,740
ู„ุงุญุธ ุดุบู„ ุงู†ู‡ ุญุชู‰ ุงู„ุขู† ู‡ู†ุฏูŠ ุซู„ุงุซ notes ู…ุชูุงุฑู‚ุฉ ู…ุงุนูŠ
132
00:11:49,740 --> 00:11:53,240
pointers ุนู„ูŠู‡ู… ู„ุณู‡ ู…ุงุฑุจุทู‡ู… ู…ุด ุฃู†ุง ุจุงู„ู€ operations
133
00:11:53,240 --> 00:11:57,660
ุจุงู„ู€ minus ูˆ ุงู„ู€ plus ูˆูŠู† ุจุฏูŠ ุงุนู…ู„ .. ู…ูŠู† ุฃูˆู„ ุดูŠุก ุจุฏูŠ
134
00:11:57,660 --> 00:12:01,860
ุงุนู…ู„ ุงู„ู€ minus ูˆู„ุง ุงู„ู€ plus ุงู„ู€ plus ูˆู„ุง ุงู„ู€ minus
135
00:12:01,860 --> 00:12:08,440
ุงู„ู€ minus ู…ุด ุนุงุฑู ุนู„ู‰ ูƒูŠู ู„ูŠุด ู„ุฃู†ู‡ ุฃู†ุง ุงู„ุขู† ุงู„ู„ูŠ
136
00:12:08,440 --> 00:12:13,040
ุฃู†ุง ุงู„ุขู† ุจุนุฏ ู…ุง ุนู…ู„ุช ู‡ุฐู‡ ุจุนุฏ ู…ุง ุนู…ู„ุช ู‡ุฐู‡ ุจุฏูŠ ุงุนู…ู„
137
00:12:13,590 --> 00:12:19,410
ุงู„ู€ Note ุชุจุนุช ุงู„ู€ minus ู„ุฃู†ู‡ ุงุญู†ุง ุฎุดูŠู†ุง
138
00:12:19,410 --> 00:12:23,750
ู‡ุฐุง ุงู„ู€ identifier ุชู„ุณูŠ ูƒู†ุง ูˆูŠู† ูƒู†ุง ู‡ู†ุง ูƒู†ุง ู‡ู†ุง ู„ู…ุง
139
00:12:23,750 --> 00:12:30,350
ุฎุดูŠู†ุง ุตุญ ูˆู„ุง ู„ุฃ ูˆู„ุง ูƒู†ุง ู‡ู†ุง ุงูˆู„
140
00:12:30,350 --> 00:12:38,870
ุดูŠุก minus ุฎุดูŠู†ุง ู‡ุงูŠ E ุจุนุฏูŠู† ุฎุดูŠู†ุง T ุจุนุฏูŠู† ุงู„ู€ E
141
00:12:38,870 --> 00:12:47,460
prime ุจุนุฏูŠู† ุงู„ู€ minus ุจุนุฏูŠู† E ู„ุฃู† ุนู…ู„ุช ุงู„ู€ node ู‡ุฐู‡ ูˆ
142
00:12:47,460 --> 00:12:54,040
ู„ุฃู† ุนู…ู„ุช ุงู„ู€ node ู‡ุฐู‡ ู…ุธุจูˆุทุŒ ูˆ ุงู„ุขู† ุฎุดูŠู†ุง ุงู„ุชุงู†ูŠ ุนู„ู‰
143
00:12:54,040 --> 00:13:02,260
ุงู„ู€ plus ูˆ ุงู„ู€ T ูˆ ุจุนุฏูŠู† E ุตุญุŸ ู…ุธุจูˆุท okayุŒ ูˆ ุฃู†ุง ุงู„ุขู†
144
00:13:02,260 --> 00:13:07,180
ุจุฏู†ุง ู†ุนู…ู„ ุงู„ู€ plus ู…ุธุจูˆุทุŒ ูุงู„ุงู† ุงู„ู€ plus ู„ู…ุง ุจุฏุฃู†ุง ..
145
00:13:07,180 --> 00:13:11,680
ู„ู…ุง ุจุฏุฃู†ุง ู†ุนู…ู„ ุนู„ู‰ ู…ุณุชูˆู‰ ู‡ุฐุงุŒ ุทูŠุจ ุจุฏุง two pointers
146
00:13:11,680 --> 00:13:13,200
pointer ูŠุดูŠุฑ ุฅู„ู‰ ู…ูŠู†ุŸ
147
00:13:17,680 --> 00:13:23,460
ุตุจุฑ ุดูˆูŠุฉ ุตุจุฑ ุดูˆูŠุฉุŒ ุงุญู†ุง ุงู„ุงู† ุจุฏู†ุง ู†ุนู…ู„ ุงู„ู€ minus
148
00:13:23,460 --> 00:13:30,320
ุงู„ู„ูŠ ุงู„ู…ูุฑูˆุถ ุชุนู…ู„ ู‡ูˆ
149
00:13:30,320 --> 00:13:34,260
ุนู…ูˆู…ุง
150
00:13:34,260 --> 00:13:37,520
ุทุงู„ุน ูƒูŠู ุงุญู†ุง ุงู„ุงู† ุจุฏู†ุง two nodes ุงู„ู€ plus ูˆ ุงู„ู€
151
00:13:37,520 --> 00:13:43,780
minus ุงู„ู€ plus ุจุฏุชุงุฎุฏ pointer ุนู„ู‰ ุงู„ู€ minus ู…ุธุจูˆุท ู‡ูŠ
152
00:13:43,780 --> 00:13:48,300
ุงู„ู€ tree ู…ุฑุฉ ุฃุฎุฑู‰ ู‡ูŠ ุงู„ู€ tree ุตุญุŒ ุงู„ู€ plus ู„ุชุฃุฎุฐ ุงู„ู€
153
00:13:48,300 --> 00:13:51,140
pointer ุนู„ู‰ ุงู„ู€ minusุŒ ุงู„ู€ minus ุนู†ุฏู‡ุง ุจุฏุง two
154
00:13:51,140 --> 00:13:58,560
pointers ูˆุงุญุฏ ุนู„ู‰ ุงู„ู€ a ูˆ ูˆุงุญุฏ ุนู„ู‰ ู…ูŠู†ุŒ ุนู„ู‰ ุงู„ุฑู‚ู…
155
00:13:58,560 --> 00:14:04,180
ุฃุฑุจุนุฉ ุตุญุŸ ุจุบุถ ุงู„ู†ุธุฑ ุนู† ู…ูŠู†ุŒ ุจุฏูˆู†ูŠ ุฃุนู…ู„ ุงู„ุฃูˆู„ ุฃู†ุง
156
00:14:04,180 --> 00:14:07,800
ุงู„ุขู† ู„ูˆ ุจุฏุฃ ุฃุนู…ู„ ุงู„ู€ minus ู†ูุชุฑุถ ุงู„ู€ minus ู‡ุฐู‡ ุจุฏุง
157
00:14:07,800 --> 00:14:13,080
pointer ุนู„ู‰ ุงู„ู€ a ูˆ ุจุฏุง pointer ุชุงู†ูŠ ุนู„ู‰ ุงู„ุฃุฑุจุนุฉ
158
00:14:13,080 --> 00:14:17,900
ุทูŠุจ ุฃู†ุง ููŠ ุงู„ู€ level ู‡ุฐุง ู…ู† ูˆูŠู† ุจุฏุฃ ุฃุฌูŠุจ pointer ุนู„ู‰
159
00:14:17,900 --> 00:14:23,960
ุงู„ู€ aุŒ ุงู„ู€ a sibling ุงู„ู€ a ุงู„ู€ a ุงู„ู€ node ู‡ุฐู‡ ู…ูŠู† ู…ุนุงู‡
160
00:14:23,960 --> 00:14:27,380
ุงู„ู€ pointer ุชุจุนู‡ุงุŒ ุงู„ู€ dot node ูˆ ุงู„ู€ dot node sibling
161
00:14:27,380 --> 00:14:30,780
ู„ูŠ ุฃู†ุงุŒ ุญุชู‰ ู„ุฃุŒ ู…ุด sibling ู„ูŠ ุฃู†ุง ููŠ ุงู„ู…ุณุชูˆู‰ ู‡ุฐุง
162
00:14:30,780 --> 00:14:35,000
ุงู„ุขู† ุตุญุŸ ูŠุนู†ูŠ ุฃู†ุง ู‡ู†ุง child ุงู„ู„ูŠ ู„ู‡ุง ู‡ุฐู‡ ูˆู‡ุฐู‡
163
00:14:35,000 --> 00:14:39,460
sibling ู„ู„ูŠู‡ุŒ ูู„ุงุฒู… ู‡ุฐู‡ ุงู„ู€ pointer ุงู„ู„ูŠ ู‡ู†ุง ูŠุชุฑุญู„
164
00:14:39,460 --> 00:14:45,660
ู‡ู†ุงุŒ ุจุนุฏูŠู† ุฃู†ุง ุฃุฌูŠุจู‡ ู…ู† ุงู„ู€ parent ุจุธุจุท ุงู„ู„ูŠ ู‡ูˆ ุจุฑุถู‡
165
00:14:45,660 --> 00:14:49,590
ุงู„ู€ parentุŒ ู„ู…ุง ุจุฌูŠุจู‡ ู…ู† ุงู„ู€ parent ูุงู†ุง ู‚ุจู„ ู…ุง ุงุญูƒูŠ
166
00:14:49,590 --> 00:14:53,810
ุนู† ุจู†ุงุก ุงู„ู€ minus ูˆ ุงู„ุฒุงุฆุฏ ู„ุงุฒู… ุงุชู… ุนู…ู„ูŠุฉ ุชุฑุญูŠู„ ุงู„ู€
167
00:14:53,810 --> 00:14:59,330
pointer ู…ู† ู‡ู†ุง ู„ู‡ู†ุงุŒ ูˆู…ุซู„ ุฐู„ูƒ ู„ู…ุง ุฃู†ุง ุจุฏูŠ ุงุญูƒูŠ ุนู†
168
00:14:59,330 --> 00:15:04,590
ุงู„ู€ plus ู„ู…ุง ุฃู†ุง ุจุนู…ู„ plus ู…ุนุงู‡ pointerุŒ ุงู„ู€ plus ุจูŠู‡
169
00:15:04,590 --> 00:15:08,850
ุงูŠุด ุจุฏู‡ ุนู„ู‰ ูŠู…ูŠู†ู‡ุŒ ุจุฏู‡ ุงู„ู€ C ู‡ุงูŠ pointer ู…ุนุงู‡ ุนู„ู‰ ุงู„ู€
170
00:15:08,850 --> 00:15:13,450
C ู…ู† ู‡ู†ุง ุตุญุŸ ุจุณ ุจุฏูŠ pointer ุชุงู†ูŠ ุนู„ู‰ ุงู„ู€ minus ู…ู†
171
00:15:13,450 --> 00:15:19,580
ู‡ู†ุงุŒ ุฌูŠุจู‡ ุจุฏูŠู‡ุง ู…ู† ููˆู‚ ุตุญุŸ ูู„ุงุฒู… ุงู„ู€ attributes ู‡ุฐู‡
172
00:15:19,580 --> 00:15:23,940
ุงุชุฑุญู„ุŒ ุงู„ู€ values ู‡ุฐู‡ ุงุชุฑุญู„ุŒ ุงู„ู€ inherited ูˆ ู‡ุฐุง ู‡ูˆ
173
00:15:23,940 --> 00:15:26,880
ุงู„ุณุจุจ ุงู„ู„ูŠ ุงุณู…ู‡ุง inherited ู„ุฃู†ู‡ุง ุจุชุงุฎุฏ ู…ู† ุงู„ู€
174
00:15:26,880 --> 00:15:33,160
siblingุŒ ุจุนุฏ ุฐู„ูƒ ู‡ุฐู‡ ุงุชุฑุญู„ ุฅู„ู‰ ู…ูŠู†ุŒ ุฅู„ู‰ ุงู„ู€ child ูˆ
175
00:15:33,160 --> 00:15:36,520
ู„ู‡ุฐุง ุงู„ุณุจุจ ู‡ุฐู‡ ุงุณู…ู‡ุง inherited ุจุฑุถู‡ุŒ ุงุชุฑุญู„ ุฅู„ู‰ ุงู„ู€
176
00:15:36,520 --> 00:15:39,780
childุŒ ู‡ุฐุง ุงู„ุงู† ุฃู†ุง ูˆ ุฃู†ุง ู‡ู†ุง ูˆ ุฃู†ุง ู‡ู†ุง ููŠ ู‡ุฐุง
177
00:15:39,780 --> 00:15:45,790
ุงู„ู…ุณุชูˆู‰ ู…ุฏุนู… ู„ู€ plusุŒ ู…ุฏุนู… ู„ู€ plusุŒ ุงู„ู†ูˆุฏ ุชุจุน ุงู„ู€ plus
178
00:15:45,790 --> 00:15:51,670
ุจุงุฎุฏ ู‡ุง ุจุฏู†ุง ู†ุนู…ู„ ุงู„ู€ plus ุจุงุฎุฏ dot node ุชุจุน ุงู„ู€ T
179
00:15:51,670 --> 00:15:55,730
ุงู„ู€ T ุงู„ู„ูŠ ู‡ูŠ ุนู„ู‰ ู‡ุฐุง ุงู„ู…ุณุชูˆู‰ ุจุฏู†ุง ู†ุนู…ู„ ุงู„ู€ plus
180
00:15:55,730 --> 00:16:00,670
okayุŒ ุจุงุฎุฏ ุงู„ู€ dot T ุงู„ู„ูŠ ู‡ูŠ ุฃุฎุชู‡ุง ุจุงู„ู†ุณุจุงู„ูŠ ู„ู…ูŠู†
181
00:16:00,670 --> 00:16:06,950
ุนู„ู‰ ู‡ุฐุง ุงู„ู…ุณุชูˆู‰ child ุจุนู…ู„ ุงู„ู€ dot .. ุจุนู…ู„ ุงู„ู€ ..
182
00:16:06,950 --> 00:16:11,750
ุจุงุฎุฏ ุงู„ู€ dot node ุชุจุน ุงู„ู€ T ุงู„ู„ูŠ ุจุชุดุงุฑุน ุนู„ู‰ ุงู„ุฃุฑุจุนุฉ
183
00:16:11,750 --> 00:16:12,650
ุตุญุŸ
184
00:16:15,880 --> 00:16:20,740
ู„ุฃ ุงุญู†ุง ู‡ู†ุง ููŠ ุงู„ู…ุณุชูˆู‰ ู‡ุฐุง ุงู„ู€ dot node ุจุชุดูˆู‘ุฑ ุนู„ู‰
185
00:16:20,740 --> 00:16:25,180
ุงู„ู€ C ุตุญุŒ ุงู„ู€ dot node ุชุจุน ุงู„ู€ T ู‡ุฐู‡ ุจุชุดูˆู‘ุฑ ุนู„ู‰ ุงู„ู€ C ูˆ
186
00:16:25,180 --> 00:16:30,380
ุจุงู„ุฒู…ู† ุงูŠุดุŸ ุจุงู„ุฒู…ู† ุงู„ู€ pointer ูŠูˆุดูŠุฑ ุฅู„ู‰ ู…ูŠู†ุŸ ุฅู„ู‰
187
00:16:30,380 --> 00:16:35,080
ุงู„ู€ minusุŒ ู…ู† ูˆูŠู† ุจุฏุฃ ุงุฌูŠุจ ุงู„ู€ pointer ูŠูˆุดูŠุฑ ุฅู„ู‰ ุงู„ู€
188
00:16:35,080 --> 00:16:38,800
minusุŸ ู…ูŠู† ููŠ ู‡ุฐู‡ ุงู„ู„ุญุธุฉ ู…ุน ุงู„ู€ pointer ูŠูˆุดูŠุฑ ุฅู„ู‰
189
00:16:38,800 --> 00:16:44,120
ุงู„ู€ minusุŸ ู‡ูŠูƒูˆู† ู‡ู†ุง ู‡ุฐุง ุงู„ู€ pointerุŒ ู‡ุฐุง ุงู„ู€ pointer
190
00:16:48,190 --> 00:16:51,070
ุงู„ุถุจุทูŠ ู‡ุงุฏูŠ ุฃูˆ ุนู„ู‰ ุงู„ู…ุณุชูˆู‰ ู‡ุงุฏูŠุŒ ู‡ุงุฏูŠ ู…ุณุชูˆู‰ ุงู„ู€
191
00:16:51,070 --> 00:16:55,230
minus ุนู„ู‰ ุงู„ู…ุณุชูˆู‰ ู‡ุงุฏูŠุŒ ู‡ู†ูƒูˆู† ุงุญู†ุง ุงูŠุด ุณูˆูŠู†ุงุŒ ุนู…ู„ู†ุง
192
00:16:55,230 --> 00:16:59,010
ุงู„ู€ node ุชุจุน ุงู„ู€ minus ู‡ุชู†ุนู…ู„ุŒ ุงู„ู€ node ุชุจุน ุงู„ู€ minus ู‡ู†ุง
193
00:16:59,010 --> 00:17:09,750
ู‡ุชู†ุนู…ู„
194
00:17:09,750 --> 00:17:13,510
ุงู„ู€ minus ุนู„ู‰ ุงู„ู…ุณุชูˆู‰ ู‡ุงุฏูŠุŒ ู‡ุชู†ุนู…ู„ ุงู„ู€ minusุŒ ุงู„ู€ minus
195
00:17:13,510 --> 00:17:17,390
ุจุฏู‡ุง two pointers ูˆุงุญุฏ ูŠุดูŠุฑ ุฅู„ู‰ ุงู„ู€ A ูˆุงุญุฏ ุชุดูŠุฑ ุฅู„ู‰
196
00:17:17,390 --> 00:17:22,350
ุงู„ุงุฑุจุนุฉุŒ ุงู„ู€ A ู‡ุฐุง ุงู„ู…ูˆุถูˆุน ู‡ุชุฌูŠุจู‡ ู…ู† ุงู„ู€ E prime
197
00:17:22,350 --> 00:17:25,970
dot inherited ุงู„ู€ E prime dot inherited ุงู„ู„ูŠ ู‡ูŠ ู‡ุฐู‡
198
00:17:25,970 --> 00:17:31,770
ุงู„ู„ูŠ ุชุญุช ุงู„ููŠุฑูˆุณ ุตุญุŒ ู‡ุฐุง ุงู„ู…ูˆุถูˆุน ูŠุฃุชูŠ ู…ู† ู‡ู†ุง ูู‡ุฐุง
199
00:17:31,770 --> 00:17:37,910
ุงู„ุงู† ุงู†ุชุณุฎ ุฅู„ู‰ ู‡ู†ุงุŒ ุตุงุฑุช ู‡ุฐู‡ ุชุดูŠุฑ ุฅู„ู‰ ุงู„ู€ A ุตุญ ุงู„ุขู†
200
00:17:37,910 --> 00:17:42,910
ุจุงุฎุฏ ู‡ุฐุง ุงู„ู€ pointer ูˆ ุจุณุฌู„ู‡ ู‡ู†ุงุŒ ุทุจ ุชู‚ูˆู„ ุงู†ุง ุฌุงูŠุฉ
201
00:17:42,910 --> 00:17:46,570
ุงู†ุชุณุฎ ุนุดุงู† ุงู„ู€ simple examples ูŠุนู†ูŠ ุงู„ู€ pointer ุชุจุน
202
00:17:46,570 --> 00:17:50,930
ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุงู„ู€
203
00:17:50,930 --> 00:17:52,530
pointer ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุงู„ู€ pointer ุชุจุน ุงู„ู€ T
204
00:17:52,530 --> 00:17:53,510
ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง
205
00:17:53,510 --> 00:17:54,850
ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ
206
00:17:54,850 --> 00:17:56,850
ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„
207
00:17:56,850 --> 00:17:57,390
A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A
208
00:17:57,390 --> 00:17:57,890
ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน
209
00:17:57,890 --> 00:18:03,270
ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T ู„ู…ุง ุฑุงุญ ู†ุงู„ A ุชุจุน ุงู„ู€ T
210
00:18:03,270 --> 00:18:10,310
ู„ู…ุง ุฑุงุญ ู†ุงู„ A
211
00:18:10,310 --> 00:18:11,810
ุชุจุน ุงู„ู€ T
212
00:18:13,770 --> 00:18:19,250
ุฃุฌุชู†ูŠ .. ุฃุฌุชู†ูŠ ุงู„ู€ dot ุงู„ู€ pointer ุชุจุน ู‡ุฐู‡ ู‡ูŠ ู…ุฎุฒู†
213
00:18:19,250 --> 00:18:25,710
ู‡ู†ุง ุงุชุฑุญู„ ู‡ู†ุงุŒ ุตุงุฑุช ู‡ุฐู‡ ุงุดุชุบู„ุช ุงุชุฑุญู„
214
00:18:25,710 --> 00:18:31,570
ู„ุฃู† ู‡ูŠ ุนู†ุฏูŠ ุฃู†ุง ู‡ุฐู‡ ุจุชู‚ูˆู„ูŠ ุงู„ู€ dot
215
00:18:31,570 --> 00:18:36,870
node ุชุจุน ุงู„ู€ T ุจุชุฑูˆุญ ุนู„ู‰ ุงู„ู€ inherited ุชุจุน ุงู„ู€ E
216
00:18:36,870 --> 00:18:42,480
prime ุจุณ ู‡ูˆ ุงู„ุณุคุงู„ .. ุงู„ุณุคุงู„ ุงู„ุฃู‡ู… ุฃู† ู‡ุฐุง ุงู„ุฃู…ุฑ ..
217
00:18:42,480 --> 00:18:47,800
ู‡ุฐุง ุงู„ู€ assignment ุจุชุญุฏุซ ุนู„ู‰ ู‡ุฐุง ุงู„ู…ุณุชูˆู‰ ู…ุด ุนู„ู‰ ู‡ุฐุง
218
00:18:47,800 --> 00:18:51,500
ุงู„ู…ุณุชูˆู‰ .. ุงู‡ ุงู„ู…ูุฑูˆุถ ู‡ูŠ .. ุงู„ู…ูุฑูˆุถ ู‡ูŠ ุชูƒูˆู† ุดูˆูุช
219
00:18:51,500 --> 00:18:56,240
ู‡ู†ุง ูˆ ู‡ู†ุง ู‡ุฐู‡ ุงู„ู€ .. ู‡ุฐู‡ ุงู„ู€ function ุงู„ู„ูŠ ุจุชุนู…ู„ ุงู„ู€
220
00:18:56,240 --> 00:19:00,060
node ู„ุญุธุฉ ู…ุง .. ู‚ุจู„ ู…ุง ุชุนู…ู„ .. ูŠุนู†ูŠ ู‡ุฐู‡ ุงู„ู…ูุฑูˆุถ
221
00:19:00,060 --> 00:19:05,820
ุชูƒูˆู† ู…ูˆุฌูˆุฏุฉ ุนู„ู‰ ูƒุฎุทูˆุฉ ุณุงุจู‚ุฉ ู„ู€ creation .. creating
222
00:19:05,820 --> 00:19:09,850
ุงู„ู€ node ู„ุฃู† ู„ูˆ ุจุฏุฃู†ุง ู†ุนู…ู„ ุนู„ู‰ ู‡ุฐุง ุงู„ู…ุณุชูˆู‰ ู„ุณู‡ ู‡ุฐู‡
223
00:19:09,850 --> 00:19:16,650
ู…ุงุชูƒูˆู†ุด ุฃุฎุฏุช ุงู„ู€ value ุชุจุนู‡ุง ู„ุฃู† ู‡ุฐุง ุงู„ุฃู…ุฑ ูƒุงู† ู…ุทุจู‚
224
00:19:16,650 --> 00:19:26,670
ุจุนุฏ ู…ุง ุงูƒุชู…ู„ ูุงุญู†ุง ุงู„ุขู† ุจู†ุฌูŠ ู†ุนุชุจุฑู‡ุง ุฃู† ู‡ุฐุง ู…ูˆุฌูˆุฏ
225
00:19:26,670 --> 00:19:34,500
ูƒุณุทุฑ ุณุงุจู‚ ู„ู‡ุฐู‡ ู‡ู†ุง ุณุงุจู‚ ู„ู‡ุฐู‡ุŒ ูุงู†ุช ุชุฎูŠู„ ุฃู†ู‡ ู‚ุจู„ ู…ุง
226
00:19:34,500 --> 00:19:37,400
ู†ุนู…ู„ ุงู„ู€ note ุชุจุน ุงู„ู€ plus ุฃูˆ ู‚ุจู„ ู…ุง ู†ุนู…ู„ ุงู„ู€ note
227
00:19:37,400 --> 00:19:40,600
ุชุจุน ุงู„ู€ minusุŒ ุงุญู†ุง ุงู„ุขู† ููŠ ุงู„ู€ minus ู‚ุจู„ ู…ุง ู†ุนู…ู„ ุงู„ู€
228
00:19:40,600 --> 00:19:45,260
note ุชุจุน ุงู„ู€ minus ุจุฏูˆู† ุงูŠู‡ ุงุชุฑุญู„ู‡ุงุŒ ุงุชุฑุญู„ู‡ุง ุฏู‡ ู‡ู†ุง
229
00:19:45,260 --> 00:19:50,420
ุตุงุฑ ู‡ุงู„ูŠ ู…ุนุงู†ุง pointer ุนู„ู‰ ุงู„ู€ a ุงู„ุขู†ุŒ ุฏู‡ ุชู†ุนู…ู„ ุงู„ู€
230
00:19:50,420 --> 00:19:54,440
note ุชุจุน ุงู„ู€ minus ู…ุนุงู†ุง pointer ุนู„ู‰ ุงู„ู€ a ู…ูˆุฌูˆุฏ ู‡ู†ุง
231
00:19:54,440 --> 00:19:58,700
ุชู…ุงู…ุŒ ู‡ูŠุง ุชุจู‚ู‰ ู†ุญุทู‡ ู‡ู†ุง ู‚ุจู„ ุงู† ุฃู†ุง ุงุนู„ู‰ ุงู„ู€ code
232
00:19:58,700 --> 00:20:03,120
ุจุชู‚ูˆู„ูŠ ุฎุฏ ุจุงู„ inherited ุชุจุน ุงู„ู€ E ูˆ ุงู„ู€ node ุงู„ุชุงู„ูŠ
233
00:20:03,120 --> 00:20:07,280
ุชุจุนุช ุงู„ู€ T ู‡ุฐู‡ ุงู†ุนู…ู„ุช ุงู„ู„ูŠ ู‡ูŠ ุงู„ุฃุฑุจุนุฉ ู‡ูŠ ุชู…ูˆุฌุฏ ู‡ู†ุง
234
00:20:07,280 --> 00:20:11,500
ุจุงุฎุฏู‡ุง ุฃุจูˆูƒูŠ ู„ูŠ ุฎุฏู‡ุง ู„ุฏู‘ู‡ node ุชุจุนุช ุงู„ู€ T ุฎุฏู‡ุง
235
00:20:11,500 --> 00:20:16,740
ูุจุตุงุฑุช ู‡ุฐู‡ ุงู„ู€ node ุจุชุดูŠุฑ ุฅู„ูŠู‡ุง ุงู„ู€ pointers ู‡ุฐู‡
236
00:20:16,740 --> 00:20:19,700
ู„ุงุฒุงู„ุช ุจุชุดูŠุฑุŒ ุจุณ ุฎู„ุงุต ุฃู†ุง ู‡ุฐุง ุงู„ู„ูŠ ู…ู‡ู…ู†ูŠุด ุงู„ุขู†
237
00:20:19,700 --> 00:20:24,900
ู…ู‡ู…ู†ูŠ ุฃู†ู‡ ุฃุฎุฏุช ู…ู†ู‡ู… ูˆุฎุฒู†ุช ุนู„ู‰ ุงู„ ู†ูุณ ุงู„ุฃุดูŠ ุงู„ุขู†
238
00:20:24,900 --> 00:20:30,510
ุจุฏูŠ ุฃู† ุฃุนู…ู„ ุนู„ู‰ ู…ุณุชูˆู‰ ุงู„ู€ plus ุนู„ู‰ ู…ุณุชูˆู‰ ู‡ุฐูŠุจุณ ู‚ุจู„
239
00:20:30,510 --> 00:20:34,070
ุงู† ุฃู†ุง ุงุนู…ู„ ุงู„ู€ plus ุจุชูƒูˆู† ุงู†ุนู…ู„ุช ู…ูŠู† ุงู„ู€ leaf node
240
00:20:34,070 --> 00:20:41,450
ู‡ุฐู‡ ุงู„ู€ C ุงู„ุงู† ุจุชู†ุนู…ู„ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ plus ุชู†ุณุงุด ุจุฑุถู‡
241
00:20:41,450 --> 00:20:48,170
ูƒู…ุงู† ุงู† ุงู„ู€ inherited ู‡ุฐู‡ ุฑุญู„ุช ู„ู‡ ู‡ู†ุง ู„ูŠุด ุนุดุงู† ุฃู†ุง
242
00:20:48,170 --> 00:20:51,570
ู‡ู†ุง ููŠ ู‡ุฐุง ุงู„ู…ุณุชูˆู‰ ุฑุจู…ุง ุงุญุชุงุฌู‡ุง ุจู„ ุฃู†ูŠ ูุนู„ุง
243
00:20:51,570 --> 00:20:56,250
ู‡ุญุชุงุฌู‡ุง ุฃู†ุง ุนู„ู‰ ู‡ุฐุง ุงู„ู…ุณุชูˆู‰ ุจุนุฏ ู…ุง ุงุนู…ู„ ุงู„ู€ plus ุงู„ู€
244
00:20:56,250 --> 00:21:03,380
plus ู‡ุชุญุชุงุฌ ุชุฑุจุท ู…ุน ุงู„ู€ minus ูุจุฏู„ ู…ุง ุฃู†ุง ูˆ ุฃู†ุง ู‡ู†ุง
245
00:21:03,380 --> 00:21:07,980
ุงุฑูˆุญ ู„ุณู‡ ุงุฏูˆุฑ ุนู„ูŠู‡ ููˆู‚ ู‡ูŠ ุจุชุชุฑุญู„ ุชู„ู‚ุงุฆูŠู‹ุงุŒ ุงู„ุฎู…ุณุฉ
246
00:21:07,980 --> 00:21:11,880
ุงุชุฑุญู„ุช ุนู„ู‰ ุทูˆู„ ุงู„ู€ inheritedุŒ ุงุชุฑุญู„ุช ุนู„ู‰ ุทูˆู„ ุงู„ู€
247
00:21:11,880 --> 00:21:15,360
inherited ุชุจุน ุงู„ู€ tribeุŒ ุตุงุฑ ุงู„ุขู† ู‡ุฐุง ูŠุดูŠุฑ ุฅู„ู‰ ู…ูŠู†
248
00:21:15,360 --> 00:21:20,140
ุงู„ู€ minus ูŠุดูŠุฑ ุฅู„ู‰ ุงู„ู€ minus ุจุงู„ุธุจุท ูŠุจู‚ู‰ ุฃู†ุง ุงู„ุขู†
249
00:21:20,140 --> 00:21:25,680
ู…ุนุงูŠุง ุฅุดุงุฑุฉ pointer ุนู„ู‰ ุงู„ู€ minusุŒ ู‡ุงุฎุด ู‡ุนู…ู„ ุงู„ู€ node
250
00:21:25,680 --> 00:21:33,110
ู‡ุฐู‡ ุจุนุฏ 6 ู‡ุชู†ุนู…ู„ 7 8 ู‡ุชู†ุนู…ู„ ู…ูŠู†ุŸ ู‡ุชู†ุนู…ู„ ุงู„ู€
251
00:21:33,110 --> 00:21:38,130
node ู‡ุฐู‡ุŒ ุจุตุงุฑ ู…ุนุงูŠุง pointer ุนู„ูŠู‡ุง ุงู„ุขู†ุŒ ุถุงูŠู„ ุฃุนู…ู„
252
00:21:38,130 --> 00:21:42,230
ุงู„ู€ plus ู‡ุงูŠ ุงู„ู„ูŠ ุนู…ู„ุช ุงู„ู€ plus ุจุณ ุจุฏู‡ุง pointer ุนู„ู‰
253
00:21:42,230 --> 00:21:46,730
ุงู„ู€ minusุŒ ู…ู† ูˆูŠู† ุจุชุฌูŠุจู‡ ู‡ุงูŠ ุงู„ู„ูŠ ูŠู‚ูˆู„ ุฎุฏ ู…ู† ุงู„ู€
254
00:21:46,730 --> 00:21:51,230
inherited ุชุจุน ุงู„ู€ E primeุŒ ุฃู†ุง ู‡ุงูŠ ุงู„ู€ E prime ู…ุด ุงู„ู€
255
00:21:51,230 --> 00:21:56,910
childุŒ E prime ู‡ูŠุชู‡ุŒ ุตุงุฑ ู‡ุฐุง ุงู„ุงู† ูŠุดูŠุฑ ุฅู„ู‰ ู‡ุฐุง
256
00:21:57,910 --> 00:22:01,830
ูˆ ุงู„ุชุงู†ูŠุฉ ุงู„ู€ pointer ุงู„ุชุงู†ูŠ ุงู„ู„ูŠ ู‡ูˆ T ุถุจุท ู†ูˆุช ู†ุฌูŠ
257
00:22:01,830 --> 00:22:07,070
ู‡ุฐู‡ ุชุดูŠุฑ ุฅู„ู‰ ู‡ู†ุง ูˆ ู‡ุฐุง ูŠุดูŠุฑ ุฅู„ู‰ ู‡ู†ุง ู„ุฃู† ุจุฑุถู‡ ูƒุฐู„ูƒ
258
00:22:07,070 --> 00:22:14,510
ุงู„ุญุงู„ุฉ ุจุฏูŠ ุงู„ุขู† ุงู„ู€ inherited ุชุจุนุช ู‡ุฐู‡ุŒ ู‡ุฐู‡
259
00:22:14,510 --> 00:22:17,490
ุงู„ู€ node ุงู„ู„ูŠ ุชุชูˆุงู† ุนุงู…ู„ุฉ ู…ูŠู† ู…ุนุงู‡ pointer ุชุจุนู‡ุง
260
00:22:17,490 --> 00:22:22,850
ุงุถุทุท node method ู„ุฑู…ู‰ ุงู„ุนุงู…ู„ุชู‡ุง ุงุถุทุท ุงู„ู€ pointer
261
00:22:22,850 --> 00:22:23,290
ู„ู…ูŠู†
262
00:22:26,390 --> 00:22:29,650
ุนู†ุฏู…ุง ู‚ู…ุช ุจุนู…ู„ู‡ุง ุงุนุทูŠ ุงู„ู€ pointer ู„ู…ู†ุŸ ู„ู€ heritage
263
00:22:29,650 --> 00:22:35,730
ู„ู€ heritage ูˆู‡ุฐุง ุงู„ู€ payment ู‡ูˆ heritage ู„ูŠุดุŸ ุนู„ุดุงู†
264
00:22:35,730 --> 00:22:40,750
ุฅุฐุง ุจุฏู†ุง ู†ุฑุญู„ู‡ ู„ุณู‡ ูƒู…ุงู† ู„ุชุญุช ูŠุนู†ูŠ ู†ูุชุฑุถ ุงู†ู‡ ููŠู‡ุง
265
00:22:40,750 --> 00:22:44,690
ุฏูŠ okay ุงู‡ ุงู„ุขู† ู…ุงููŠุด ุดูŠุก ู„ุณู‡ ู†ูุชุฑุถ ุงู† ุงู„ู€ string
266
00:22:44,690 --> 00:22:49,070
ู„ุณู‡ ููŠู‡ ูƒู…ุงู† operation ูู„ูˆ ููŠ ุนู†ุฏูŠ ูƒู…ุงู† operation
267
00:22:49,070 --> 00:22:55,490
ู‡ุชู†ุนู…ู„ ุฅู„ูŠู‡ุง nodeุŒ ุงู„ู€ node ู‡ุฐู‡ุจุฏุฃ ุชุดูŠุฑ ุฅู„ู‰ ุงู„ู€ plus
268
00:22:55,490 --> 00:23:00,050
ูŠุนู†ูŠ ุจุฏุฃ ุชุฑูƒุจ ููˆู‚ ุงู„ู€ plus ู‡ูŠ ุฒูŠ ู…ุง ุงู„ู€ plus ุฑูƒุจุฉ
269
00:23:00,050 --> 00:23:05,030
ุนู„ู‰ ูƒุชู ุงู„ู€ minusุŒ ุฅุฐุง ููŠ ุนู…ู„ูŠุฉ ุชุงู†ูŠุฉ ุจุฏุฃ ุชุฑูƒุจ ุนู„ู‰
270
00:23:05,030 --> 00:23:09,870
ูƒุชู ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ plus ูˆ ูŠุจุฏุฃ ูŠูƒูˆู† ููŠู‡ุง ุทุจุนุง upper
271
00:23:09,870 --> 00:23:15,810
hand ุขุฎุฑ ู‡ูŠู†ุนู…ู„ ุฌูˆุง ู‡ู†ุงูƒุŒ ูุงู„ุบุฑุถ ู…ู† ุงู„ุชุณู„ูŠู… ุงู„ู€
272
00:23:15,810 --> 00:23:19,990
pointer ุฅู„ู‰ ุงู„ู€ child ู‡ูˆ ุนุดุงู† ุงู„ู€ child ูŠุณู„ู…ู‡
273
00:23:19,990 --> 00:23:26,020
ู„ู„ู…ุณุชูˆู‰ ุงู„ู„ูŠ ุนู†ุฏู‡ ุงู„ู„ูŠ ุจุชุงุนุชู‡ุŒ ุงู„ุงู† ู‡ู†ุง ุงู„ู€ inherited
274
00:23:26,020 --> 00:23:30,360
ุงู„ู€ E ู‡ุฐู‡ ุฎู„ุงุต ุงุญู†ุง ุจุนุฏ ู…ุง ุดูˆูู†ุง ุงู„ู€ C ู…ุงููŠุด ูŠุธู„ุด
275
00:23:30,360 --> 00:23:34,000
ุงูŠุด ููŠู‡ุง ู‡ุฐูŠ ู‚ุฏ ุชูƒูˆู† EpsilonุŒ Epsilon ู…ุนู†ุงู‡ ุฐู„ูƒ ุงู†
276
00:23:34,000 --> 00:23:38,680
ู‡ุฐูŠ ุงู„ู€ production
277
00:23:38,680 --> 00:23:42,260
ุจุงู„ุชุงู„ูŠ ู…ุนู†ุงู‡ ู‡ุฐุง ุงู„ู€ ruleุŒ ู‡ุฐุง ุงู„ู€ rule ุจุชู‚ูˆู„ ุงู†ู‡
278
00:23:42,260 --> 00:23:47,080
ุณู„ู… ุงู„ู€ inherited ุชุจุน ุงู„ู€ E prime ูˆู…ุงููŠุด ุงู„ู„ูŠ ู‡ูˆ E
279
00:23:47,080 --> 00:23:50,980
prime ู…ุงููŠุด ุงู„ู€ children ูŠุนุทูŠ ุงู„ู€ parents ู„ุง ู…ุงููŠุด
280
00:23:50,980 --> 00:23:54,150
children ูˆู„ุง parentsุŒ ู‡ุฐุง ู‡ูˆ ู†ูุณู‡ ุจุณ ุฅู„ู‡ two
281
00:23:54,150 --> 00:23:56,570
attributes ูˆุงุญุฏ ุงู„ synthesizer ูˆุงุญุฏ ุงู„ inherited
282
00:23:56,570 --> 00:24:01,110
ูุจู‚ูˆู„ ู„ูŠ ุฃุนุทูŠ ุงู„ inherited ู„ู„ synthesizer ู†ุจุนุชู‡
283
00:24:01,110 --> 00:24:07,230
ุชู…ุงู…ุŸ ุฅูŠุดุŸ ู„ู†ูุณู‡ ุฃูŠูˆุฉ ู‡ูˆ ุจูŠุณู„ู… ู…ู† ูŠุฏ ู„ูŠุฏ ุจุฏุงุฎู„
284
00:24:07,230 --> 00:24:11,390
ู†ูุณ ุงู„ symbol ุงู„ E prime ุงู„ุขู† ุงู„ inherited ุชุจุนุชู‡
285
00:24:11,390 --> 00:24:14,030
ุฅูŠุด ุงู„ู„ูŠ ู‡ูˆ ุงู„ู„ูŠ ุงุญู†ุง ู‚ู„ู†ุงู‡ุŸ ู‡ูŠ ุนุจุงุฑุฉ ุนู† ุฅูŠุดุŸ ู‡ุฐุง
286
00:24:14,030 --> 00:24:19,510
ุงู„ุขู† ุจุนุฏ ู…ุง ุนู…ู„ู†ุง ุณุจุนุฉ ุซู…ุงู†ูŠุฉ ุขู‡ ุจุนุฏ ู…ุง ุนู…ู„ู†ุง ุณุจุนุฉ
287
00:24:19,510 --> 00:24:23,980
ุซู…ุงู†ูŠุฉ ุฅูŠุด ุนุดุงู† ุงู„ุชุณุนุฉุŸ ุจุนุฏ ู…ุง ุนู…ู„ู†ุง ุณุจุนุฉ ุซู…ุงู†ูŠุฉ 9
288
00:24:23,980 --> 00:24:30,140
ู‡ุฐู‡ ุฑุญู„ุชู‡ุง ู‡ูŠ ุชุณุนุฉ ู‡ูŠ ุณุจุนุฉ ุซู…ุงู†ูŠุฉ ู‡ุฐู‡ ุชุณุนุฉ ู‡ูŠ ุชุณุนุฉ
289
00:24:30,140 --> 00:24:37,900
ู‡ุฐู‡ ุชุณุนุฉ ุงู„ู„ูŠ ุงุฑุชุฏุช ุฃุฎุฐุช ุฃูˆูŠ ุจุงู„ุธุจุท ุจุงู„ุธุจุท ุงู„ู„ูŠ ู‡ูŠ
290
00:24:37,900 --> 00:24:45,440
ู‡ุฐุง ุงู„ pointer ุจุชุจุน ุงู„ plus ู†ุฒู„ ุนู„ู‰ ู‡ู†ุง ุตุญ ูู‡ุฐู‡
291
00:24:45,440 --> 00:24:50,940
ุชุณุนุฉ ุณุจุนุฉ ุซู…ุงู†ูŠุฉ ุงู†ุนู…ู„ุช ุงู„ plus ุงู„ pointer ุจุชุจุนู‡ุง
292
00:24:51,410 --> 00:24:56,170
ู…ุน ุงู„ inherited ู†ุฒู„ ุนู„ู‰ .. ู…ุน ุงู„ E ู‡ุฐู‡ ุจุณ ู†ุฒู„ ุนู„ู‰
293
00:24:56,170 --> 00:24:58,830
.. ู…ุน ุงู„ E prime ู‡ุฐู‡ ู†ุฒู„ ุนู„ู‰ ุงู„ E prime ู‡ุฐู‡ ุจุนุฏูƒ
294
00:24:58,830 --> 00:25:02,730
ุนุดุฑุฉ ุฅู†ู‡ ูŠุดูˆู ูŠุงุฎุฐ ูŠุฏูŠ ุงู„ inherited ู„ ุงู„
295
00:25:02,730 --> 00:25:06,430
synthesized ุนุดุฑุฉ ุฅู†ู‡ ุฅูŠู‡ ุจุงู„ุธุจุท ุนุดุฑุฉ ุฅู† ุงู„
296
00:25:06,430 --> 00:25:11,790
inherited ุฃุฎุฏู‡ ู„ ุงู„ synthesized okay
297
00:25:12,670 --> 00:25:15,550
ุงู„ู€ inherited ู„ู„ู€ synthesizer ุงู„ุขู† ุจุนุฏ ู‡ูŠ ูƒุงู† ูˆ
298
00:25:15,550 --> 00:25:19,750
ุงุญู†ุง ููŠ ุงู„ุฑุฌุนุฉ ุงู„ synthesizer ุจุชุณู„ู… ู„ู„ synthesizer
299
00:25:19,750 --> 00:25:23,150
ุฅู† ู‡ู†ุง ุงุณู…ู‡ synthesizer ู„ุฃู†ู‡ ุจุทู„ ู„ููˆู‚ ุงู„
300
00:25:23,150 --> 00:25:27,010
synthesizer ู‡ุฐู‡ ุจุชุณู„ู… ู„ู„ synthesizer ุชุจุน ุงู„ parent
301
00:25:27,010 --> 00:25:36,070
ุชุจุนู‡ ู‡ูŠุชู‡ ู‡ู†ุง ุจุนุฏ ู…ุง ุงูƒุชู…ู„ ุงู„ parsing ุชุจุน ุงู„ minus
302
00:25:36,070 --> 00:25:37,330
ุฃูˆ ุชุจุน ุงู„ plus
303
00:25:42,490 --> 00:25:47,870
E1 ูŠุนู†ูŠ ุจุชุณู„ู… ู„ู€Synthesized ุชุจุนุช ุงู„ parent ุซู… ู†ูุณูŠ
304
00:25:47,870 --> 00:25:51,750
ุจูŠุฌูŠ ุนู„ู‰ ู…ุณุชูˆู‰ ุงู„ minus ุงู„ synthesized ู‡ุฐู‡ ุจุชุณู„ู…
305
00:25:51,750 --> 00:25:57,110
ู„ู€Synthesized ุชุจุนุช ุงู„ parent ููŠ ุงู„ุขุฎุฑ ููŠ ุงู„ุขุฎุฑ ู‡ุฐู‡
306
00:25:57,110 --> 00:26:02,870
ุงู„ dot node ุชุจุนู‡ุง ุจูŠุฃุฎุฐ
307
00:26:02,870 --> 00:26:08,110
ู…ู† ุงู„ synthesized ุชุจุน ุงู„
308
00:26:08,110 --> 00:26:13,480
dot node ุชุจุน ุงู„ root symbol ุจูŠุฃุฎุฐ ู…ู† ุงู„ู€Synthesis
309
00:26:13,480 --> 00:26:21,260
ุชุจุน ู…ูŠู†ุŸ ุงู„ู€Rain Child ูŠุฌูŠ ุฑุฃุณ ุงู„ู€ Tree ุฃูˆ ุงู„
310
00:26:21,260 --> 00:26:28,900
Root ุชุจุน ุงู„ู€Syntax Tree ูƒุงู† ุจุชุฑุญู„ down ู„ุบุงูŠุฉ ู…ุง
311
00:26:28,900 --> 00:26:33,900
ูˆุตู„ู†ุง ู„ู„ dead end ุจุนุฏูŠู† ุจุฏุฃ ูŠุฑุฌุน ุนุดุงู† ูŠุฑุฌุน ุงู„ู€Root
312
00:26:33,900 --> 00:26:40,600
ูุงู„ู€Root ุชุจุน ุงู„ู€Syntax Tree ุฑุฌุน ู„ู„ู€Root ุชุจุน ุงู„ู€ุชุจุน
313
00:26:40,600 --> 00:26:45,460
.. ุชุจุน ุงู„ parse tree ุงู„ root ุชุจุน ุงู„ syntax tree
314
00:26:45,460 --> 00:26:50,200
ูƒุงู† ุจุชุฑุญู„ ู„ุชุญุช ุฅู„ู‰ ุฃู† ูˆุตู„ู†ุง ุงู„ dead end ุจุนุฏ ูƒุฏู‡
315
00:26:50,200 --> 00:26:56,420
ุฑุฌุน ูŠุชุฑุญู„ ู„ููˆู‚ ู„ูŠุตูŠุฑ .. ูŠุตู„ ุฅู„ู‰ ุงู„ู„ูŠ ู‡ูˆ ุงู„ root ุชุจุน
316
00:26:56,420 --> 00:26:57,480
ุงู„ parse tree
317
00:27:03,070 --> 00:27:08,970
ุทุจุนู‹ุง ู†ุญุตู„ ุญุธ ุงุญู†ุง ุจุณ ููŠ ุงู„ุงู…ุชุญุงู† ุจู†ุญู„ .. ุจู†ุนู…ู„
318
00:27:08,970 --> 00:27:13,190
ุงู„ู…ุซุงู„ ู‡ุฐุงุŒ ุฅู†ู…ุง ููŠ ุงู„ูˆุงู‚ุน ุงู„ุนู…ู„ูŠ ุงู„ compiler
319
00:27:13,190 --> 00:27:20,630
generator ู‡ูˆ ุงู„ู„ูŠ ุจูŠุชูˆู„ู‰ ุงู„ุฃู…ุฑ ู‡ุฐุง okay ูู‡ุฐุง ุงู„ุขู†
320
00:27:20,630 --> 00:27:25,110
ุชุทุจูŠู‚ ู„ู‚ูˆู„ุชู†ุง ุงู„ู„ูŠ ู‡ูˆ ูƒูŠู ุชุณุชุฎุฏู… ุงู„ semantic rules
321
00:27:25,450 --> 00:27:28,750
ููŠ ุจู†ุงุก syntax tree ุดูู†ุงู‡ุง ููŠ ุญุงู„ุชูŠู† ุญุงู„ุฉ ุงู„ู„ูŠ ู‡ูˆ
322
00:27:28,750 --> 00:27:32,650
synthesized attributes ุงู„ู„ูŠ ุฌุงุก ูƒุฌุฒุก ู…ู† S
323
00:27:32,650 --> 00:27:36,410
-attributed definition ู…ุจู†ูŠ ุนู„ู‰ Grammar Grammar
324
00:27:36,410 --> 00:27:44,210
ู‡ุฐู‡ ู…ุนุงู‡ุง ุฌุฒุก ู…ู† ุงู„ L-attributed definition ูู‡ูŠ
325
00:27:44,210 --> 00:27:47,590
ุทุฑูŠู‚ุฉ ุฃุฎุฑู‰ ู„ุจู†ุงุก ุงู„ syntax tree ู†ูุณ ุงู„ syntax tree
326
00:27:47,590 --> 00:27:53,070
ููŠ ุงู„ู‚ุฑุขู† ู…ุซู„ ุขุฎุฑ ุงู„ู„ูŠ ู‡ูˆ ุงู„ type ุงู„ types ุฃูˆ ุงู„
327
00:27:53,070 --> 00:27:59,220
type declarations ู„ู…ุง .. ุทุจุนู‹ุง ูƒู„ ุงู„ grammar ุงู„ู„ูŠ ..
328
00:27:59,220 --> 00:28:01,720
ุงู„ grammar ู‡ุฐู‡ ุงู„ู„ูŠ ุดูู†ุงู‡ุง ุงุญู†ุง ู‡ุฐู‡ ุงู„
329
00:28:01,720 --> 00:28:04,940
expressions ุงู„ E ู‡ุฏูˆู„ expressions ู„ูƒู† ู„ูˆ ุงู„ุจุฑู†ุงู…ุฌ
330
00:28:04,940 --> 00:28:08,840
ุจูŠุญุชูˆูŠ ุนู„ู‰ .. ุจูŠุญุชูˆูŠ ุนู„ู‰ type declaration type
331
00:28:08,840 --> 00:28:11,060
declaration ุงุญู†ุง ู„ู…ุง ุจู†ุญูƒูŠ ุนู† type declaration
332
00:28:11,060 --> 00:28:17,300
ูŠุนู†ูŠ ุจู†ุนุฑู variable ู…ุชุบูŠุฑ ูˆู†ู‚ูŠู„ู‡ type okay ู ุงู„
333
00:28:17,300 --> 00:28:20,400
type declaration ุนุงุฏุฉ ู…ุซู„ู‹ุง ููŠ ุงู„ C ุฏูŠุด ุจู†ู‚ูˆู„
334
00:28:20,400 --> 00:28:28,020
integer X ุตุญุŸ ูุงู„ declaration ู†ูุณู‡ุง ู‡ูŠ ุนุจุงุฑุฉ ุนู†
335
00:28:28,020 --> 00:28:33,360
type ูˆ identifier ุตุญุŸ ูŠุนู†ูŠ ุงู„ declaration can have
336
00:28:33,360 --> 00:28:39,540
the format type ู…ุทุจูˆุนุฉ ุจุฅูŠุดุŸ identifier ู…ุธุจูˆุท ูˆ
337
00:28:39,540 --> 00:28:46,760
ุทุจุนู‹ุง ููŠ ุงู„ุฏุฑุงุณูŠู† ุงู„ููˆุฑูŠุฉ ุงู„ type ู‡ุฐุง ุจู‡ู…ู†ูŠ ุฅุฐุง ู‡ูˆ
338
00:28:46,760 --> 00:28:51,240
complex type ูŠุนู†ูŠ ุฅูŠุด complex typeุŸ ูŠุนู†ูŠ ู‡ู†ุง basic
339
00:28:51,240 --> 00:28:55,740
ู…ุซู„ู‹ุง integer float ุฃูˆ ูƒุฏู‡ ู‡ูˆ ููŠ Complex ุงู„ู„ูŠ ู‡ูˆ
340
00:28:55,740 --> 00:29:00,520
array ุฃูˆ structure ุฃูˆ record ุฃูˆ ู…ุง ูŠุนู†ูŠ ุจู‡ู…ู†ูŠ ุฅุฐุง
341
00:29:00,520 --> 00:29:07,400
ู‡ูˆ Complex ุฃุญุณุจ ุดูƒู„ูŠุชู‡ ุฃูˆู„ ุดูŠุก ุฃุญุณุจ ุงู„ size ุงู„ู„ุงุฒู…
342
00:29:07,400 --> 00:29:11,740
ูŠุนู†ูŠ ุฅุฐุง ู‡ูˆ array array of integer ุงู„ integer ุทูˆู„ู‡
343
00:29:11,740 --> 00:29:16,040
ู…ุซู„ู‹ุง 4 byte ูˆุจุงู„ุชุงู„ูŠ 4 ุทูŠุจ ุงู„ array ู‚ุฏุงุด ุนุดุฑ ุฃูˆ
344
00:29:16,040 --> 00:29:19,380
ุงุซู†ุงุด element ุฃุฑุจุนุฉ ููŠ ุงุซู†ุงุด ู‡ูŠ ุงู„ size ุงู„ู„ูŠ ููŠ ุงู„
345
00:29:19,380 --> 00:29:25,390
memory ู…ุญุชุงุฌู‡ ุตุญุŸ 840 byte ุฃุฑุจุนุฉ ุงุซู†ุงุด ู‡ุฐุง ูŠู‡ู…ู†ูŠ
346
00:29:25,390 --> 00:29:28,150
ุงู„ุดูŠุก ุงู„ู„ูŠ ู‡ูˆ ุงู„ size ุทุจุนู‹ุง ุฅุฐุง ูƒุงู† ุงู„ array one
347
00:29:28,150 --> 00:29:31,230
dimensional ูˆู„ุง two ู„ุง three ู„ุงุฒู… ุฃุญุณุจ ุจุงู„ุธุจุท ูƒุฏู‡
348
00:29:31,230 --> 00:29:35,750
ุงู„ size ููŠ ุงู„ frame ุจุฑุถู‡ ูƒุฐู„ูƒ ุญุงู„ ุจุฏูŠ ุฃุญุณุจ ุฅูŠุด ุจุฏูŠ
349
00:29:35,750 --> 00:29:40,190
ุฃุญุณุจ ุงู„ type ุชุจุน ู‡ุฐุง ุงู„ complex type ุฅูŠุด ุงู„ type
350
00:29:40,190 --> 00:29:44,550
ุชุจุน ุงู„ complex type ู„ู…ุง ุฃู†ุง ุจู‚ูˆู„ ุดูŠุก ุฒูŠ ู‡ูŠูƒุฉ integer
351
00:29:44,550 --> 00:29:49,510
ุงุซู†ูŠู† ููŠ ุซู„ุงุซุฉ ุดูˆ ุงู„ type ู…ุง ู‡ูˆ ู…ุด integer ุจุณ ูŠุนู†ูŠ ู„ูˆ
352
00:29:49,510 --> 00:29:50,670
ุฃู†ุง ู…ุนุฑู
353
00:29:54,980 --> 00:30:01,620
X ู‡ุฐุง XุŒ ุชู…ุงู…ุŸ ุงู„ู€ X ู‡ุฐุงุŒ ุดูˆ ู†ูˆุนู‡ุŸ ู‡ู„ ู‡ูŠ integerุŸ
354
00:30:01,620 --> 00:30:10,560
ู„ุงุŒ ู‡ูŠ array of ุงุซู†ูŠู† of array of ุซู„ุงุซุฉ ููŠ ุฅูŠุดุŸ
355
00:30:10,560 --> 00:30:17,960
ุซู„ุงุซุฉ ุฅูŠุดุŸ of integerุŒ ุตุญูŠุญุŸ ุชู…ุงู…ุŸ ู‡ุฐุง ุงู„ู‚ุฑุงุฑ ู…ู‡ู…ุŒ
356
00:30:17,960 --> 00:30:23,820
ู„ุฃู† ุฃู†ุง ูˆุฃู†ุง ู„ู…ุง ุฃุจุฏุฃ ุฃู‚ูˆู„ ู…ุซู„ู‹ุง X ุฒุงุฆุฏ Y Z ูŠุณุงูˆูŠ X
357
00:30:23,820 --> 00:30:28,610
ุฒุงุฆุฏ Y ู‡ู„ ุงู„ operation ู‡ุฐู‡ ุชุฌุจู„ ู…ุชุบูŠุฑ ู…ู† ู‡ุฐุง
358
00:30:28,610 --> 00:30:36,310
ุงู„ู†ูˆุนุŸ ู„ุงุŒ ุตุญุŸ ูุฃู†ุง ุนู…ู„ูŠุฉ ุงู„ type-checking ูุญุต ุงู„
359
00:30:36,310 --> 00:30:41,110
type ุนุดุงู† ุงู„ compiler ูŠุนุชุฑุถ ุฃูˆ ู…ุง ูŠุนุชุฑุถุด ุจู„ุฒู…
360
00:30:41,110 --> 00:30:46,110
ุฃุตู„ู‹ุง ุชุนุฑูŠู ุงู„ type ุฃุตู„ู‹ุง ุชุญุฏูŠุฏ ุงู„ type ุนุดุงู† ุฃู‚ุฏุฑ
361
00:30:46,110 --> 00:30:50,350
ุฃู‚ุงุฑู† ู‡ู„ ู‡ุฐุง ุงู„ type ู‡ู„ ุงู„ type ุชุจุน X ู…ู‚ุงุฑู†ุฉ
362
00:30:50,350 --> 00:30:56,060
ุจุงู„ type ุชุจุน YุŸ ู…ุธุจูˆุท ูˆู„ุง ู„ุงุŸ ูุฃู†ุง ุจุงู„ุฒู…ู†ูŠ ู…ู† ุงู„
363
00:30:56,060 --> 00:30:58,880
declaration .. ู…ู† ุงู„ declaration ุจุงู„ุฐู†ูŠ ุงู„
364
00:30:58,880 --> 00:31:01,760
compiler ูŠุจู‚ู‰ ู‚ุงุฏุฑ ุนู„ู‰ ุดุบู„ ุซุงู†ูŠ ู‚ุงุฏุฑ ุนู„ู‰ ุญุณุงุจ ุงู„
365
00:31:01,760 --> 00:31:05,820
size ุชุจุน ุงู„ type ูˆ ุญุณุงุจ ุงู„ type ู†ูุณู‡ ุชุจุน ุงู„ type
366
00:31:05,820 --> 00:31:09,720
ุนู„ู‰ ุฃุณุงุณ ูŠู‚ุฏุฑ ูŠู‚ุงุฑู† ู‡ู„ ุงู„ two variables ู‡ุฏูˆู„ are
367
00:31:09,720 --> 00:31:13,540
of the same type ูˆู„ุง ู„ุง ุจุงู„ุธุจุท ูุงุญู†ุง ุจู†ุนุจุฑ ุนู† ุงู„
368
00:31:13,540 --> 00:31:17,380
type ุนู„ู‰ ุดูƒู„ ุดูŠุก ุฒูŠ ูŠุนู†ูŠ ุฃู†ุง ู„ู…ุง ูŠูƒูˆู† ููŠ ุนู†ุฏูŠ
369
00:31:17,380 --> 00:31:22,890
variable identifier ุฃุจุฏุฃ ุฃู‚ูˆู„ ุงู„ type ุชุจุนู‡ ุฅูŠุด
370
00:31:22,890 --> 00:31:26,190
ุจุงู„ุนุจุฑ ุนู†ู‡ ู‡ู„ ู‡ูˆ ูˆุงู„ู„ู‡ ูŠุนู†ูŠ ุงู„ variable ู‡ุฐุง ุงู„
371
00:31:26,190 --> 00:31:30,470
identifier ุงู„ type ุชุจุนู‡ ู…ู…ูƒู† ูŠูƒูˆู† ุนุจุงุฑุฉ ุจุณ ู…ุฌุฑุฏ
372
00:31:30,470 --> 00:31:36,890
integer ู…ู…ูƒู† ูŠูƒูˆู† float ู‡ุฏูˆู„ basic ุตุญ ู…ู…ูƒู† ูŠูƒูˆู†
373
00:31:36,890 --> 00:31:45,410
array of ุงุซู†ูŠู† integer ุฃูˆ array of ูƒุฐุง integer
374
00:31:45,410 --> 00:31:52,230
ูŠุนู†ูŠ ู‡ู†ุง ู…ุซู„ู‹ุง ุงุซู†ูŠู† ู‡ุฐุง ุฃุญุท ู…ุฏุงู„ู‡ุง in ุฃูˆ array of
375
00:31:52,230 --> 00:32:01,450
in of array of ูƒุฐุง ูˆ
376
00:32:01,450 --> 00:32:08,430
some basic type ูŠุนู†ูŠ ุงู„ู…ู‡ู… ุงุญู†ุง ูŠูƒูˆู† ุนู†ุฏูŠ ุงู„
377
00:32:08,430 --> 00:32:12,290
compile ู‚ุงุฏุฑ ุนู„ู‰ ุฅู†ู‡ ูŠูˆุตู ุงู„ type ุนุดุงู† ูŠู‚ุฏุฑ ูŠู‚ุงุฑู†
378
00:32:12,290 --> 00:32:16,310
types ูุฃู†ุง ุงู„ุขู† ู„ูˆ ุนู†ุฏูŠ declaration
379
00:32:19,760 --> 00:32:23,960
ู„ูˆ ุนู†ุฏูŠ declaration ุจุฏูŠ grammar ุฃูˆู„ ุดูŠุก grammar
380
00:32:23,960 --> 00:32:27,860
ุนุดุงู† ูุญุต ุงู„ declaration ู…ู† ู†ุงุญูŠุฉ syntax ู‡ู„ ู‡ูŠ
381
00:32:27,860 --> 00:32:34,380
ุตุญูŠุญุฉ ูˆู„ุง ู„ุง ูˆ ุจุฏูŠ ู…ุนุงู‡ุง rules ุฃุชู…ูƒู†ูŠ ู…ู† ุฃุญุณุจ ุงู„
382
00:32:34,380 --> 00:32:40,020
size ูˆ rules ุฃุชู…ูƒู†ูŠ ู…ู† ุฃุญุณุจ ุงู„ type ูˆ ู‡ุฐุง ู‡ูˆ ู…ูุนูˆู„
383
00:32:40,020 --> 00:32:42,440
ุงู„ grammar ู‡ุฐู‡ ุงู„ grammar ู‡ุฐู‡ ุจุณ ู„ู„ type ู…ุด ู„ู„
384
00:32:42,440 --> 00:32:45,380
size ูŠุนู†ูŠ ุงู„ dot T attribute
385
00:32:50,170 --> 00:32:55,450
ู„ type ูˆุฌูˆุฏู‡ุง ุจู†ุดูˆู ุญูƒุงูŠุฉ ุงู„ size ุฃู†ุง ุนู†ุฏูŠ ู‡ู†ุง
386
00:32:55,450 --> 00:33:00,850
ุงู„ grammar ู„ุชุญุฏูŠุฏ ุงู„ syntax ุนุดุงู† ูŠุณุชุฎุฏู… ุงู„ parser
387
00:33:00,850 --> 00:33:04,550
ููŠ ุงู„ syntax analysis ููŠ ุงู„ parsing ูŠุนู†ูŠ ูˆู…ุนุงู†ุง
388
00:33:04,550 --> 00:33:11,010
rules ุนุดุงู† ูŠู‚ุฏุฑ ูŠุนุทูŠ ุงู„ dot T attribute ู‚ูŠู…ุชู‡ ูู„ูˆ
389
00:33:11,010 --> 00:33:17,810
ุฃู†ุง ุนู†ุฏูŠ ุงู„ู„ูŠ ู‡ูŠ ู†ูุณ ู‡ุฐู‡ ุงู„ .. ู‚ู„ู†ุง ุฅูŠุด .. ู‚ู„ู†ุง ..
390
00:33:21,110 --> 00:33:27,050
integer 2x3 some variable x ุงุญู†ุง ุงู„ุขู† ู…ุด ู…ุนู†ูŠู†
391
00:33:27,050 --> 00:33:33,790
ุจุฐุง ูˆ ุงู„ parsing ุชุจู‚ู‰ ู…ุนู†ูŠู† ู†ุฃุฎุฐ ู‡ุฐู‡ ุงุญู†ุง
392
00:33:33,790 --> 00:33:37,850
ู…ุชูู‚ูŠู† ุฅู† ุงู„ declaration ุชู†ู‡ูŠ ุจุฑู‚ู… T ูˆ identifier
393
00:33:37,850 --> 00:33:45,990
ูˆ Synchrony ู‡ุฐู‡ ุงู„ุขู† ุงูุชุฑุถ ุฅู† ุฃู†ุง ุนู†ุฏูŠ ุงู„ input
394
00:33:45,990 --> 00:33:51,150
ู‡ุฐุง ูˆุฃู†ุง ุงู„ุขู† ุจุนู…ู„ู‡ parsing ูู‡ูŠ D can have a form T
395
00:33:51,150 --> 00:33:56,950
ูˆ ุฅูŠุด identifier ูˆูŠู‚ุณู… a colon ุทุจุนู‹ุง ุงู„ T ู‡ุฐุง ุงู„ุขู†
396
00:33:56,950 --> 00:34:02,330
ุจุชุนู…ู„ู‡ parsing ุนู„ู‰ ุฃุณุงุณ ู‡ุฐุง ุงู„ grammar ููˆุงุถุญ ุฅู† ู‡ูˆ
397
00:34:02,330 --> 00:34:07,250
ุนุจุงุฑุฉ ุนู† ุฅูŠุด ุฃูˆู„ู‹ุง ุชู‚ู„ุน ุงู„ grammar ุงู„ grammar ู‡ุฐู‡
398
00:34:07,250 --> 00:34:11,390
ุจุชู‚ูˆู„ ุฅู† ุงู„ type ู‡ูˆ ุนุจุงุฑุฉ ุนู† basic ู…ุชูˆุงุฌุฏ ุจ
399
00:34:11,390 --> 00:34:15,530
complex ุจุณ ู…ุด ุฏุงุฆู…ู‹ุง ููŠู‡ complex ุตุญ ู…ุด ุฏุงุฆู…ู‹ุง ููŠู‡
400
00:34:15,530 --> 00:34:19,300
complex ูŠุนู†ูŠ ู…ู…ูƒู† ูŠุจู‚ู‰ ุจุณ integer ุฃูˆ float ุจุณ ุนุดุงู†
401
00:34:19,300 --> 00:34:22,700
ู‡ูŠ ูƒุฏู‡ ุงู„ complex ู‡ูŠ ุฏูŠ ููŠู‡ุง rule ุจุชู‚ูˆู„ ุขู‡ can
402
00:34:22,700 --> 00:34:27,900
have the form epsilon okay ูุฃู†ุง ุงู„ุขู† ุนู†ุฏูŠ ุงู„ .. ููŠ
403
00:34:27,900 --> 00:34:34,840
ุนู†ุฏูŠ basic O C ุงู„ basic ุนุจุงุฑุฉ ุนู† N T and ูˆ ุงู„
404
00:34:34,840 --> 00:34:38,320
complex ุนุจุงุฑุฉ ุนู† ุฅูŠุด ููŠ ุนู†ุฏูŠ ู‡ู†ุง rule ุจุชู‚ูˆู„ูŠ can
405
00:34:38,320 --> 00:34:42,820
have the form ุฅูŠุด goose ุจุนุฏูŠู† number ุจุนุฏูŠู† goose
406
00:34:42,820 --> 00:34:48,400
ุจุนุฏูŠู† complex ูˆ ุงู„ complex ุฃู†ุง ูุนู„ุงู‹ ููŠู‡ ุนู†ุฏูŠ ู‡ุฐุง ุงู„
407
00:34:48,400 --> 00:34:55,320
number ุงู„ุขู† ู‡ูˆ ุงู„ two ุนู†ุฏูŠ gross ูˆ num ูˆ gross ูˆ
408
00:34:55,320 --> 00:34:59,340
ุนู†ุฏูŠ ูƒู…ุงู† ุงู„ c ุจุณ ุงู„ c ู‡ุฐู‡ epsilon ุงู„ู†ู… ู‡ุฐุง ู‡ูˆ
409
00:34:59,340 --> 00:35:07,300
ุซู„ุงุซุฉ ู‡ุฐุง ุงู„ parse ุงู„ three ุชุจุน ู‡ุงุช ู†ุนู… ูƒูŠูุŸ
410
00:35:07,300 --> 00:35:14,850
ู‡ุฐุง ุงู„ parse ุงู„ three ู„ุง ุฎู„ุงุต ุงุญู†ุง ุงู„ ID ู‡ู†ุง X ู‡ุฐุง
411
00:35:14,850 --> 00:35:17,350
ุงู„ู€ parse tree ุชุจุน ุงู„ู€ declaration ุงู„ูƒู„ ุงุญู†ุง ู…ุง
412
00:35:17,350 --> 00:35:22,570
ูŠุนู†ูŠู†ุง ู‡ูˆ ุงู„ุดู‚ ู‡ุฐุง ุงู„ู„ูŠ ู‡ูˆ ุชุจุน ุงู„ู€ T ู†ุดูˆู ุฅู†ู‡ ูƒูŠู
413
00:35:22,570 --> 00:35:30,710
ุงู„ rules ุจุชุญุณุจ ุจุชุดูƒู„ ุชุจุน ุงู„ู€ T attribute ุชุจุน ุงู„
414
00:35:30,710 --> 00:35:36,950
type ูŠุนู†ูŠ
415
00:35:36,950 --> 00:35:40,830
ุนู…ู„ูŠู‹ุง ุฃู†ุง ุจุฏูƒ ุชุชุฎูŠู„ ุดูŠุก ุขุฎุฑ ุงู„ู„ูŠ ู‡ูŠ ุฅู†ู‡ ููŠ
416
00:35:40,830 --> 00:35:49,960
production ุงู„ production ู‡ุฐู‡ ู‡ูŠ rule ุจุชู‚ูˆู„ ู„ูŠ ุฅู† ุงู„
417
00:35:49,960 --> 00:35:58,180
ID dot type ูŠุณุงูˆูŠ ุงู„ T dot type ุตุญ ูˆู„ุง ู„ุงุŸ ู„ู…ุง ุฃู†ุง
418
00:35:58,180 --> 00:36:04,400
ุฃุจุฏุฃ ุฃุณุฃู„ ุนู† ุงู„ type ุชุจุน X ุขุฎุฐ ุงู„ type ุชุจุน X ู…ู† ุงู„
419
00:36:04,400 --> 00:36:07,140
type ุชุจุน ุงู„ declaration .. ุงู„ type .. ุงู„ type
420
00:36:07,140 --> 00:36:12,940
declaration ุงู„ู„ูŠ ู‚ุจู„ ุตุญุŸ ูู‡ุฐู‡ ุชุญุตูŠู„ ุญุงุตู„ ูุงู„ุณุคุงู„ ู‡ูˆ
421
00:36:12,940 --> 00:36:19,180
ูƒูŠู ู‡ุฐู‡ ุชุฃุฎุฐ ุงู„ู€ value ุชุจุนู‡ุง ู…ู† ุงู„ู€ rules ู‡ุฐู‡ ุงู„ู„ูŠ
422
00:36:19,180 --> 00:36:25,160
ุจูŠุตูŠุฑ ุฅู† ุงุญู†ุง ุทุจุนุง ุจู…ุฌุฑุฏ ุฅู† ุชุถุจุท ุงู„ู€ parsing ุชุจุน ุงู„ู€
423
00:36:25,160 --> 00:36:30,180
P ุฎู„ุงุต ุงู„ู€ P ุถุจุทุช ุถุจุทูŠ
424
00:36:30,180 --> 00:36:32,940
ุจูŠุณุงูˆูŠ integer
425
00:36:38,810 --> 00:36:50,450
ุฎุดู†ุง ู‡ู†ุง ุงู„ุขู† ุงู„ู€ C ุงู„ู€ C ุงู„ู€ C.T ุจุณูˆุก ุงูŠุด ุจุณูˆุก
426
00:36:50,450 --> 00:36:58,030
array of ุงุชู†ูŠู† ู…ู† ุฃูŠู† ุฌุจู†ุงู‡ุง ุงู„ุงุชู†ูŠู† ู…ู† ู‡ุฐุง ู‡ุฐุง
427
00:36:58,030 --> 00:37:03,050
ุฎู„ุงุต ู‡ุฐุง ู…ุนุฑูˆู ุงู„ู†ู… ุฅู† ู‡ูˆ ุงู„ุงุชู†ูŠู† ูุตุญ ุงุชู†ูŠู† of
428
00:37:03,050 --> 00:37:12,050
ุงูŠุด ุงูุชุญ ุฏูˆู„ ุงู„ู€ C.T ุจุณ ู‡ูˆ ุฌุฏุงุด ู†ุนุฑู ู„ู…ุง ู†ุฏุฎู„
429
00:37:12,050 --> 00:37:20,230
ู‡ู†ุง ุงู„ู€ C ู‡ุฐู‡ ุทุจุนุงู‹ C1 ูŠุนู†ูŠ child ู‡ุฐู‡ ุงู„ู€ C parent
430
00:37:20,230 --> 00:37:31,750
ูˆู‡ุฐู‡ ุงู„ู€ C child ุงู„ู€ C1 ุชุจุญุฑ ุชุจุญุฑ ุชุจุญุฑ ุชุจุญุฑ
431
00:37:31,750 --> 00:37:35,290
ุชุจุญุฑ ุชุจุญุฑ ุชุจุญุฑ
432
00:37:41,770 --> 00:37:50,110
ุงู„ู€ c.t ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c
433
00:37:50,110 --> 00:37:52,690
.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b
434
00:37:52,690 --> 00:37:53,950
ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b
435
00:37:53,950 --> 00:37:56,390
ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b
436
00:37:56,390 --> 00:37:59,350
ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b
437
00:37:59,350 --> 00:38:04,690
ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b ุจูŠุณุงูˆูŠ ุงู„ู€ c.b
438
00:38:04,690 --> 00:38:14,270
ุจูŠุณุงูˆูŠ ุงู„ู€ c.ุฌุงู„ูŠ ู‡ุฐุง ุจุฑุถู‡ ุฅู†ู‡ ุฃุนู…ู„ ุงู„ู€ child ุชุจุนุชูƒ
439
00:38:14,270 --> 00:38:21,710
ุงู„ู€ c.b ุชุจุนุชู‡ ูŠุณุงูˆูŠ ุงูŠุด ุงู„ู€ c.b ุชุจุนุช ุงู„ู€ parent ู„ูŠุด
440
00:38:21,710 --> 00:38:25,190
ุงู„ู€ c.b ุชุจุนุช ุงู„ู€ parent ุชุจุนุช ุงู„ู€ parent ุงู„ู„ูŠ ููˆู‚ ุจุฑุถู‡
441
00:38:25,190 --> 00:38:29,110
ุฌุงูŠ ู…ู† ุงู„ู€ c.b ุชุจุนุช ุงู„ู€ parent ุงู„ู„ูŠ ููˆู‚ ุทุจ ู‡ุฐุง ุงู„ู€ c
442
00:38:29,110 --> 00:38:32,870
.b ุชุจุนุชู‡ ูˆูŠู† ุฃุฌุฏู‡ ู…ู† ุงู„ู€ T ุงู„ู„ูŠ ูˆุฑุง ุจู…ุฌุฑุฏ ุฅู† ุฃู†ุง
443
00:38:32,870 --> 00:38:40,030
ุฎุดูŠุช ู‡ู†ุง ู‡ุฐู‡ ุฃุชุฑุญู„ุช ู„ูŠู‡ ู‡ูŠุชู‡ ู‡ู†ุง ุงู„ู€ B.T ุฃุชุฑุญู„ุช
444
00:38:40,030 --> 00:38:45,090
ู…ู† ุงู„ู€ sibling ุฅู„ู‰ ู‡ู†ุง ูู‡ุฐู‡ integer ุตุญ ุงู„ู€ .B
445
00:38:45,090 --> 00:38:53,390
ุฃุฎุฐุช .T ุงู„ู„ูŠ ู‡ูŠ integer ูˆู‡ุฐู‡ ุฃุชุฑุญู„ุช ุฅู„ู‰ ู‡ู†ุง ูˆู‡ุฐู‡
446
00:38:53,390 --> 00:38:58,830
ุฃุชุฑุญู„ุช ุฅู„ู‰ ู‡ู†ุง ุงู„ุขู† ุจู…ุง ุฅู†ู‡ ุฎู„ุงุต ู…ุงููŠุด ุชุดุนุฑ ูู‡ุฐู‡
447
00:38:58,830 --> 00:39:07,950
ุณุชุชุฑุญู„ ู‡ู†ุง ุตุญ ุณุชุตุจุญ integer ุงู„ุขู† ููŠ ุงู„ุนูˆุฏุฉ ุงู„ู€ T ู‡ุฐู‡
448
00:39:09,200 --> 00:39:19,540
ุจูŠู†ู‡ุง ูˆูŠู† ุชุฑูˆุญุŸ ู…ุธุจูˆุทุŸ ุจูŠุตูŠุฑ ู‡ุฐุง of integerุŒ
449
00:39:19,540 --> 00:39:26,800
ู…ุธุจูˆุทุŸ ุตุญุŸ ู„ุฃู† ู‡ุฐุง ุงู„ู€ T ุจูŠุฑูˆุญ ุญุงู„ ู‡ู†ุง ุงู„ู„ูŠ ู‡ูˆ ุงูŠุดุŸ
450
00:39:26,800 --> 00:39:37,040
ูƒู„ู‡ ุงู„ู€ rate of ุชู„ุงุชุฉ integer ู‡ุฐุง
451
00:39:37,040 --> 00:39:43,540
ู‡ูŠูƒู„ ูƒู„ู‡ ุจูŠุชุฑุญู‘ู‰ ููˆู‚ ุงู„ุขู† ู‡ุฐุง ูƒู„ู‡ ุงู„ู€ .T ู‡ุฐุง ูƒู„ู‡
452
00:39:43,540 --> 00:39:51,720
ู‡ูŠูƒ ุจูŠุชุฑุญู‰ ู„ูˆูŠู† ุตุญ ู‡ูŠ ููŠ ุงู„ู€ C.T ุจูŠุชุฑุญู‰ ู„ู€ ุงู„ู€ T
453
00:39:51,720 --> 00:39:56,820
.T ุฎู„ุงุต ู…ุง ุงู†ุฏูŠุด ุฃู†ุง ุฃุณุงุนุฏูƒ ู…ุฑุฉ ุฃุฎุฑู‰ ุจุณ ู‡ุฐุง
454
00:39:56,820 --> 00:40:05,780
ุงู„ูƒู„ุงู… ุฏู‡ ูƒู„ู‡ ุทุจุนุง ููŠู‡ ุฌุซุซ ู‡ู†ุง ู…ุธุจูˆุท okay
455
00:40:05,780 --> 00:40:08,080
ุฏูŠุจูƒูŠ ุฃู†ุง ุงู„ุขู† ุตุงุฑ ุนู†ุฏูŠ ุขู„ูŠุฉ
456
00:40:10,870 --> 00:40:17,510
ู„ุชุญุฏูŠุฏ ุงู„ู€ type attribute ุชุจุน ุงู„ู€ declaration ุชุจุน ุฃูŠ
457
00:40:17,510 --> 00:40:22,070
declaration complex ูˆู„ุง basic ุฅุฐุง ู‡ูŠ basic ุณุชุจู‚ู‰
458
00:40:22,070 --> 00:40:26,590
ุนู„ู‰ ุทูˆู„ ู‡ุฐุง ุนู„ู‰ ุทูˆู„ ุฅุฐุง ู‡ูŠ complex ุณู†ุชุดุนุจ ุฅู„ู‰ ุฃู†
459
00:40:26,590 --> 00:40:32,790
ู†ู†ุชู‡ูŠ ู†ู†ุชู‡ูŠ ู„ู‡ุฐุง ูˆุจุนุฏูŠู† ู†ุฑุฌุน ู†ุดูƒู„ ุงู„ู€ .T ู…ู†
460
00:40:32,790 --> 00:40:40,010
ุงู„ุชุญุช ู„ุฃู† ู‡ุฐุง ุงู„ู€ .T ุชู„ู‚ุงุฆูŠุงู‹ ููŠ ุงู„ู€ rule ู‡ุฐู‡ ููŠ
461
00:40:40,010 --> 00:40:44,170
ุงู„ู€ production ู‡ุฐู‡ ุจุชุญุท ุงู„ู€ rule ุฅู† ุงุชุณู„ู… ู„ู‡ ุงู„ู€ .
462
00:40:44,170 --> 00:40:47,890
T ุชุจุน ุงู„ู€ identifier ุนุดุงู† ูŠุชุญุฏุฏ ุงู„ู€ type ุชุจุนู‡ ู‡ุฐุง ุงู„ู€
463
00:40:47,890 --> 00:40:53,010
.T ุงู„ุขู† ุชู„ู‚ุงู‡ ุจุฑุถู‡ ู„ุงุฒู… ูŠุชุณุฌู„ ููŠ ู…ูŠู†ุŸ ููŠ ุงู„ู€
464
00:40:53,010 --> 00:40:58,430
single table ุงู„ู€ lexical analyzer ุงู„ู„ูŠ ุงูƒุชุดู ุงู„ู€
465
00:40:58,430 --> 00:41:02,950
identifier ุงูƒุชุดูู‡ ุจุณ ู…ุง ู„ูˆุด ุนู„ุงู‚ุฉ ุจุงู„ู€ type ุชุจุนู‡ ุงู„ู€
466
00:41:02,950 --> 00:41:08,460
parser ู„ู…ุง ุจูŠุนู…ู„ parsing ูˆุจูŠุทุจู‚ ุงู„ู€ rule ู‡ูˆ ุจูŠูƒุชุดู
467
00:41:08,460 --> 00:41:11,980
ุงู„ู€ type ุจุฑูˆุญ ู„ู‡ ุจุฑู…ูŠ ุงู„ู€ ุฃูˆ ุจุณุฌู„ ู‡ุฐู‡ ุงู„ู…ุนู„ูˆู…ุฉ ููŠ ุงู„ู€
468
00:41:11,980 --> 00:41:15,280
symbol table ุนู„ุดุงู† ุฌุฏุงู… ุชุณุชุฎุฏู… ููŠ ุงูŠุด ููŠ ุงู„ู€
469
00:41:15,280 --> 00:41:18,520
semantic analysis ุงู„ู€ semantic ุงู„ู„ูŠ ู‡ูˆ ูˆุงุญุฏ ู…ู† ุงู„ู€
470
00:41:18,520 --> 00:41:21,520
semantic analysis actions ุงู„ู„ูŠ ู‡ูŠ type checking
471
00:41:21,520 --> 00:41:27,120
ู„ู†ูุญุต ู…ุทุงุจู‚ุฉ ุงู„ู€ operands ู„ู„ู€ operations ุฅุฐุง ุนู†ุฏูŠ
472
00:41:27,120 --> 00:41:29,860
plus operation ู‡ู„ ุงู„ู€ operations ุงู„ู€ type ุณุจู‚ ู…ู†ู‡ู…
473
00:41:29,860 --> 00:41:33,140
equivalent ูˆู„ุง ู„ุฃ ู‡ู„ ุฅุฐุง operations ูˆู„ุง ุฅุฐุง
474
00:41:33,140 --> 00:41:35,700
function ุฃู†ุช ุนุงุฑู ู…ุง ู‡ูŠ ุงู„ู€ function ุฃุตู„ุง ู…ู…ูƒู†
475
00:41:35,700 --> 00:41:41,710
ุชุฎูŠู„ู‡ุง ุงู„ู€ function ู„ู…ุง ุฃู†ุง ุจุนู…ู„ function call ุงู„ู€
476
00:41:41,710 --> 00:41:45,570
parameters ุชุจุนูˆู†ู‡ุง ุจู‚ุฏุฑ ุฃู†ุง ุฃุชุฎูŠู„ ุงู„ู€ function ู‡ุฐุง
477
00:41:45,570 --> 00:41:51,190
ุนุจุงุฑุฉ ุนู† ูƒ ููŠ syntax tree ูƒ note ูˆุฅู„ู‰ ุชู„ุงุชุฉ
478
00:41:51,190 --> 00:41:55,670
children ูƒู„ ูˆุงุญุฏ ู…ู† ุงู„ู€ parameters ุฏูˆู„ุฉ child okay
479
00:41:55,670 --> 00:41:59,490
ูุฃู†ุช ุจุฏูƒ ุชุชุฃูƒุฏ ุฅู† ุงู„ู€ function ู‡ุฐุง ุฃุฎุฐ upper head
480
00:41:59,490 --> 00:42:03,610
ูƒุฃู†ู‡ุง function ูˆุฏูˆู„ู‡ุง upper ends ุฅู„ูŠู‡ุง okay ุฃุฎุฐุช
481
00:42:03,610 --> 00:42:06,470
ู‡ุฐู‡ ุงู„ู€ Apparence ุงู„ู„ูŠ ุชู†ูˆุนู‡ุง ู…ุทุงุจู‚ ู„ู„ู†ูˆุน ุงู„ู„ูŠ ููŠ
482
00:42:06,470 --> 00:42:11,430
ุงู„ู€ declaration ุชุจุนู‡ุง ู‡ูŠ ู‡ุฐุง ุจุฑุถู‡ ุงู„ู€ f ุนุจุงุฑุฉ ุนู†
483
00:42:11,430 --> 00:42:16,210
function ูˆ ู„ู‡ุง type ู„ู‡ุง type output ูˆ ู„ู‡ุง type
484
00:42:16,210 --> 00:42:20,130
input okay
485
00:42:20,130 --> 00:42:24,070
and ู‡ู†ุง ุงุญู†ุง ุจู†ูƒูˆู† ูˆุตู„ู†ุง ู„ู†ู‡ุงูŠุฉ ู…ู† ุงู„ู€ section ุฎู…ุณุฉ
486
00:42:24,070 --> 00:42:29,250
ุชู„ุงุชุฉ ุงู„ู„ูŠ ู‡ูˆ ู…ูˆุถูˆุน ุงู„ู€ syntax directed definitions
487
00:42:30,990 --> 00:42:33,870
ูˆุดูˆูู†ุง ู…ู‚ุงู…ุฉ ุงู„ู„ูŠ ุนู„ูŠู‡ุง ุชุทุจูŠู‚ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ syntax
488
00:42:33,870 --> 00:42:41,830
definitions ุงู„ู€ syntax directed definitions ููŠ ุจู†ุงุก
489
00:42:41,830 --> 00:42:46,210
ุงู„ู€ syntax tree ูˆููŠ ุงู„ู€ structure of a type ููŠ ุชุญุฏูŠุฏ
490
00:42:46,210 --> 00:42:50,550
ุงู„ู€ structure of a type okay ุงู„ู€ section ุฎู…ุณุฉ ุฃุฑุจุนุฉ
491
00:42:50,550 --> 00:42:54,610
ุนุดุงู† ู…ุดุงุจู‡ ู„ู‡ุฐุง ุงู„ูƒู„ุงู… ููŠ ุงู„ุขุฎุฑ ู‡ูˆ ุฏู‡ ุญูƒูŠ ุนู†
492
00:42:54,610 --> 00:43:01,580
translation ุจุณ ูˆ syntax directed ุจุณ ุจุงุณุชุฎุฏุงู… Syntax
493
00:43:01,580 --> 00:43:03,540
Directed Translation Schemes