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